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

Max Date/Script


Hi All,

Attached is an excel with the fields,

Date    Field1   Field2

I want to get the maximum date for EACH MONTH where Field1 is not zero.

If you see the excel, i want

8/17/2013

and

9/13/2013

.I have more than 30 months in my data.Is it possible to get these max dates in a particular field in the script?Or any other solution will help.

Thanks and Regards,

Pavan

Labels (1)
2 Replies
MayilVahanan
MVP
MVP

Hi

Try like this

If(Field1 <> Previous(Field1) and Field1 = 0, Previous(Date)) as Date

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
tresB
Champion III
Champion III

PFA