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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

max date with 2 feilds

hi,

i have 2 feild with date, i want to calculte , the max date like this:

date = 03/01/2016

date1 = 28/12/2015

max_date=???

i want to show the max value beetwin 2 date feild but from feild "date" i need  date-7

in the exm:

03/01/2016 - 7 =27/12/2015

so the maxdate feild need to show = 28/12/15

how to do it ?

thanks'

yarin.

Labels (1)
1 Reply
sunny_talwar
MVP
MVP

‌In the script, you can try something like this:

Date(RangeMax((date -7), date1)) as maxDate