Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi
How do I format Q1 rows based on their targets?
I.e. Dept A, Q1 should have the 15000 in green
but Dept B should have the 100 in red.
I've tried the other posts similar to this, but I can't find a working solution.
Many thanks for looking!
Solved! Go to Solution.
Hi @Anonymous ,
According to your description, here’s my solution.
1.Create a measure.
Color = IF ( MAX ( 'Table'[Q1] ) > MAX ( 'Table'[Targets] ), "Green", "Red" )
2.Turn on the Font color option in Conditional formatting.
3.Select the measure as the based on field.
4.Get the expected result.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
According to your description, here’s my solution.
1.Create a measure.
Color = IF ( MAX ( 'Table'[Q1] ) > MAX ( 'Table'[Targets] ), "Green", "Red" )
2.Turn on the Font color option in Conditional formatting.
3.Select the measure as the based on field.
4.Get the expected result.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Perfect! Many thanks for that - much appreciated.
@Anonymous ,
Try conditional formatting. Refer to this article - https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting#color-by-rules
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 61 | |
| 44 | |
| 41 | |
| 36 | |
| 21 |
| User | Count |
|---|---|
| 175 | |
| 119 | |
| 106 | |
| 77 | |
| 50 |