Build a Power BI Heatmap: Read Color Scales and Reference Points
A heatmap fills table cells with color so patterns stand out. In Power BI, apply conditional background colors to numeric values in a matrix to create a heatmap-like view. Keep the numbers, units, and a color legend visible, and choose a scale that matches the question: deviations around a meaningful reference or values that simply run from low to high. [Microsoft: Apply conditional formatting in tables and matrices](https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting)
Build a Power BI Heatmap: Read Color Scales and Reference Points
A heatmap fills table cells with color so patterns stand out. In Power BI, apply conditional background colors to numeric values in a matrix to create a heatmap-like view. Keep the numbers, units, and a color legend visible, and choose a scale that matches the question: deviations around a meaningful reference or values that simply run from low to high. Microsoft: Apply conditional formatting in tables and matrices
Choose a color scale for the values
| Data and question | Starting color scale | Interpretation guide |
|---|---|---|
| Compare low to high with no meaningful reference point | Sequential scale from one hue toward a different lightness | Let changes in lightness or intensity show numeric order, and explain the value range. |
| Deviations above and below a target, zero, or midpoint | Diverging scale with colors on both sides of a neutral center | State the center and check that both sides are comparable. |
| Unordered types or status labels | Distinct category colors or rule-based formatting | Category colors should not imply a ranking from small to large. |
Sequential scales encode ordered numeric magnitude; diverging scales emphasize departures in either direction from a neutral reference. Power BI gradient conditional formatting can set minimum and maximum colors and optionally a center value and color. In a matrix, this applies to cell values, not row and column headers. Microsoft: gradients and center colors for conditional formatting · USGS summary of palette types
Apply background color in a Power BI matrix
These steps apply to a matrix in Power BI Desktop or an editable Power BI Service report.
Add a matrix. Put comparison categories in rows and columns, and the numeric measure to color in Values. For example, compare deviations by region and month.
Select the matrix. In the Values field dropdown in the Visualizations pane, choose **Conditional formatting > Background color**. [Microsoft: conditional formatting steps for tables and matrices](https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-conditional-table-formatting)
If there is no meaningful reference, set **Minimum** and **Maximum** for a sequential gradient. If the center matters, select **Add a middle color**, then set the reference value and its color to create a diverging scale.
For direct comparisons across visuals or report pages, use the same custom range instead of a separate automatic minimum and maximum. Otherwise the same color can represent a different absolute value in each visual. Check whether any data fall outside the chosen range.
Check text as well as background color because dark fills can obscure cell values. Keep the numbers visible and state the measure, unit, center, and color direction in the title or legend.
Check blanks, totals, subtotals, and filters. Power BI supports conditional formatting for values, totals, and subtotals, but not row or column headers. Do not color a blank as zero; distinguish missing data from a measured zero.
Read hypothetical deviations with color
The table below contains fictional deviations from a target in percentage points (pp), not actual performance data. Negative values mean below target, zero means at target, and positive values mean above target.
| Region | January (pp) | February (pp) | March (pp) |
|---|---|---|---|
| North | -2 | 0 | 3 |
| South | 1 | -1 | 4 |
| East | -3 | 2 | 0 |
For this example, set the center color to 0 pp and the scale limits to -4 pp and +4 pp. One side then means below target, the center means at target, and the other side means above target. Values of -3 pp and +3 pp are equally far from the reference and can use equally strong colors on opposite sides. Keep cell numbers visible to read exact deviations.
Avoid relying on color alone
**The same color seems to mean different values:** Check whether automatic minimum, maximum, or center differs between visuals; use a shared custom range for comparison.
**The neutral point is unclear:** Name the target, zero, or midpoint in the title or legend. Do not assume the visual midpoint is a meaningful baseline.
**Cell numbers are hard to read:** Adjust text/background contrast and keep numeric labels. Color-only status can be hard to distinguish across color-vision differences and display or print conditions.
**Totals are mixed with detail values:** Totals may represent a different aggregation. Check whether the same scale fits totals, or format totals and subtotals separately.
**Blank cells look like zero:** Check blank-value formatting. Show missing data differently from an observed zero and explain it in the legend.
**Color is treated as cause or performance judgment:** Color encodes a measure’s position in a scale or its deviation from a reference. Causal claims need additional analysis.
Before interpreting, check the measure and unit, scale minimum/maximum/center, handling of blanks and totals, and legend. This guide is based on Microsoft and USGS material checked on 18 November 2026. Power BI menu labels may change with updates.