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.
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!
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
101 | |
86 | |
64 |