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
Anonymous
Not applicable

Sum/count of true events in a measure

Hi Guys

 

I have created a standard matrix as below. Now i would like create a table or matrix next to it showing the number of Pick IDs where the average percentage in the selected period is above 40%, below 10% and in between.  I am using a date slicer.

Capture.PNG

I've tried creating a measure that returns a 1 if the average for example is above 40% but i can't find a function to counts the 1s that are returned. 

 

Measure formula is = IF(AVERAGE('Salling Group'[Utilization %])>0,4 , 1 , 0)

 

Hope my question makes sense. 🙂

3 REPLIES 3
ntaylo06
Resolver II
Resolver II

You won't want to use a measure for this, a measure is a single calculation. If you create a new matrix/table and fill it with the exact same data, you should be able to filter it based on the value of a field, like this: 

 

Untitled.png

 

Anonymous
Not applicable

Thanks for the reply.

 

That would create a table that shows alle items with an average of above 40% and the grand total would be the average of all the items.

 

I just need a count of all the items that has an average ov over 40%.

In that case, use something like:

Forty Plus Average = CALCULATE(AVERAGE('table'[field]), 'table'[average] > .4)

But when you say "the grand total would be the average of all the items" that is describing the total of a table. You also said you wanted a table in your original post. Can you please clarify which one you are wanting?

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