Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I wan to show some column names as a row in new column.
Solved! Go to Solution.
Hi @Alice08 ,
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 @Alice08 ,
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")
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
25 | |
13 | |
11 | |
9 | |
6 |