Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Exclude Certain Value from Measure

I have a measure which works well:

 

 

_m_TotRev = calculate(sum('Table'[Revenue]),ALLEXCEPT('Table','Table'[Employee],'Activity Assignment'[start_date]))

 

 

I need to exclude certain rows from 'Table' where an unrelated field (i.e., 'Experience') = 'No Experience'

 

I've tried various iterations of FILTER but none work

2 Replies

  • Anonymous , you mention as another filter outside allexpect

    _m_TotRev = calculate(sum('Table'[Revenue]),ALLEXCEPT('Table','Table'[Employee],'Activity Assignment'[start_date]),'Experience'[Experience] = "No Experience")

    Or

    _m_TotRev = calculate(sum('Table'[Revenue]),ALLEXCEPT('Table','Table'[Employee],'Activity Assignment'[start_date]),'Experience'[Experience] <> "No Experience")

     

    Or you can add additional filter clause if needed