Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

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...
  • Anonymous's avatar
    Anonymous
    6 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