cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
KGooseman Regular Visitor
Regular Visitor

Average Business Day KPI Help

So I am following everything i find in the forum and still can't get the right results. I'm trying to calculate the average number of Busines days between application and in process dates. 

 

I have a calendar table with a column that has 1 for weekdays and 0 for weekends. 

 

I'm using both the of the following forums in two seperate measures. 

 

App-Process = CALCULATE(SUM('Biz Days'[IsBusinessDayInt]),DATESBETWEEN(Days[Date],(MIN(Processing[Application Date])),(MIN(Processing[Log MS DateTime Processing]))))

 

App to Process = CALCULATE(
SUM('Biz Days'[IsBusinessDayInt]),
FILTER(
Days,
Days[Date]>MIN(Processing[Application Date])
&& Days[Date]<= MIN(Processing[Log MS DateTime Processing])))

 

 

I can get the number of business days but if i try to filter them the total is thrown off. Also the KPI they are looking for is Average and i can't figure out how to get that. 

 

Any help would be great!

Capture.PNG

 

 

 

1 REPLY 1
Community Support Team
Community Support Team

Re: Average Business Day KPI Help

Hi KGooseman,

 

As a general solution, you may modify your measure as pattern below:

 

App to Process =
CALCULATE (
    AVERAGE ( 'Biz Days'[IsBusinessDayInt] ),
    FILTER (
        Days,
        Days[Date] > MIN ( Processing[Application Date] )
            && Days[Date] <= MIN ( Processing[Log MS DateTime Processing] )
    ),
    ALLSELECTED ( Days )
)

Regards,

Jimmy Tao

Helpful resources

Announcements
Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 132 members 1,759 guests
Please welcome our newest community members: