Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
shree909
Partner - Specialist II
Partner - Specialist II

Calculation of next business day.

Hi,

for example i have a  date

I would like to calculate the next business day excluding  weekends and holidays.

I used the function

=date(FirstWorkDate(Date(DATE +1),1,$(vPublicHolidays)),'MM/DD/YYYY')

this works fine the issue is when i select the date which is falling on friday  for that  the next businesss day is showing as the same date or the date i selected..

2 Replies
rustyfishbones
Master II
Master II

Have you tried Networkdays

Something like this

NETWORKDAYS(TODAY()+1)

swuehl
MVP
MVP

I think you need to use LastWorkDate() instead:

=date(LastWorkDate((DATE +1),1,$(vPublicHolidays)),'MM/DD/YYYY')