Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
lalitkgehlot89
Creator II
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)