Forum Discussion

nataliesmiy1357's avatar
4 years ago

Switch/If Statement

Hello!  I am trying to write a switch statement (or an if statement), but it's not working correctly.  

 

I want to create an equation/statement that takes the number for the minimum no of tms (the value) and if the count of employees with a score (in the colors) greater than 3 is the minimum no of tms or greater, then yes, but if not, no.  (something like: if (count(employee name) with score >= 3 is greaterthan or equal to minumum number of tms, yes, no)

 

But I'm not sure how to write that in DAX.

 

 

 

1 Reply