Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I need to setup a matrix to show categories of items. Some of the categories have subcategories, and some do not. My dataset has a field for "Category" and a field for "Subcategory". Right now I have Subcategory defaulting to null if there isn't one.
Currently it looks like this
However, I don't want it to expand to another level if there isn't a subcategory, so it'd look more like this
Solved! Go to Solution.
Have you taken a look at the techniques described at https://www.daxpatterns.com/parent-child-hierarchies/# ?
Proud to be a Super User!
Have you taken a look at the techniques described at https://www.daxpatterns.com/parent-child-hierarchies/# ?
Proud to be a Super User!
@ChrisMendoza Oh wow that is great! Thanks so much. One question though - how does the Entity table join to the StrategyPlan table? I keep getting a circular reference error when I try to join on Category to Level2 and Subcategory to Level3
@Anonymous - Hard to tell without knowing your data model; honestly even if I saw it I'm not sure I'd be able to provide a sufficient response. In my model, I do remember that I did have a similar issue though. If I recall, I had to create 'bridge' tables and when creating the relationship it actually mattered which started the connection and which ended the connection; hopefully that makes sense and helps you.
Proud to be a Super User!
User | Count |
---|---|
85 | |
84 | |
68 | |
66 | |
56 |
User | Count |
---|---|
126 | |
102 | |
90 | |
84 | |
66 |