Forum Discussion
Fali324
1 year agoHelper II
Colour using dax
Hi, I have the following dax, I would like to colour the text green if it is above 0% and Red if it is a minus % Var percentagedifferance = FORMAT( DIVIDE(contingencyremaining...
- 1 year ago
Hello Fali324 ,
Please copy the DAX formula below, because in your formula you are using Format which converts the Percent value to text, so remove the Format and apply divide and go to "FX" option where you want to apply condtional formatting like "Title" or "values" and from there select "Field Value" and select the below formula.
Var percentagedifferance =If(DIVIDE(contingencyremaining,contingencytotal)<0, "Red", "Green")ReturnpercentagedifferanceIf you find this helpful , please mark it as solution and Your Kudos are much appreciated!
Thank You
Dharmendar S
Fali324
1 year agoHelper II
Thank you for your reply, I'm trying to use that measure as a title.
bhanu_gautam
1 year agoSuper User
Fali324 , Than you can use card with conditional formatting
https://www.youtube.com/watch?v=zVJuDQdKXHY - check this