Forum Discussion
Matrix Column Headers - Measures before Dimension (SSAS)
- Anonymous8 years ago
HI shanelthiggs,
I think you need some additional steps to achieve your requirement.
Steps:
1. Enter to query editor.
2. Choose 'Volume units' and 'Revenue Net', then use 'unpivot columns' feature to transfer them to attribute and value.
3. Save change and return to report view.4. Drag attribute to column fields and value to value field.(notice: resort column filed and mark sure month column is in the bottom)
BTW, if 'Volume units' and 'Revenue Net' means measures, it is impossible to achieve your requirement. Current power bi can't use measure on row or column fields.
Regards,
Xiaoxin Sheng
Hi Anonymous - thanks for the reply.
I'm not sure that's going to work for us, as we're linking directly to a SSAS Cube for the data to form the matrix. The below might explain a little more what I'm hoping to achieve; effectively, get the values as columns.
In the third image, on the left hand side (1) is the output we're given, and the right hand side (2) is the output we'd like to be able to achieve.
Thanks
Shane
CurrentDesiredDesired Output
HI shanelthiggs,
I think you need some additional steps to achieve your requirement.
Steps:
1. Enter to query editor.
2. Choose 'Volume units' and 'Revenue Net', then use 'unpivot columns' feature to transfer them to attribute and value.
3. Save change and return to report view.
4. Drag attribute to column fields and value to value field.(notice: resort column filed and mark sure month column is in the bottom)
BTW, if 'Volume units' and 'Revenue Net' means measures, it is impossible to achieve your requirement. Current power bi can't use measure on row or column fields.
Regards,
Xiaoxin Sheng
- shanelthiggs8 years agoRegular Visitor
Thank you Anonymous - they are measures so as you said, will not be possible to achieve this in current versions.
Accepted as solution.
- cathgr4 years agoNew Member
Hello,
I am trying to do the exact same thing. Does the feature now exist for measures ?
Referring to that : "BTW, if 'Volume units' and 'Revenue Net' means measures, it is impossible to achieve your requirement. Current power bi can't use measure on row or column fields."
I am trying to do something easily done on Pivot Table in excel. When we have multiple "measures" and columns category: we just need to change the order of the "value" in the column to put it in first position. So our "values from measures" are shown as the first level of hierarchy.
Can we do something similar in a Matrix in Power BI?
Thank you!