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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

Top Solution Authors
Top Kudoed Authors