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
Belliappa4218-
Regular Visitor

Columns to header

  • Hi # everyone. I want to display the column name as header for example table1 contains surgical extractions it contains values .my requirement to display the column as header in table visualization.
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Belliappa4218- ,

I'm sorry I didn't understand what you meant before. You can try this approach:

vjunyantmsft_0-1704258023479.png
vjunyantmsft_1-1704258045431.png

vjunyantmsft_3-1704258130001.png
vjunyantmsft_4-1704258154381.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @Belliappa4218- ,

I can provide you with two solutions:

First solution:
In Power Query, s
elect the column you want to turn into a header and click Transpose.

vjunyantmsft_0-1704246810322.png

vjunyantmsft_1-1704246819865.png

vjunyantmsft_2-1704246870013.png
vjunyantmsft_3-1704246938120.png


Second solution:
Choose to use a matrix instead of a table when creating visual objects.

vjunyantmsft_4-1704247038234.png
vjunyantmsft_5-1704247089503.png

Put the columns that need to be turned into headers directly into Columns.

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello, I would like the output to resemble the format in the first screenshot. However, my data is structured similarly to the second screenshot. Could you please advise me on how to convert the values from columns into row headers as per my requirements.
1)
Belliappa4218_3-1704257137321.png

2)

Belliappa4218_2-1704256932537.png

 

 

attched screenshot 

Anonymous
Not applicable

Hi @Belliappa4218- ,

I'm sorry I didn't understand what you meant before. You can try this approach:

vjunyantmsft_0-1704258023479.png
vjunyantmsft_1-1704258045431.png

vjunyantmsft_3-1704258130001.png
vjunyantmsft_4-1704258154381.png


Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

PijushRoy
Super User
Super User

Hi @Belliappa4218- 

Please share screenshot of the issue

Please show the expected outcome based on the sample data you provided. Find how to provide sample data
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...


How to get answered quickly
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523






Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Hello, I would like the output to resemble the format in the first screenshot. However, my data is structured similarly to the second screenshot. Could you please advise me on how to convert the values from columns into row headers as per my requirements.
1)

Belliappa4218_4-1704257442919.png

 

2)

Belliappa4218_5-1704257443316.png

 

 

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