Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Waffle visualisation not working

I have a table which I've grouped into just two rows - the Range which consists of 'Within 12 months' 'Within 3 months' and 'Within 1 month' 

And the count of how many times each range appears in the dataset. 

 

I want a waffle chart to show the three rangesWaffle Test.png and the percentage of each count against the total. 

I know the percentages are

'Within 12 months' = 81.8% 

'Within 3 months' = 12.27%

'Within 1 month' = 5.9%

 

In the Category Data of my chart I have the Range

Under Values I have Count (which is the Sum of Count)

Under Max Values I have Count (also the sum)

 

However, the waffle is showing

'Within 12 months' = 100%

'Within 3 months' = 15%

'Within 1 month' = 7%

 

I have the pbix file I can send but I am unable to attach it to this post for some reason. 


What the hell am I doing wrong????

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, 

 

You need to add a measure (right click your table, add measure) and enter the following formula :

Total MEASURE = CALCULATE ( SUM ( 'Table'[Count]); ALL('Table'))
This will compute the total of your Count column.
Then just add your Total measure to MAX Value of your Waffle visualisation.
 
Here is a screenshot of what I did (my Power BI is in french but it's not any different from yours). image.png
 
Tell me if you encounter any problems, 
Regards,
Etienne

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi, 

 

You need to add a measure (right click your table, add measure) and enter the following formula :

Total MEASURE = CALCULATE ( SUM ( 'Table'[Count]); ALL('Table'))
This will compute the total of your Count column.
Then just add your Total measure to MAX Value of your Waffle visualisation.
 
Here is a screenshot of what I did (my Power BI is in french but it's not any different from yours). image.png
 
Tell me if you encounter any problems, 
Regards,
Etienne
Anonymous
Not applicable

@Anonymous merci!

I thought it might be to do with the max measure - I was trying to create a max aggregation but it didn't work, your measure has finally fixed my visualisation thank you so much! 🙂 

Anonymous
Not applicable

It's my pleasure, have a nice day !

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.