The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have a matrix with the row headers in a Hierarchy shown below:
These levels represent different accounts that roll up to the Chart Level 1 account. The problem is that not every account has a full 7 levels. This causes a blank row header to occur with a duplicate measure value as the previous chart level. How can I hide the extra in cases where it doesn't exist? I don't want to filter the data because then it will be missing from the rollup. I just want extra row with the blank level name to not show up in the matrix. Please see the example below:
Solved! Go to Solution.
Hi @tfeldt2020 ,
To hide the unwanted rows, for each row you must check whether the current level is available by the visited node. This can be accomplished by checking the depth of each node.
You can find the corresponding instructions here at SQLBI as "Basic parent-child pattern".
https://www.daxpatterns.com/parent-child-hierarchies/
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Hi @tfeldt2020 ,
To hide the unwanted rows, for each row you must check whether the current level is available by the visited node. This can be accomplished by checking the depth of each node.
You can find the corresponding instructions here at SQLBI as "Basic parent-child pattern".
https://www.daxpatterns.com/parent-child-hierarchies/
Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast - Power BI Tutorials
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
122 | |
89 | |
75 | |
55 | |
45 |
User | Count |
---|---|
134 | |
120 | |
76 | |
65 | |
64 |