Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
ashishpalkar
Creator III
Creator III

Find max date and min date from selected dates

Hi There

I have requirement to find Max Date and End Date from selected date range by users.

E.g. Please find attached screenshot.

Thanks for your help!!!

15 Replies
ashishpalkar
Creator III
Creator III
Author

Thanks , its working Sunny.

ashishpalkar
Creator III
Creator III
Author

Hi There , 

I have one more requirement

How to find  - 30 days from selected date  and exclude weekends from it.

adambrian
Contributor III
Contributor III

Hi Sunny,

I want to count ID in max date with time range on max date like below, can you help me?

Count({<ActivityDate = {"$(=Date(Max(ActivityDate ), 'YYYY-M-DD'))"},ActivityDate ={'>=09:00:00<=22:29:59'}>}ID)


Count({<ActivityDate = {"$(=Date(Max(ActivityDate ), 'YYYY-M-DD'))"},ActivityDate ={'>=09:00:00'} and ActivityDate = {"$(=Date(Max(ActivityDate ), 'YYYY-M-DD'))"},ActivityDate ={'<=08:59:59'}>}ID)



thanks,

adam

sunny_talwar

What is the issue?

adambrian
Contributor III
Contributor III

Hi Sunny,

     The issue is that syntax did not make an output..