Forum Discussion

SUDHIBEE's avatar
SUDHIBEE
Regular Visitor
3 years ago
Solved

unique column value to rows

Column has multiple values, if any mutliple value comes in column; i want to convert all that multiple value of the columns to one row.  Please help.

 

that is example 

 

U PAXDEPTRANK 
APERFUMES1 
ABOOKS2 
BCOSMETICS1 
BLIQUOR2 
BPHARMACY3 
CFOOD PLUS1 
DELECTRONICS1 
    
RANK123
ABOOKSPERFUMES 
BCOSMETICSLIQUORPHARMACY
CFOOD PLUS  
DELECTRONICS  
  • Hi, SUDHIBEE 

     

    1. Open power query editor. 

    2. transform >> pivot column

    3. pivot on DEPT column and expand the advanced options and select don't aggregate. 


     

    you will get your desired result. I did this. below is the ss. 

     

    rename the first column as rank. 

     

     

1 Reply

  • rubayatyasmin's avatar
    rubayatyasmin
    Community Champion

    Hi, SUDHIBEE 

     

    1. Open power query editor. 

    2. transform >> pivot column

    3. pivot on DEPT column and expand the advanced options and select don't aggregate. 


     

    you will get your desired result. I did this. below is the ss. 

     

    rename the first column as rank.