Forum Discussion
Anonymous
6 years agoNot applicable
Card and if statement
I am trying to display a card saying either "warning" or "all good" based on the count of coursekey. I only want it to display warning if one specific coursekey appear more than once. Howev...
- Anonymous6 years ago
Hi Anonymous ,
Try this measure
Meaure 3 = VAR a = COUNT ( CheckforforgottenentriesLastyear[Course Key] ) RETURN IF ( a >= 2, "Warning", "All Good" )Regards,
Harsh Nathani
Anonymous
6 years agoNot applicable
Hi Anonymous
It did work and show warning if there is more than 2 entries for from different coursekey
However, what I want is to only show if one coursekey occur twice but I think the DAX you gave me was pretty close to the one I want.
Anonymous
6 years agoNot applicable
HI Anonymous ,
Can you share sample data and expected output.
Regards,
HN