Forum Discussion
Target Met conditional formatting
- 6 years ago
Hi Anonymous,
Create a Measure that returns the Hex Code you want to apply to your Back/Font Color, then use the Field Value option when setting up conditional formatting
back color = if([target]<=[actual], "#008000", "#FF0000")Hope this helps,
Richard
Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!
Hi Anonymous,
Have a look at this .pbix, sample.pbix , it contains a conditional formatting measure.
Hope this Helps,
Richard
Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!
@richbenmintz Perfect!! It was helpful.
- richbenmintz6 years agoResident Rockstar
Hi Anonymous,
Assuming [Target] and [Actual] are measures, you would likely use
if([target]<=[actual], "#FFFFFF", "#008000")The Coalesce in my example was a shortcut for an 'Or' condition, essentially checking to see if any of the cases evaluated to true().
Richard