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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ecardoso626
New Member

Count # of Times Specific Values Show up in a Matrix Table

I have a data table that shows the performance of hundreds of suppliers across 4 categories each month. The supplier can have multiple rows for the same month, so I want to sum up the total results for each month, create a measure based on the total values, then do a count if that measure is <=85.

 

I added a column to my data table to say "if <= 85, assign "Low Performance", but this assigns "Low Performance" for each row.....however, that supplier can be low performing for rows 1 & 2, and high performing for row 3 and actualy have a total summation that results in high performance for the month. 

 

I have a matrix table that shows the total performance of suppliers across each month. The performance values shown is a measure calculation of the 4 category measures.

 

The matrix result looks like this. I want to count (in a new table or card) the number of times each Supplier has a score of 85 or less across the months & the total number of red counts within a month.

Matrix.png

 

  • In this example, Supplier 1 should result in 3, Supplier 2 should be 4, Supplier 3 is 1, Supplier 4 is 6.
  • March should be a count of 4.

 

Hope some of this makes sense :). Thanks!

1 REPLY 1
amitchandak
Super User
Super User

@ecardoso626 , You can try like

countx(Filter(Summarize(Table, Table[Supplier], Table[month],"_sc",[score]),[_sc]<=.85),[supplier])

 

You can replace with respective dimension member if needed

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.