Forum Discussion
Hierarchical Groups Design - best practices
- 9 months ago
Hi jaryszek,
- We materialised a flattened group dimension (DimGroup_Flat) with Level0..LevelN columns to enable fast column based drill-down.
- We maintain a separate GroupHierarchyBridge to capture multiple hierarchy definitions and arbitrary parent–child pairs.
- We maintain a Bridge_ResourceGrouping to map resources to groups.
- All relationships are single direction. Group selections are applied to Fact_Costs using explicit DAX with TREATAS to avoid ambiguous or circular filter paths and runtime path computations.
- The TotalCost_HierarchyAll measure resolves the hierarchy by reading bridge table values directly and filters facts by mapping resource keys into the fact table via TREATAS.
- The measure does not rely on activating the ParentGroupSK ->DimGroup_Flat relationship. Instead it derives child-group keys from the bridge and uses the resource bridge to identify resources, then applies TREATAS to map to facts. Inactive relationships may remain in the model, but the measure bypasses them using set-based DAX (VALUES / IN / TREATAS).
If you have further queries, please contact the Microsoft Fabric community.
Thank you.
Hi jaryszek,
Thank you for your patience, and apologies for the delayed response.
Please find the updated PBIX file attached, it may help resolve the issue.
If this proposed solution does not resolve your problem, we kindly request that you contact our Power BI certified solution partner using the link: Power BI Partners | Microsoft Power Platform. These professionals can provide in-depth technical assistance and tailored solutions to meet your specific needs.
You are always welcome to continue engaging with the Microsoft Fabric Community as well. If you need further assistance in the future, please reach out via the Microsoft Fabric Community Forum.
Thank you.
- jaryszek9 months ago
Super User
Hi sorry but Micirosft Partners is a paid ,very poor quality service. I do not recommend.
Thank you for your solution.
Can you please explain how this is working?
You added some inactive relationships?
Best,
Jacek