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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Aaron22
New Member

Column Header to Column value

Hi i am new in power bi How to convert the column header to column value

ex,

Table1

ColumnA | ColumnB | ColumnC

data1       | data2      | data3

Table2
Column1 
ColumnA
ColumnB
ColumnC

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Aaron22 ,

 

The dummy data you provided is easy to convert.

Select three columns and then click 'Unpivot Columns'.

vstephenmsft_0-1656495046327.png

The column headers are converted to the column values.

vstephenmsft_1-1656495058064.png

 

 

Best Regards,

Stephen 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

2 REPLIES 2
Anonymous
Not applicable

Hi @Aaron22 ,

 

The dummy data you provided is easy to convert.

Select three columns and then click 'Unpivot Columns'.

vstephenmsft_0-1656495046327.png

The column headers are converted to the column values.

vstephenmsft_1-1656495058064.png

 

 

Best Regards,

Stephen Tao

 

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

Vijay_A_Verma
Super User
Super User

In a blank query, put following in Formula bar

= Table.FromList(Table.ColumnNames(Table1))

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.