Forum Discussion
AkhlaqQuestions
3 years agoNew Member
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...
- 3 years agoThis should work,Leave = CALCULATE ( COUNT ( Leavers[ID]) , Leavers[Status] = "Leave" )
aj1973
3 years agoCommunity Champion
This should work,
Leave = CALCULATE ( COUNT ( Leavers[ID]) , Leavers[Status] = "Leave" )
AkhlaqQuestions
3 years agoNew Member
Thanks for the reply,
Getting an error message
Too many arguments were passed to the COUNT function. The maximum argument count for the function is 1.
- aj19733 years agoCommunity Champion
Try again please I just edited the measure