Forum Discussion
CarlsBerg999
5 years agoHelper V
Count if value is not
Hi,
Im trying to count personnel that is not in a specific RLU ID. I have multiple ID's that need to excluded. How do i do this? The formula works fine, if i just use one ID.
Personnel = CALCULATE(COUNTROWS('Employee Masterdata'),'Employee Masterdata'[RLU ID] <> "ID1234" || "ID4321")
Thanks for the help!
Hi CarlsBerg999 ,
try the below
Personnel = CALCULATE(COUNTROWS('Employee Masterdata'),NOT('Employee Masterdata'[RLU ID]) IN {"ID1234","ID4321"})
1 Reply
- manikumar34Solution Sage
Hi CarlsBerg999 ,
try the below
Personnel = CALCULATE(COUNTROWS('Employee Masterdata'),NOT('Employee Masterdata'[RLU ID]) IN {"ID1234","ID4321"})