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 () with a condition

Hi QV Expert

I have a list of dates, and each date has a status of either completed or failed. I would like to create a variable for the max date when the status is completed. What would be the expression?  I was trying set analysis, vMaxDate = Max({<Status = {'Completed'}>}Date), but it didn't work...

Thanks!

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

I don't see anything wrong with the syntax.. what result do you see when you use this variable in a text box?

View solution in original post

3 Replies
sunny_talwar
MVP
MVP

I don't see anything wrong with the syntax.. what result do you see when you use this variable in a text box?

Anonymous
Not applicable
Author

Ha. I had a typo. It's working now. Thanks

sunny_talwar
MVP
MVP

Awesome

I am glad you found the typo quick enough

Best,

Sunny