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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
wdvro
Frequent Visitor

Unpivot Table

Hello, 

 

I have a excel table that looks like this (simplified):

wdvro_0-1693318411093.png

 

 

How can I transform it so it looks like this in Power BI:

 

wdvro_1-1693318431872.png

 

 

Thanks in advance! 

2 ACCEPTED SOLUTIONS

Maybe this article can be insightful: Working With Multiple Row Headers From Excel in Power Query — ehansalytics


Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

If I've helped, don't forget to mark my post as a solution!



View solution in original post

That was the article I was looking for! Thanks!

View solution in original post

4 REPLIES 4
marcelsmaglhaes
Super User
Super User

Hey @wdvro !

In Power Query Editor you can choose the Unpivot Column function (Unpivot columns - Power Query | Microsoft Learn).

If this post helps, please mark as solved.

Regards,
Marcel

marcelsmaglhaes_0-1693318499956.png

 


Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

If I've helped, don't forget to mark my post as a solution!



Hey @marcelsmaglhaes , thanks for the reply.

I'm aware of this function. However, I am struggling with the fact that when loading into Power BI, my column titles are on both the 1st (gender, education, age) and 2nd rows (male, female, other, low, medium, high, 0-20, 20-40, 40-60). 

Maybe this article can be insightful: Working With Multiple Row Headers From Excel in Power Query — ehansalytics


Regards,
Marcel Magalhães
Microsoft Power BI Official Partner
MCT | Certified PL-300 Power BI

If I've helped, don't forget to mark my post as a solution!



That was the article I was looking for! Thanks!

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