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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors