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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Previous week Networking Day

I am trying to create a variable which shows the number of working days in a previous week

This shows a working days in a current week.

Let Netwrkngdaysinaweek=NetWorkDays(Floor(WeekStart(Today())),Today());

shall i get something similar to this for the previous week?

1 Solution

Accepted Solutions
YoussefBelloum
Champion
Champion

or this for only the last week:

=NetWorkDays(WeekStart(Today(),-1),WeekEnd(Today(),-1))

View solution in original post

2 Replies
YoussefBelloum
Champion
Champion

Hi,

try this:

Let Netwrkngdaysinaweek=NetWorkDays(Floor(WeekStart(Today(),-1)),Today());

YoussefBelloum
Champion
Champion

or this for only the last week:

=NetWorkDays(WeekStart(Today(),-1),WeekEnd(Today(),-1))