Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
zied_ahmed1
Specialist
Specialist

Show only the last record in table

Hello ,

I need to show only the last record in the table (the record who have the max finish date : 

In our example I need to display only Construction -> 25/07/2019

 

completed.PNG

Thanks for help 

5 Replies
Anil_Babu_Samineni

If([Finish Date]=Max(TOTAL [Finish Date]), [Finish Date])

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
zied_ahmed1
Specialist
Specialist
Author

Thank you for your answer but it doesn't work 

finish_date.PNG

StarinieriG
Partner - Specialist
Partner - Specialist

Hi,

 

maybe the formula doesn't work beacause of the field, that is not in a date format.

Try with:

If([Finish Date]=Max(TOTAL Date#([Finish Date],'DD/MM/YYYY')), [Finish Date])

zied_ahmed1
Specialist
Specialist
Author

Same problem..

My requirement is to display only the last task completed (On this project for example the last completed task is Construction 25/07/2019)

 

Thanks 

Anil_Babu_Samineni

Try below expressions in text box and see?

Max(TOTAL [Finish Date])

Or

Date(Max(TOTAL [Finish Date]))

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