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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Zaibass81
Helper I
Helper I

Transform one table column into two columns

Hello, 

Looking for some help:

The goal is re-shape data based on the ranking. All parts has rank 1 & 2 Only.

The desired outcome to transform the data into vertical table where rank2 items appearing on the left hand side.

 

Transform.png

 

1 ACCEPTED SOLUTION
serpiva64
Solution Sage
Solution Sage

Hi,

you can try the transformation listed in the attached file

and you obtain this

serpiva64_0-1673282444253.png

If this post isuseful to help you to solve your issue consider giving the post a thumbs up and accepting it as a solution !

 

View solution in original post

2 REPLIES 2
serpiva64
Solution Sage
Solution Sage

Hi,

you can try the transformation listed in the attached file

and you obtain this

serpiva64_0-1673282444253.png

If this post isuseful to help you to solve your issue consider giving the post a thumbs up and accepting it as a solution !

 

Thank you very much! Excellent solution. As I had to create two different tables, one with filter rank 1 and the other with filter rank 2, I created a unique attribute and joined the two tables. Your solution, however, is more effective.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.