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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Measure for Minimum Weekly Average

I am trying to calculate the Minimum of a measure I have "Average Loading Time." Essentially, each week I look at the Average from the previous week but I would like to see the record minimum over the course of the data set. The error I am getting is because the data set has a few null loading times signifying we didn't pick up from them which we want to see also. 
So I need my Measure to calculate the minimum of AVG_LOADING while also ignoring the null values. 
 
I have tried two combos of this
 
Minimum Loading 2 =
CALCULATE(
FILTER('Orders','Orders'[AVG_LOADING]>1),
Min([AVG_LOADING]),
ALL('CALENDAR'[REPORT_DATE]))
 
Minimum Loading 2=
CALCULATE(
average(min('Orders'[Loading_time])),
ALL('CALENDAR'[REPORT_DATE]))
2 REPLIES 2
Anonymous
Not applicable

So the filters are set up on the page to view week_end_date. So Average Loading will pull 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.