Forum Discussion

BugmanJ's avatar
BugmanJ
Icon for Helper V rankHelper V
3 years ago
Solved

Using both ALL and ALLEXCEPT together?

Hello All, Simplistic table: YEAR COMPANY OrderNumber   [YEAR] is linked to a Calander Table which also has [YEAR] I have two slicers on the page, YEAR and COMPANY I am trying to ...
  • tamerj1's avatar
    tamerj1
    3 years ago

    BugmanJ 
    Please try

     

    NumberofOrders =
    CALCULATE (
        DISTINCTCOUNT ( 'Table'[OrderNumber] ),
        ALLEXCEPT ( 'Table', 'Calendar'[Date] )
    )