Forum Discussion

DJSwezey's avatar
DJSwezey
Icon for Helper I rankHelper I
2 years ago
Solved

How to show only subtotal value

I have a table that contains Country, State, Target Regions and number of dairy cows.   I do not want to see the number of dairy cows per each target region (last drill down row). I only want...
  • CoreyP's avatar
    2 years ago

    Option 1, don't use target region in your visual. Option 2, write a DAX measure to only sum when it's not in context of target region. Something like Dairy Cows = IF( ISFILTERED( [Target Region] ) , BLANK() , SUM( [Dairy Cows] ) )