Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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))
| User | Count |
|---|---|
| 15 | |
| 6 | |
| 6 | |
| 5 | |
| 5 |