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: 
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
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