Currently, I have calculated the working days between two date by using the following formula.
TAT = CALCULATE(SUM('Days Table'[Is Work Day]),
DATESBETWEEN('Days Table'[Date],'Re-run Data'[DATE_ORDERED],'Re-run
Data'[DATE_COMPLETED]))
The problem is that if a client level has multiple orders that span all the working days in the Days Table, their sum includes all of the days instead of the sum of days between orders. This also skews the averages.
Does anyone have simpler solution to get number of working days between two dates?