Forum Discussion

atul9063's avatar
atul9063
Helper III
7 years ago
Solved

Non Additive Hierarchy Slicer

Hi,   I want to create Non Additive Heirarchy Slicer.When user select Americas in Hierarchy slicer, then All value which is 200 should display in graph instead of Total 470.     Dataset  ...
  • v-cherch-msft's avatar
    7 years ago

    Hi atul9063 

     

    You may create a measure like below:

    Measure = 
    IF (
        HASONEVALUE ( Table3[Country] ),
        SUM ( Table3[Value] ),
        CALCULATE ( SUM ( Table3[Value] ), Table3[Country] = "ALL" )
    )
    

    Regards,

    Cherie