Join 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'm trying to understand the maths behind the cell elements condtinal formatting rules see below
This has colour codes my values in the following way:
509 - Green
397 - Green
353 - Yellow
250 - Yellow
94 - Red
80 Red
Note - The field is a generic sales measure
Can anyone clarify the maths that leads to this result?
Many thanks,
Solved! Go to Solution.
Hi @Peppearson
My understanding is that percentages (in this dialog box) correspond to linear interpolations between the Min and Max values.
So the Value corresponding to a given percentage p is Min + p/100 * (Max - Min).
To put it the calculation in steps, using your figures as an example:
The icons are then explained based on where the values fall relative to these threshold values.
It might have been more intuitive if there was an option for percentiles, so that the smallest 33% of values could be given a certain format, and so on. You could still achieve this, but would need to write a measure to handle it.
Regards
Thanks for the explanation! Makes sense now.
Hi @Peppearson
My understanding is that percentages (in this dialog box) correspond to linear interpolations between the Min and Max values.
So the Value corresponding to a given percentage p is Min + p/100 * (Max - Min).
To put it the calculation in steps, using your figures as an example:
The icons are then explained based on where the values fall relative to these threshold values.
It might have been more intuitive if there was an option for percentiles, so that the smallest 33% of values could be given a certain format, and so on. You could still achieve this, but would need to write a measure to handle it.
Regards
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 |
|---|---|
| 40 | |
| 39 | |
| 31 | |
| 21 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 58 | |
| 29 | |
| 27 | |
| 25 |