Forum Discussion
Unpivoting a calculated table
Hi, I created this calculated table which contains, as columns, measures created that represent different KPIs of machine learning models.
The table is grouped by model and by month.
What i want to do is to convert the last 4 for columns into one column that contains the 4 measures.
Thank you for the answer!
2 Replies
- amitchandakSuper User
tomasbaleriani , What do mean by one column? you can concatenatelike
"all 4" , [M1] & "," & [M2] & "," & [M3] & "," & [M4]
Please Note : Calculated Table columns coming measure will not change because of the slicer. They will be static
- tomasbalerianiFrequent Visitor
Thanks for the response, I think i am not being clear.
I have this table that i have created with summarize
ML Model|Month|Measure 1|Measure 2|Measure 3
Port IN JAN X1 X2 X3
What I want to do is..
ML Model | Month | New Column | New Column
Port IN JAN Measure 1 X1
Port IN JAN Measure 2 X2
Port IN JAN Measure 3 X3