This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
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
Solved! Go to Solution.
Hi @Aaron22 ,
The dummy data you provided is easy to convert.
Select three columns and then click 'Unpivot Columns'.
The column headers are converted to the column values.
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.
Hi @Aaron22 ,
The dummy data you provided is easy to convert.
Select three columns and then click 'Unpivot Columns'.
The column headers are converted to the column values.
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.
In a blank query, put following in Formula bar
= Table.FromList(Table.ColumnNames(Table1))
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.