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

Only include first record

Hi,

I'm doing a count statement where I only want to include the matching record in the count if it is the first record by date

i.e. In the records below if I was counting the amount of ID's that had a letter of B. I would only include the one from the 2nd ID (456) as B is the first chronologically.

IDDATELETTER
12301/08/2018A
12302/08/2018B
12303/08/2018

C

IDDATELETTER
45601/08/2018B
45602/08/2018A
45603/08/2018C

Any help would be much appreciated.

1 Reply
bramkn
Partner - Specialist
Partner - Specialist

the function firstsortedvalue()