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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
WolfP
Regular Visitor

Calculate proportion of most favourable answer

I am newbie to Power BI and I have the results of a survey as follow:

 

IDQ1Q2Q3
ayesyessometimes
bnoyesyes
cyessometimes 
dyessometimesyes
esometimesnosometimes
fno sometimes
gno yes
hyessometimes 
iyesyesno
j yessometimes

 

I need to calculate the proportion of the most favourable answer for each question:

 

column = # of yes / # total number of answers

column = 5 / 9

 

So far I manage to use COUNT() and FILTER() separately to group and count the variable together, but I can not figure out the syntax to do it in a single measure.

 

I would appreciate any help

 

 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @WolfP 
Please refer to attached sample file with the proposed solution. Perhaps you want to see the numbers as well but not sure what exactly is the results that you're looking for.

1.png2.png

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

Hi @WolfP 
Please refer to attached sample file with the proposed solution. Perhaps you want to see the numbers as well but not sure what exactly is the results that you're looking for.

1.png2.png

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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