Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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 April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 35 | |
| 35 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 58 | |
| 28 | |
| 27 | |
| 25 |