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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors