Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Creating category based on numeric values in another column using IF statement but ignoring totals

Hello Everyone, I'm trying to create a status category based on if the Won Q3 has a value or not,    my code is pretty straight forward I think, however, at the end of the table, my total shows ...
  • Jihwan_Kim's avatar
    4 years ago

    Hi,

    Please try the below measure.

     

    Status =
    IF (
    HASONEVALUE ( 'yourtablename'[Reference] ),
    IF ( [Sum Won Q3] <= 0, "Not Won", "won" )
    )