Forum Discussion
Hide Blanks Values in Matrix - Hierarchy
- 7 years ago
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,
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
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.
- v-cherch-msft7 years ago
Microsoft Employee
Hi Anonymous
Could you share a simplified sample and your expected output?
Regards
- Anonymous7 years agoNot applicable
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.- v-cherch-msft7 years ago
Microsoft Employee
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,