Find total working days in a month


I am trying to get the total number of working days in a particular month. I am trying to use DateDiffWorkDays but I have to enter dates manually for that. I wish to have it for every month in the year and next year, so adding dates manually to that function is not optimal. Is there any other way to do that? Any help will be appreciated.

Thank you.


Your approach using function DateDiffDays() to count working days is correct.
To make this function more flexible and count working days for any Time member (year, quarter, month, week) selected in the report you may use functions StartDate and NextStartDate like this:


This calculation takes into account holidays listed in eazyBI import options as well.

Zane /


Thank you very much. I was able to do it in a similar way.

is there any way to sum all this ?