Forum Discussion
Saxon10
5 years agoPost Prodigy
Convert multiple column values to rows
I have 4 columns are Type, Id, Area & result and those 4 columns return multiple values. I would like to group the Type, Id and Area into one table. Currently I am using multiple matrix table to ach...
- 5 years ago
Well... I created a new calculated column:
Area# = "Area" & RIGHT ( Data[Area], 1 )and placed it in the column field in the matrix visual.
Then created a new measure and added it to the matrix values:
MyValues = IF ( ISINSCOPE ( Data[ID] ), VALUES ( Data[Result] ), VALUES ( Data[Area] ) )In the Matrix Row I added both the Type and ID.
In Power BI file options, I disabled the use of modern visual headers.
And in the matrix visual format, I adjusted the subtotals as follows:
and made the column headers white (same as background to make them invisible).
Please check this sample file.
Saxon10
5 years agoPost Prodigy
Thank you so much for your help. Much appreciated. I will check and update the feedback to you.
Mohammad_Refaei
5 years agoSolution Specialist
Most welcome... Good luck