Forum Discussion

rpinxt's avatar
rpinxt
Solution Sage
2 years ago
Solved

Networkdays not working?

Please have a look at this sample data : Country DCAF submitted DCAF completed Days to Approve Test   Excel Calc Remark Saudi Arabia 14-08-24 15-08-24 1 2   1 No weekend Ukrai...
  • rpinxt's avatar
    2 years ago

    Well thinking a bit more about this I think that it is in the way both dax formulas work:

    If you take the last line and look at DateDiff then you can say 27 -/- 23 is 4 so that is correct.

    But if you would count the days it would be 23, 24, 25, 26, 27 so then it would be 5.

     

    But Networkdays does not look at the difference but really counts that days.

    23, 26 and 27 = 3 days.

     

    Therefore I think the formulas work fine.

    Just up to me (us) to see what we would need.

    The difference in the days or really count the days literally.

     

    And I can always do -1 with networkdays if we need to count the days between dates without weekends.

    Instead of litteraly counting all the days without weekends.