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

The Fabric community is upgrading! Read all of the details including the timeline and what you can expect. 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
Most Valuable Professional
Most Valuable Professional

In a blank query, put following in Formula bar

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

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.