Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi
I was trying to union a few columns into a new column in the same table with a new table name by using DAX. When I tried to establish a relationship it didn't let me do in the DAX asking me to remove existing. And, I did try joining the table in Power Query Editor but it didn't go through when I tried to transform data. Is there a way to transform data in the query editor or establish the relationship with a new table in Power BI Desktop? Or Write the Union Syntax in Power Query Editor?
Thanks
Using Dax....
Solved! Go to Solution.
NewStep=Table.UnpivotOtherColumns(PreviousStepName,{"SRP ID","Project Name"},"Field Name","SMEUSERID")
Thank you.
NewStep=Table.UnpivotOtherColumns(PreviousStepName,{"SRP ID","Project Name"},"Field Name","SMEUSERID")
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 8 | |
| 7 | |
| 6 |