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
Anonymous
Not applicable

Need help transforming data from column to row and duplicate row information

Hi, 

 

I need help! I am trying to transform data that looks like this:

BBartel_0-1626381285418.png

To this:

BBartel_1-1626381312450.png

Unfortunately I am working from a system from 2004 and there is no way to modify the layout of pulling the information. Any help you can provide would be greatly appreciated! I am in my second week of a new role and trying to make report pulling efficient and non-existent!

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

It looks like you need to unpivot the month column and then convert Month to Month/Year.

 

https://docs.microsoft.com/en-us/power-query/unpivot-column

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Indeed , you'll need to add the year, not sure how you determine it, but for 21, type this in the formula bar:

 

= Table.TransformColumnNames(#"Table or Last Step Name", each _&"-21")

 

Then, select your first columns, and under the Transform tab in the GUI, select "Unpivot Other Columns".

 

That's it!

 

--Nate

 

AlexisOlson
Super User
Super User

It looks like you need to unpivot the month column and then convert Month to Month/Year.

 

https://docs.microsoft.com/en-us/power-query/unpivot-column

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.