- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hide Blanks Values in Matrix - Hierarchy
Hi all,
I want to hid the blank values. I use this metric:
blanks = IF(MAX('Performance Indicator Hierarchy'[Performance Indicator Hierarchy Level 5 Name])<>BLANK(),1)
and put it in the visual filter level. But I want to replicate it to the remaining levels.
I put this metric:
blanks = IF(MAX('Performance Indicator Hierarchy'[Performance Indicator Hierarchy Level 5 Name])<>BLANK(),1) && IF(MAX('Performance Indicator Hierarchy'[Performance Indicator Hierarchy Level 6 Name])<>BLANK(),1) && IF(MAX('Performance Indicator Hierarchy'[Performance Indicator Hierarchy Level 7 Name])<>BLANK(),1) && IF(MAX('Performance Indicator Hierarchy'[Performance Indicator Hierarchy Level 8 Name])<>BLANK(),1) && IF(MAX('Performance Indicator Hierarchy'[Performance Indicator Hierarchy Level 9 Name])<>BLANK(),1) && IF(MAX('Performance Indicator Hierarchy'[Performance Indicator Hierarchy Level 10 Name])<>BLANK(),1)
but it didn't work. Any suggestion ?
Kind regards.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Anonymous
You may try to create a measure to get the correct total value.For example:
Measure = IF ( HASONEVALUE ( Table3[Column2] ) && MAX ( Table3[Column2] ) <> BLANK (), SUM ( Table3[Value] ), CALCULATE ( SUM ( Table3[Value] ), ALL ( Table3[Column2] ) ) )
Regards,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please consider voting to my idea to add this option to the Matrix visual:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Anonymous
You may try below measure:
blanks = IF ( MAX ( 'Performance Indicator Hierarchy'[Performance Indicator Hierarchy Level 5 Name] ) <> BLANK () && MAX ( 'Performance Indicator Hierarchy'[Performance Indicator Hierarchy Level 6 Name] ) <> BLANK () && MAX ( 'Performance Indicator Hierarchy'[Performance Indicator Hierarchy Level 7 Name] ) <> BLANK (), 1 )
Regards,
Cherie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @v-cherch-msft
Thanks for your solution, it's works but there are fields of certain levels of the hierarchy that disappear me :\.
Once again, thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Anonymous
Could you explain more about your expected output?I cannot fully understand it.
blanks = IF ( MAX ( 'Performance Indicator Hierarchy'[Performance Indicator Hierarchy Level 5 Name] ) <> BLANK () || MAX ( 'Performance Indicator Hierarchy'[Performance Indicator Hierarchy Level 6 Name] ) <> BLANK () || MAX ( 'Performance Indicator Hierarchy'[Performance Indicator Hierarchy Level 7 Name] ) <> BLANK (), 1 )
Regards,
Cherie
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @v-cherch-msft ,
It's a flattened hierarchy, for example without measure I get this:
but when I put the measure I get this:
The values change, and brand marketing, for example, also disappears.
If you need more information, please tell me and thank you very much to try help me.
Kind regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Anonymous
Could you share a simplified sample and your expected output?
Regards
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @v-cherch-msft
I want to apply the same method that exists in the analysis service, the option "hide blank members":
I just want to remove the blanks: and if apply the metric, as you can compare, the brand marketing record (for example) disappears, and the values change. (Brand Marketing: -499.39 to -0.89)
I tried to make a replace values for null, but i didn't succeed.
Kind regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have te same problem, how did you fix this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Anonymous
You may try to create a measure to get the correct total value.For example:
Measure = IF ( HASONEVALUE ( Table3[Column2] ) && MAX ( Table3[Column2] ) <> BLANK (), SUM ( Table3[Value] ), CALCULATE ( SUM ( Table3[Value] ), ALL ( Table3[Column2] ) ) )
Regards,
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Guys,
Is possible apply this solution for more hierarchies columns?
For example adding one culumn
Column 1 | Column 2 | Column 3 | Value |
a | a1 | a3 | 1 |
a | a1 | 2 | |
a | a2 | a4 | 3 |
a | a4 | 4 | |
a | b1 | 2 | |
a | b3 | 2 | |
a | b1 | 3 | |
a | b2 | b4 | 4 |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could anyone answer this? I have the same problem, the blank spaces are sometimes in the middle of the hierarchy.. 😕

Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Power BI Monthly Update - February 2025
Check out the February 2025 Power BI update to learn about new features.

Subject | Author | Posted | |
---|---|---|---|
Anonymous
| 05-07-2024 12:57 AM | ||
09-24-2024 03:37 PM | |||
03-26-2024 11:00 AM | |||
07-18-2024 05:36 AM | |||
10-22-2024 04:49 PM |
User | Count |
---|---|
87 | |
81 | |
53 | |
38 | |
35 |