Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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!

1 Solution

Accepted Solutions
sunny_talwar

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

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

Awesome

I am glad you found the typo quick enough

Best,

Sunny