Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
SUDHIBEE
Regular Visitor

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  
1 ACCEPTED SOLUTION
rubayatyasmin
Super User
Super User

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. 

 

rubayatyasmin_0-1689700779095.png

 

rubayatyasmin_0-1689517080227.png


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


View solution in original post

1 REPLY 1
rubayatyasmin
Super User
Super User

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. 

 

rubayatyasmin_0-1689700779095.png

 

rubayatyasmin_0-1689517080227.png


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors