Reply
Rejaul84
Frequent Visitor
Partially syndicated - Outbound

Turn column headers into rows in a table visual

Is there a way where I can have the data headers to be a row and then the values to be in another column with out unpoviting?

1 ACCEPTED SOLUTION

Syndicated - Outbound

Hi @Rejaul84  today i have tried once again.

Anuja_Chaudhari_0-1707391205634.png

this is my sample dataa..

as you said you want header in row  without transpose and unpivot 

first I have created this data and you would need to create a calculated table or use DAX measures to generate the desired result.

Anuja_Chaudhari_1-1707391375034.png

 Hope this is work for you  what you are expecting. 

Thank you 

 

 

View solution in original post

5 REPLIES 5

Syndicated - Outbound

This can be achieved using the "Transpose" feature in Power Query Editor.

Import your dataset into Power BI.

 open the Power Query Editor.

In Power Query Editor, select the columns that you want to transform into rows (the headers).

Right-click on the selected columns and choose "Transpose" 

After transposing the data, you'll see a new row containing the original column headers.

Right-click on the first row and choose "Use First Row as Headers" to promote the row to headers.

 

Anuja_Chaudhari_0-1707225398603.png

 

Syndicated - Outbound

@Anuja_Chaudhari  Can you do this in the visual rather than transposing the data?

Syndicated - Outbound

I have tried with table matrix but it is not acchiving proper output

Syndicated - Outbound

I tried that but could not get to what I wanted. Thanks for trying.

Syndicated - Outbound

Hi @Rejaul84  today i have tried once again.

Anuja_Chaudhari_0-1707391205634.png

this is my sample dataa..

as you said you want header in row  without transpose and unpivot 

first I have created this data and you would need to create a calculated table or use DAX measures to generate the desired result.

Anuja_Chaudhari_1-1707391375034.png

 Hope this is work for you  what you are expecting. 

Thank you 

 

 

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)