Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Difference between filter and filter with allexcept

Can someone explain me why these two formulas return different tables?    U Purchases = CALCULATE(COUNT('Sales Data'[MemberID]),'Sales Data'[Payment Date] >= DATEVALUE ( "30 August 2018" ),FILTER(A...
  • v-yulgu-msft's avatar
    7 years ago

    Hi Anonymous,

     

    Below is the result in my test.

     

    ALLEXCEPT  removes all context filters in the table except filters that have been applied to the specified columns. Per my understanding, using ALLEXCEPT in your formula makes the calculation work on group level, while the calculation works on the whole table level without ALLEXCEPT. Here is a similar thread for your reference, but its a scenario about measure:

    Filter and Allexcept

     

    Best regards,

    Yuliana Gu