Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
      RateCategory                      IDRT1
                                   
      RateCategoryID1                    17557                              
                                 
      RateCategoryID2                    11514                           
                                 
      RateCategoryID1                    17558

      RateCategoryID2                    11516

      RateCategoryID1                    17559

      RateCategoryID2                    11514

i want to pivot this table 
expected result


RateCategoryID1    RateCategoryID2  
 17557                 11514           
 17558                 11516 
 17559                 11514

What I have tried:

i am not getting how to pivot this table please help me i am new to pivot concept
Posted
Updated 7-Jun-16 20:47pm

1 solution

Hi,

I hope you have already posted your question as

Convert columns in to rows simple unpivot[^] and accepted the answer.

Kindly check.

Cheers
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900