Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I wan to show some column names as a row in new column.
Solved! Go to Solution.
Hi @Anonymous ,
I created some data:
Table:
Here are the steps you can follow:
1. Create calculated column.
You can use NAMEOF() functions to get table and column names:
NAMEOF('Table'[A])
You can use the Mid() function to intercept:
Column =
MID(
NAMEOF('Table'[A]),9,1) &""& MID( NAMEOF('Table'[B]),9,1)
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
I created some data:
Table:
Here are the steps you can follow:
1. Create calculated column.
You can use NAMEOF() functions to get table and column names:
NAMEOF('Table'[A])
You can use the Mid() function to intercept:
Column =
MID(
NAMEOF('Table'[A]),9,1) &""& MID( NAMEOF('Table'[B]),9,1)
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
NewStep=Table.Unpivot(PreviousStepName,{"ColumnName"},"ColumnName","Value")
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 17 | |
| 11 | |
| 10 |