Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

FirstWorkDate

Hi all,

I need an advice, can we use FirstWorkDate() for Monday to Saturday work schedule?

If yes, then how?

Thanks in advance.

Yashada

1 Solution

Accepted Solutions
Gysbert_Wassenaar

No, the firstworkdate function treats saturdays as nonworking days. If you want a monday to saturday schedule simply check for sundays and remove those from the total number of days.


talk is cheap, supply exceeds demand

View solution in original post

5 Replies
senpradip007
Specialist III
Specialist III

Its Monday to Friday.

Anonymous
Not applicable
Author

Yes, but is there any way we can use that function for monday to saturday?

Gysbert_Wassenaar

No, the firstworkdate function treats saturdays as nonworking days. If you want a monday to saturday schedule simply check for sundays and remove those from the total number of days.


talk is cheap, supply exceeds demand
Not applicable
Author

I am tearing my hair out over this.

My developers enter their plan for the next working day before going each day. (i.e. on Friday, July 4, they enter the data for Monday, July 7). The manager wants to see the report for the next working day each night around 7 pm.

I entered in the Search area of the PlanDay listbox the following:

=FirstWorkDate(today(1)+1,1). (I've tried with today(0) as well; same result)

I also have a text box on the page showing ='Today is '&today(1)

The text box shows "July 4, 2014", but when I enter the FirstWorkDate formula in the PlanDay listbox, it selects

July 4, not July 7.

How do I use this function to get the next working day?

thanks,

Gysbert_Wassenaar

Use the LastWorkDate function instead: LastWorkDate(today(1)+1,1)


talk is cheap, supply exceeds demand