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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Jay2077
Helper III
Helper III

Calculatng a measure for total number of answers for a given question

Ok so I have various questions and i'd lik eto create a new measure which will give me a count of the number of answers 

 

eg, I like football 

 

answers = 

 

10 = agree completeley 

8 = somewahat agree 

 

and so on 

 

How would I do this please ?  Is it something along the lines of measure = countx(sheet1,Sheet1[Answer]="agree completely")  I can't seem to get this to work.  

 

Alternatively how could i go about making numerous pie charts to show the answers of 7 or 8 questions without uploading them as sepreate sheets?

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

@Jay2077

 

Quite Similar to your formula

 

Measure=countrows(Filter(sheet1,Sheet1[Answer]="agree completely"))

 

OR

 

Measure2=countX(Filter(sheet1,Sheet1[Answer]="agree completely"),1)

View solution in original post

1 REPLY 1
Zubair_Muhammad
Community Champion
Community Champion

@Jay2077

 

Quite Similar to your formula

 

Measure=countrows(Filter(sheet1,Sheet1[Answer]="agree completely"))

 

OR

 

Measure2=countX(Filter(sheet1,Sheet1[Answer]="agree completely"),1)

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors