Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Conditional formatting

Hi, I have a measure Delta as follow: Delta = SWITCH(     TRUE(),     [Hours_Submitted_TS] - [Hours_Forecast] > 0, "Charged more than expected",     [Hours_Submitted_TS] - [Hours_Forecast] < 0,...
  • _AAndrade's avatar
    2 years ago

    Hi Anonymous,

     

    You can use a measure to define the color like this:

    Delta Color= SWITCH(
        TRUE(),
        [Delta ] = "Charged more than expected", "RED",
         [Delta ] = "Charged less than expected", "YELLOW",
        [Delta ] = "Charged as forecasted", "GREEN"
        )

    Then go to Format Ribon and follow the path indicated by ChiragGarg2512., like this: