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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
EvanBarrick
Creator
Creator

IF Expression Based on Most Recent Date

I have a table of data that appears as such:

priceSTRUCTUREID         Price            PriceCODE            Date (mm/dd/yyyy)

1234                                        55                a                                   2/1/2019

1234                                        60                a                                   2/15/2019

1234                                       40                 a                                   2/20/2019

 

I want to build an expression that would generate the result for 'Price' based on the most recent date, which in this case would be 40

13 Replies
EvanBarrick
Creator
Creator
Author

Thanks for the reply, but the expression is not working. I have tried a simple expression of =MAX(PRICE) and that returns the highest price. Not sure where else the problem would lie

sunny_talwar

Unless you can share a sample where I can see the problem, I am afraid I won't be able to offer much help.

EvanBarrick
Creator
Creator
Author

I cannot share my app as I cannot export the application

sunny_talwar

okay