Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
lalitkgehlot89
Partner - Creator II
Partner - Creator II

how to calculate the number of weekdays between 2 date fields?

Hi,

I have a very simple question, how to calculate the number of weekdays between 2 date fields?


like in Jan 1/1/2016-31/1/2016

Mon-- 4

Tue-- 4

Wed-- 4

Thr-- 4

Fri-- 5

Sat-- 5

Sun-- 5


2 Replies
swuehl
MVP
MVP

Create a master calendar.

The Master Calendar

Then select a data range, e.g. a Month field value from the calendar.

Create a straight table chart with dimension WeekDay and as expression

=Count(WeekDay)

tobiasloe_dv
Partner - Contributor
Partner - Contributor

You could use the function NetWorkDays(start_date, end_date)