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

How to get the earliest record of the same transaction

Hello all,

Need your expertise and advise. I have a table that shows the below transactions. We wanted to calculate the number of recordID and their queue time. But for a duplicate record (possibly transferred transaction), we wanted to get the earliest record only. 

RecordIDDateTimeAgentQueue
AA14/02/2020 17:00Agent100:00:05
AA14/02/2020 18:00Agent200:01:25
AB14/02/2020 17:00Agent300:00:10

 

I tried count distinct RecordID, but with the other Dimensions not the same, it still counted as 2 record.

Appreciate your help on this. 

1 Reply
tresesco
MVP
MVP

Are you trying to get the output in a chart? If so, you could probably use TOTAL identifier to ignore dimension in count().