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
I´ve been strugguling for the past days and I can't find the answer anywhere.
on my p&L table I have a color format that if the value is below 0 then is red otherwise is blue.
Now when I change the number values into percentage then it convert it to string values which causes that my actual color:
Solved! Go to Solution.
Thanks @ppm1 & @amitchandak for your replies.
The soltion that I found was as following:
Thanks @ppm1 & @amitchandak for your replies.
The soltion that I found was as following:
I would consider setting a conditional format string using a calculation group for this.
Controlling Format Strings in Calculation Groups - SQLBI
Pat
The thing is that in the column I have other values that aren't percentages. Thats why for those specific values I multply by a 100. Because if I use Format(value,"Pecentage") then it transform it to a string and my Actual color does not identify the values smaller than 0. and even if it's a negative it makes them blue insetad of red for those negative percentage values.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 28 | |
| 19 | |
| 11 | |
| 10 |