Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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
This is an example of what I would like to produce in the end.....
Solved! Go to Solution.
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.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingThanks 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.
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.
DAX is for Analysis. Power Query is for Data Modeling
Proud to be a Super User!
MCSA: BI ReportingUser | Count |
---|---|
33 | |
17 | |
13 | |
10 | |
8 |
User | Count |
---|---|
51 | |
31 | |
24 | |
17 | |
15 |