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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
wkurten
New Member

I need to convert 8 columns into rows and keep an ID column repeating for the converted columns

Hi folks!

 

I have this table:

wkurten_0-1730929321451.png

And i need it should be transformed in a structure like this:

wkurten_1-1730929632531.png

Basicly transforming theme columns to rows while keep the number column repeated on all theme rows

 

I've tried to do this using basic transformations but i'm not able to achieve this, i think that only could be done with some formulas. but i dont know how.

1 ACCEPTED SOLUTION
Omid_Motamedise
Super User
Super User

Right click on the column Number, and select Unpivot other columns (Or select all the 8 columns, right click on one of them and pick unpivot columns)

If my answer helped solve your issue, please consider marking it as the accepted solution. It helps others in the community find answers faster—and keeps the community growing stronger!
You can also check out my YouTube channel for tutorials, tips, and real-world solutions in Power Query with the following link
https://youtube.com/@omidbi?si=96Bo-ZsSwOx0Z36h

View solution in original post

3 REPLIES 3
Omid_Motamedise
Super User
Super User

Right click on the column Number, and select Unpivot other columns (Or select all the 8 columns, right click on one of them and pick unpivot columns)

If my answer helped solve your issue, please consider marking it as the accepted solution. It helps others in the community find answers faster—and keeps the community growing stronger!
You can also check out my YouTube channel for tutorials, tips, and real-world solutions in Power Query with the following link
https://youtube.com/@omidbi?si=96Bo-ZsSwOx0Z36h

worked perfectly! thanks Sir!

 

result:

wkurten_0-1730979466224.png

 

wini_R
Solution Supplier
Solution Supplier

Hey @wkurten,

It seems you need to unpivot your table - just right-click the 'number' column and select 'Unpivot other columns'. Then you may need to remove an additional 'Attribute' column

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.