Short answer: a heat map is a grid of numbers where colour shows the value: the stronger the colour, the bigger the number. You stop reading cells and see the pattern at once. In Excel, select the numbers and use Conditional Formatting > Color Scales. In Power BI, use a matrix and give the values a background colour by gradient. Use one colour from light to dark, not red and green, which many colour blind readers cannot tell apart.
The chart, part by part: What is a heat map? draws its parts and shows how to read one, its kinds and the mistakes to avoid.
Twenty-eight cells of order counts by day and time are hard to read: you compare numbers one pair at a time and still miss the busiest hour. Colour every cell by its value and the busiest hour finds you.
What does a heat map look like?
A made-up shop's orders, by day and time of day:
| Day | Morning | Lunch | Afternoon | Evening |
|---|---|---|---|---|
| Mon | 42 | 88 | 51 | 37 |
| Tue | 45 | 91 | 49 | 40 |
| Wed | 47 | 95 | 55 | 43 |
| Thu | 50 | 104 | 58 | 61 |
| Fri | 53 | 162 | 74 | 96 |
| Sat | 70 | 121 | 110 | 88 |
| Sun | 64 | 97 | 80 | 45 |
As plain numbers, you have to hunt. As a heat map, Friday lunch (162) is the darkest cell by far, Saturday afternoon is the next hot spot, and every morning stays pale. The pattern was always in the table; colour makes it visible.
How do you read one?
- Find the darkest cells: the biggest values.
- Look along rows and down columns for bands: a dark column means one time is busy every day.
- Look for the odd cell out: one dark cell in a pale row is worth a question.
A heat map is for patterns, not exact values. Show the number in each cell as well when people will need it.
How do you make one in Excel?
Select the numbers (not the headers), then Home > Conditional Formatting > Color Scales and pick a scale. A two-colour scale shades from one colour for the lowest value to another for the highest. Choose one that runs from white or a pale shade to one strong colour.
How do you make one in Power BI?
Power BI has no visual called "heat map" for a grid like this; the matrix is the heat map:
- Add a matrix: day on Rows, time of day on Columns, the order count in Values.
- In the Values well, open the field's menu and choose Conditional formatting > Background color.
- Set Format style to Gradient, with the lowest value pale and the highest dark.
To show only colour, set the Font color to the same gradient: the numbers blend into the cells.
What goes wrong?
| Mistake | Why it hurts | Fix |
|---|---|---|
| Red to green | The most common colour blindness is red-green, so the scale looks flat | One hue, light to dark |
| A rainbow scale | Readers cannot tell whether yellow is more than green | One hue, or two hues only for above and below a midpoint |
| Totals in the grid | The total row gets the darkest colour and washes out the rest | Keep totals out of the coloured range |
| Very different row sizes | A big store is dark everywhere, the pattern disappears | Colour a rate or share, not the raw count |
Where can you check this?
- Microsoft Support: Use conditional formatting to highlight information, Color Scales in Excel
- Microsoft Learn: Apply conditional table formatting in Power BI, background colour by gradient
- National Eye Institute: Color blindness
Where do you start?
For the colour rules in a Power BI table, see conditional formatting in Power BI. Not sure a heat map fits your data? Paste it into Chart Compass, say what the chart should show, and see the charts that fit, drawn with your own numbers.