The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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")
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |