Forum Discussion

sujitjena's avatar
sujitjena
Resolver I
6 years ago
Solved

Conditional Formatting based on calculated measures

Hi - I want to add shapes/cards such that it changes color based of the value of another measure. 

In the below example (attached pic) the card is a in the shape of small circle. All i want is the color to change to red when its greater than the card above it or green when less. For this i have also created another Measure only for the small circle that is given below:

Variance Colour = IF([Growth %]>[LC %],"#FF6966","#297D6F"). However, this doesnt work. Any suggestions or alternatives?
 
I tried conditional formatting but it is dependant on manual input for minimum or maximum values and i want a dynamic set up. Not sure if there is a way.
  • Hi sujitjena 

    Add the [Conditional Format] measure to a "Advanced card" visual, then set the Format->Conditional option as below

    Change the measure to below:

    Conditional Format = IF([GP Deployed FYTD]<[GP Deployed LYYTD],1,0)

    Best Regards
    Maggie
    Community Support Team _ Maggie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

8 Replies