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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
0553914
Frequent Visitor

Count values in a matrix over a certain value

I have a matrix that displays the number of units processed every 15 minutes by different areas of my operation.  Each area is supposed to process 30 units every 15 minutes.  I've built a real-time dashboard that shows how many are produced in each 15 minute window (mobile power bi screen), but I want to build a chart that shows (in real-time) how many times each area has exceeded their goal.  Below is an example of the matrix that can be viewed on a desktop.  

Question:  How do I count the number of times each area exceeds 30 units in all of their time windows

 

0553914_0-1659014384394.png

 

This is an example of what I would like to produce in the end.....

 

0553914_1-1659014531508.png

 

1 ACCEPTED SOLUTION
edhans
Super User
Super User

You could use a measure that counts the number of times the total is over 30 when iterating over the time component. 

Over 30 =
COUNTROWS(
    FILTER( VALUES( 'Date'[Time Value] ), [Some Total Measure] >= 30 )
)

 

If over both time and wings, then this:

Over 30 =
COUNTROWS(
    FILTER(
        SUMMARIZE( FactTable, 'Date'[Time Value], DimensionTable[Wings] ),
        [Some Total Measure] >= 30
    )
)

For more help though, we need some data to work with and an undestanding of your model. See below for links to show how to provide usable data. We cannot use images to get data from. Great for what your target is, but I cannot type all of that in.

 

How to get good help fast. Help us help you.

How To Ask A Technical Question If you Really Want An Answer

How to Get Your Question Answered Quickly - Give us a good and concise explanation
How to provide sample data in the Power BI Forum - Provide data in a table format per the link, or share an Excel/CSV file via OneDrive, Dropbox, etc.. Provide expected output using a screenshot of Excel or other image. Do not provide a screenshot of the source data. I cannot paste an image into Power BI tables.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

2 REPLIES 2
0553914
Frequent Visitor

Thanks so much for the quick response.  I was able to use your second option and it worked perfectly!  I thought I needed to use SUMMARIZE, but just couldn't figure out how to format it.  Really appreciate your help on this!  Thank you.


edhans
Super User
Super User

You could use a measure that counts the number of times the total is over 30 when iterating over the time component. 

Over 30 =
COUNTROWS(
    FILTER( VALUES( 'Date'[Time Value] ), [Some Total Measure] >= 30 )
)

 

If over both time and wings, then this:

Over 30 =
COUNTROWS(
    FILTER(
        SUMMARIZE( FactTable, 'Date'[Time Value], DimensionTable[Wings] ),
        [Some Total Measure] >= 30
    )
)

For more help though, we need some data to work with and an undestanding of your model. See below for links to show how to provide usable data. We cannot use images to get data from. Great for what your target is, but I cannot type all of that in.

 

How to get good help fast. Help us help you.

How To Ask A Technical Question If you Really Want An Answer

How to Get Your Question Answered Quickly - Give us a good and concise explanation
How to provide sample data in the Power BI Forum - Provide data in a table format per the link, or share an Excel/CSV file via OneDrive, Dropbox, etc.. Provide expected output using a screenshot of Excel or other image. Do not provide a screenshot of the source data. I cannot paste an image into Power BI tables.



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

Top Solution Authors