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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Manish
Creator
Creator

How to find the first weekday date of a month

Hi 

I have a requirement where I would like to find the first weekday date of a month. in a variable,

for example , If 1st Jan is Sat and 2nd Jan is Sun then in a variable I should get 3rd Jan as an output.

Please let me know how this can be done.

 

 

Labels (2)
1 Reply
Clement15
Partner - Specialist
Partner - Specialist

Hello,

I think something like this might work :

if(month(WeekStart(MonthStart([Date])))=month([Date]),WeekStart(MonthStart([Date])),WeekStart(MonthStart([Date])+7))