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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to show only max date values?


Hi,

I have data as below in excel.

                                      

NOFromToNamedate
432434SalesFuncornerXX06/05/2015
  12:56
432434SalesFuncornerXX12/06/2015
  15:04
432434NO Road TaxXX12/06/2015
  14:30
432434WorkshopRoad TaxXX13/04/2015
  16:15

I need table to show max date when To ='Road Tax'  (in this case the table should show 12/06/2015 14:30) and max date when To ='Funcorner'  (in this case the table should show 12/06/2015 15:04)

Please can anyone suggest me how to do this.

Thanks.

10 Replies
MarcoWedel

Hi,

one solution could be:

QlikCommunity_Thread_168324_Pic1.JPG

expression:

=Timestamp(Max(date),'DD/MM/YYYY hh:mm')


If you also want to show the corresponding From-value, you could use the expression

=FirstSortedValue(From, -date)


hope this helps


regards


Marco