Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I'm hoping to use the Matrix visualization for a reporting request, but I now think it won't work for what I need. I'm wondering if it is possible to "flip" the column hierarchy so that that like measures are grouped together within the broader column categories.
I have a source dataset that looks like this:
Age Range | Date | Transactions | Units | Dollars |
20-29 | 2020-08-01 | 43 | 48 | $1,245 |
30-39 | 2020-08-01 | 1,239 | 1,511 | $3,677 |
40-49 | 2020-08-01 | 158 | 180 | $450 |
etc | etc | etc | etc | etc |
The default matrix gives me this:
Age Range | 20-29 | 30-39 | 40-49 | ||||||
Date | Transactions | Units | Dollars | Transactions | Units | Dollars | Transactions | Units | Dollars |
2020-08-01 | 43 | 48 | $1,245 | 1,239 | 1,511 | $3,677 | 158 | 180 | $50 |
What I need is this:
Transactions | Units | Dollars | |||||||
Age Range | 20-29 | 30-39 | 40-49 | 20-29 | 30-39 | 40-49 | 20-29 | 30-39 | 40-49 |
2020-08-01 | 43 | 1,239 | 158 | 48 | 1,511 | 180 | $1,245 | $3,677 | $50 |
Thought I'd see if I'm missing anything. I'm using Direct Query, so I can envision a way to do this but would involve a lot of new measures and probably individual query calls to my source data. Hoping someone has a solution. Thanks!
Solved! Go to Solution.
@MarkEvansHW , If you want column below measure that is not possible.
If you need measure on the row - You can show on the row
https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/
@MarkEvansHW , If you want column below measure that is not possible.
If you need measure on the row - You can show on the row
https://www.burningsuit.co.uk/blog/2019/04/7-secrets-of-the-matrix-visual/
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com