Waffles = 😋
Power BI = ⚡
Waffle chart in Power BI = 😍
So let’s make some waffle charts in Power BI. They can be a fun way to show single numbers in your dashboards.
Waffle charts in Power BI - Step by step tutorial
Step 0: Create the necessary measure to visualize
Let’s say you want to visualize a measure [Preferred Value] in the waffle chart.
Step 1: Create a numbers table
To make waffles, we need flour, salt, baking powder and sugar. I am kidding, we won’t be baking any real ones here. We just need a disconnected table to make waffles.
Our table needs to have numbers 1 to 100, row & column values. You can either type one in Excel and bring it over or create one in Power Query. The final table shall look like this:

Numbers table for waffle chart
Index has numbers 1 to 100, Row has 1 ten times, 2 ten times... and Col has numbers 1 to 10 repeated.
You can create this in Excel or Make it in Power Query too.
Step 2: Add measure to harvest the number
Create a simple [number] measure with the formula =SUM(Numbers[Index]). This will simply return Index value when used in a visual with all row & col combinations.
Step 3: Add measure to show Waffle Filled portion
Now that we have both [preferred value] and [number] measures, let’s create the final one. I call it [Waffle Filled].
[Waffle Filled]:=IF([Preferred Value]<[Number],BLANK(),1)
This measure simply returns 1 or BLANK() depending on the values.
Step 4: Let’s make that waffle – Insert a Scatter Chart

Ok, we have prepped enough. The iron is hot, let's whip up the waffle.
- Insert a scatter chart
- Add Numbers[Row] to Y axis
- Add Numbers[Col] to X axis
- Add [Waffle Filled] to size
- Click on X axis and choose "Do not summarize" option. Do the same for Y axis too.

Our waffle chart at this stage
Not edible or comparable...
Step 5: Format the waffle chart
Don’t freak out. This is not a radiation infested waffle. It just needs a bit of whacking around the edges.
- Fix the axis: Set axis limits from 0.5 to 10.5 for both vertical (Y) and horizontal (X) axis.
- Change the shape: Go to shapes format setting of the scatter chart and change the shape to square. Also set the size to -20 (try a few different values to see which works for you)
- Remove axis, axis labels, grid lines and anything else you don’t want.
Voila, our waffle is ready to eat.
Watch the recipe for waffle charts in Power BI
If you burn your fingers while cooking these yummy waffles in Power BI, watch below tutorial video. You will learn,
- How to make the numbers table
- Creation of measures
- Waffle chart with scatter plot
- Waffle Table (2 dimensional waffles) with Matrix visual!!!
Go ahead and watch it below, or on my YouTube Channel.
Download Waffle Chart Power BI Template
Click here to download the Waffle chart Template for Power BI. The file has necessary measures for waffle chart and waffle table. Go ahead and play with it.
Don't go crazy with waffles
Just as too many waffles can lead to diabetes, excessive usage of this visual can make your reports hard to read. Just use one or two to get the conversation going. If you end up making a dozen of them, then you have gone too far. Consider a stacked column chart or something else.
Your thoughts...
I had such fun creating this chart in Power BI. What do you think about Waffle Charts? Are you planning to m(b)ake a few for next report? Share your thoughts in comments below.














17 Responses to “Custom Number Formats – Colors”
You are right, Chandoo. I was playing with the colour numbers last week and some of them don't appear different from each other. Others are totally different from yours.
@Duncan
Each version of Excel, post 2003, renders colors slightly differently
Different language versions may also have different default color palettes
Hello in french
excel 2010
colo1 = couleur1 = black
[couleur1]; [couleur2]; etc..
@Hui, thank you very much again for this great post.
However - under Excel 2007, Hungarian version your solution does not work with color names. I've tried both English and Hungarian names, but drops an error message "not valid formats"
Do you have any idea how to solve this issue?
thanks in advance
@Andras
Without a Hungarian version of Excel 2003 I don't think I can assist
Have you tried using the colour numbers? I couldn't get the names to work (despite using an english version of excel). but it did work with the numbers though. I left out the "u" and was easily able to produce burgundy using [color9]
Here a possible solution: find an English version of Excel, write there the formats using English names, then open the file in the Hungarian version and see the translation.
In Excel 2007 I can't get the colour names to work e.g Sea Green but the numbers do e.g color3 - colour3 does not work so I must bow to the country that has stolen my language (ha ha!)
Hey chandoo, nice Tip!
Wouldn't be easier just apply some conditional formatting for negative numbers and another for positive numbers? Or there's some cases that you can't do that?
Unfortunately the TEXT function doesn't color the cell as number formatting does.
Hi Hui,
Great post Sir, love the new way of formatting with color numbers.
I am using 2007, and it leads me to the last color number 56.
Thanks Hui.
[…] explains how to set up custom number formats with a wide array of […]
Thanks Hui - works a treat!
Thank you, very helpful.
Trying to figure out if it is possible to apply color only to a part of the cell?
E.g. I have a value formatted as Accounting with a currency symbol.
Those I find somewhat distracting though necessary. If I could make them less obtrusive by coloring them gray while the number would stay black, that would be great. Tried tinkering with the format string, but didn't get the desired result. Single color for complete cell value works, but coloring just part of it could not be achieved. Maybe somebody managed that?
Exactly what I was looking for - thank you!
colour in the Australian doesn't work - we have to go American and no problem.
I always thought is was 56 colours notice you have 57. Cool.
thanks
Analir Pisani
Customised Microsoft Office Training Specialist
Sydney - Australia
http://www.azsolutions.com.au
Thank You!