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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Anonymous
Not applicable

Transform Column to Row

I have current table as below; how can I transform to get the result table;

qhpowerbi_0-1684135496112.png

Thank you!
Qayyum Halid

2 REPLIES 2
miTutorials
Super User
Super User

Go to Power Query Editor

 

1. Select Q1 & Q2 column, Right click and choose Unpivot column

2. Repeat the same step above by selecting  the Whats your name and Age Column

 

You will be left with the way you want your table to look like but with duplicate rows.

 

Go to HOME tab under remove rows select remove duplicate rows. Thats it !

 

This Tutorial will provide you more details if required.

 

Pivot/Unpivot PowerBI Feature explained | Power Query | MiTutorials - YouTube

 

Regards

Ismail

www.Youtube.com/MiTutorials

Anonymous
Not applicable

It become like this;

qhpowerbi_1-1684138347748.png

 

Then, if i remove Attribute duplicate; it become as below;

qhpowerbi_2-1684138387916.png

 

If i remove duplicate in Attribute.1, it become as below

qhpowerbi_3-1684138433456.png

 

 

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

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