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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Rejaul84
Frequent Visitor

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

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

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

 

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

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

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

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 

 

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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