This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I am creating a corporate metrics score card and need help with conditional formatting. I am using cards for all my values since I am combining so many sources in this one report, a table cannot be used. I am coloring the background green where goals are being met and red where they are not.
I have a list of metrics (text box), current monthly total (card), monthly goal (text box), YTD goal (card) and YTD total (card). The conditional formatting works great on the monthly goal because the value is always based on the same goal.
example:
Metric Month Current Month Month Goal YTD Goal YTD
Sales March 3 5 15 13
In this example there are "3" sales in March with a goal of "5" per month. With March being the 3rd month YTD goal is "15". I can get all my calculations correct but what I need is to color the "13" card background green or red based upon the YTD goal "15". The only way I can see this working would be if I change the values each month, however I have this working with a slicer so that is not a viable option.
Solved! Go to Solution.
Create this measure with your measure names
YTD RAG =
IF([YTD measure] >= [YTD Goal measure],"green","red")
TheN click on the YTD card / Format / General / Effects / BackgrouNd on / BackgrouNd Colour fx / Format style = Field value/ What field should this be based on = YTD RAG
Thanks for reaching out for help.
I have helped you, now please help me by giving kudos.
Remeber we are unpaid volunteers.
Click the thumbs up and accept as solution button.
One question per ticket please. If you need to extend your request then please raise a new ticket.
You will get a quicker response and each volunteer solver will get the kudos they deserve. Thank you !
Create this measure with your measure names
YTD RAG =
IF([YTD measure] >= [YTD Goal measure],"green","red")
TheN click on the YTD card / Format / General / Effects / BackgrouNd on / BackgrouNd Colour fx / Format style = Field value/ What field should this be based on = YTD RAG
Thanks for reaching out for help.
I have helped you, now please help me by giving kudos.
Remeber we are unpaid volunteers.
Click the thumbs up and accept as solution button.
One question per ticket please. If you need to extend your request then please raise a new ticket.
You will get a quicker response and each volunteer solver will get the kudos they deserve. Thank you !
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 35 | |
| 32 | |
| 25 | |
| 23 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 50 | |
| 30 | |
| 24 | |
| 23 |