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
Viola
Frequent Visitor

waffle chart with survey responses

Hello everyone, 

I am currently trying to display my survey results using waffle chart. My responses are in text format therefore i need to add a new coulmn that will calculate the values of each response, what is the formula for that? I have tried several and nothing works, i am able to calculate one value at the time, when adding new measure to the same column i get an error? Anyone know how to solve that issue ? 

I would higly appreaciate as i am stuck with it 2nd day already:( 

1 ACCEPTED SOLUTION
v-haibl-msft
Employee
Employee

@Viola

 

I do not know about your data table, so I create a test table like below. In such scenario, we can create two measures to calcuate the responses for each type and all types.

 

Measure_Count = 
CALCULATE ( COUNTROWS ( Table1 ), ALLEXCEPT ( Table1, Table1[Response] ) )
Measure_All = 
CALCULATE ( COUNTROWS ( Table1 ), ALL ( Table1 ) )

 

waffle chart with survey responses_1.jpg

 

waffle chart with survey responses_2.jpg

 

Best Regards,
Herbert

View solution in original post

4 REPLIES 4
v-haibl-msft
Employee
Employee

@Viola

 

I do not know about your data table, so I create a test table like below. In such scenario, we can create two measures to calcuate the responses for each type and all types.

 

Measure_Count = 
CALCULATE ( COUNTROWS ( Table1 ), ALLEXCEPT ( Table1, Table1[Response] ) )
Measure_All = 
CALCULATE ( COUNTROWS ( Table1 ), ALL ( Table1 ) )

 

waffle chart with survey responses_1.jpg

 

waffle chart with survey responses_2.jpg

 

Best Regards,
Herbert

Anonymous
Not applicable

@v-haibl-msft 

The text under each waffle chart is overlapping, please see the below image. Are there any solutions to this please?Waffle chart.PNG

Excellent! Thank you so much! That is exactly what i was looking for.

@Viola

 

You can mark the right answer as solution so that others who have the same problem can find the correct solution quickly.

 

Best Regards,
Herbert

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.

Top Solution Authors