Forum Discussion

AkhlaqQuestions's avatar
AkhlaqQuestions
New Member
3 years ago
Solved

Measure with a filter clause

Hi all   How do I create a Measure that does a count along with a filter (WHERE CLAUSE in SQL) for the word Leave in the status column   Leave  = CALCULATE ( COUNT ( Leavers[ID] FILTER ( VA...
  • aj1973's avatar
    3 years ago
    This should work,
    Leave = CALCULATE ( COUNT ( Leavers[ID]) , Leavers[Status] = "Leave" )