Forum Discussion

brinky's avatar
brinky
Icon for Helper IV rankHelper IV
6 years ago
Solved

if is filtered

Hi All,   Im using this measure in a matrix with a month slicer, it works well when a month and months are selected, however when I select all  months no values will show.   IF(ISFILTERED(dDate[...
  • v-lid-msft's avatar
    6 years ago

    Hi brinky ,

     

    It is because when all the month are selected, the isfiltered(Month) will be false, if you want to show all the value when all month selected, we can use the following measure:

     

    UnitsTotal =
        CALCULATE ( SUM ( data[Units] ), dDate[Year] = "2019" )
    

     


    If it doesn't meet your requirement, kindly share your sample data and expected result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.

     


    Best regards,