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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

last 5 working days

got a table with a field named creation_date

I want to select the values of creation_date that are the last 5 working days available via a macro

Please advise

I can walk on water when it freezes
Labels (1)
1 Reply
datanibbler
Champion
Champion

Hi Ali,

well, you can easily define a working day in your calendar (based on Weekday([date]))

=> Using the PEEK() or PREVIOUS() functions you can (in the script) look into the last 5 records and check whether those are the last 5 working days - if so, there is data for the last 5 working_days.

HTH

Best regards,

DataNibbler