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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to Select multiple Max(Date) for different products?

Hi ALL,

I have Different products  as below

Product   Date

----------   --------------------

A          12/28/2016

B          12/27/2016

C          12/28/2016

taking straight table implemented expression with set analysis , now my concern is if i select product A in list box it is showing (max(Date)), when i am selecting A and B same time it return '12/28/2016' only i want to display product A and B Dates individually

Regards,

Nagesh

12 Replies
Anonymous
Not applicable
Author

Hi Nagesh,

Try below expression:

Aggr(Max(Date), Product)

Anil_Babu_Samineni

In your Data only two products are there?

Just use simple this =only([Latest Flag]) and then Select from List box.

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

Hi,


Use below expression to find out max date by Product wise.


=Date(Aggr(Max(Date),Product),'MM/DD/YYYY')



Warm regards,

Venkata Sreekanth