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 have a Matrix table and I want to have a conditional format on a percentage value.
The lowest value being red, centre value orange and maximum being green.
I have the formatting set to
Gradient
Values only (as I don't have the totals)
Format empty values as 0.
The table has 3 rows.
I think the problem is that my value has a NaN output as its trying to take a percentage of (0.00 / 0.00) - 0.00 measure below:
(appval_prev / appval_curr) - appval_curr
Any idea how to resolve please?
Solved! Go to Solution.
Hi @M_SBS_6
Have you tried using the DIVIDE function instead of slash. https://learn.microsoft.com/en-us/dax/divide-function-dax
Hi @M_SBS_6
Have you tried using the DIVIDE function instead of slash. https://learn.microsoft.com/en-us/dax/divide-function-dax
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 169 | |
| 109 | |
| 91 | |
| 55 | |
| 44 |