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,
I want to format a percent values in a finance report. If the sales variance is negativ then the font colour should be red. The cost variance should be red, if it is positive. To define what sales an costs, I have a related table.
Is this able to format in Power Bi?
Thanks in advance
Catalano
Solved! Go to Solution.
Hi @Catalanello
You can create a measure,then fomat the column backgroud color in table using this measure
Create a measure:
ColorSalesVarianceMeasure = IF(MAX('Tabletest'[sales variance])<=0,"red","#ffffff")
Best Regards,
Community Support Team _Isabella
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Catalanello
You can create a measure,then fomat the column backgroud color in table using this measure
Create a measure:
ColorSalesVarianceMeasure = IF(MAX('Tabletest'[sales variance])<=0,"red","#ffffff")
Best Regards,
Community Support Team _Isabella
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
It is advisable tat if you post some dummy data and your exact requirements..It will help us to solve your problem.
Please go though the below link, how to get the answer quickly
Hope this will help
Regards
sanalytics
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 61 | |
| 54 | |
| 41 | |
| 41 | |
| 22 |
| User | Count |
|---|---|
| 171 | |
| 136 | |
| 119 | |
| 80 | |
| 54 |