Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Unique No Load

Afternoon All,

I have the attached dummy data as my source data. What would the script look like to load only the latest transaction date with the corresponding client ID.

Thank you

H

10 Replies
Not applicable
Author

Hi Ashfaq,

Almost there, I used "max(date([Received Date],'DD.MM.YYYY')) as [NReceived Date]" and this produces a date when I run the script. This NReceived Date column is actually a time stamp which will have date and time.

I am getting duplicate records in other words for some clients I am getting back more than one transaction. If I export to excel and click on the date, I can actually see the time stamp in the cell, although the cell will be formatted to date only.

I really wanted to end up with just one transaction per client being the latest transaction date hence the "max". How do I get rid of these duplicates?

Thanks