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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.