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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
bhavvibudagam
Creator II
Creator II

Max Date and Min Date from Date Format

Hi Everyone,

I have a date field in Number format like original date below.I have converted that number format date to DD-MM-YY Format date like below with below script.

Date(Remedy_Date,'DD-MM-YY') AS Remedy_Date,

In the text box I have taken the max date like  '$(=Max([Remedy_Date]))' then I got the correct date as 09-09-17.

But while taking Min date like '$(=(Max([Remedy_Date])-1))' getting number format and wrong number also.

Please help me on Min date.

Thanks in advance

11 Replies
Anonymous
Not applicable

To get maxdate

'$(=Max([Remedy_Date]))'

To get mindate

'$(=(Min([Remedy_Date])))'

To get Second highest date

'$(=(Max([Remedy_Date], 2)))'

Regards

Tahemas Momin

vinayakg
Contributor III
Contributor III

Try This,

To get Second Highest Date

=Date(Max(Remedy_Date,2),'MM/DD/YYYY')