Forum Discussion

DebbieE's avatar
DebbieE
Icon for Community Champion rankCommunity Champion
4 years ago
Solved

Count Items not in the slicer

Here is my example model   And I wanted to see for example Reports not in the Date slicer the table contains for example reportName and the measure created with this DAX   Is Not in t...
  • DebbieE's avatar
    4 years ago

    I think I may have sussed it

     

    Total Reports not in date Filter =
    //Clear all filters which are applied to the specified table.ALLCROSSFILTERED
    var VAllReports =CALCULATE([# reports],ALLCROSSFILTERED(DimDate))
    //Total within the date filter
    var VInFilter = [# reports]
    //All reports - Reports inside the slicer
    Return VAllReports-VInFilter