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

How to create aggr filter expression

Currently I have the "Organisation" and "Submission Date" columns, I want to create a filter that extracts the entry with the latest submission date from each unique organisation.

bubbleT_1-1705387366891.png

Desired filter results:

Apple 08-Sep-2023

Banana 22-Aug-2022

How can I create a filter for this?

Thanks in advance!

Labels (1)
1 Solution

Accepted Solutions
Ahidhar
Creator III
Creator III

try this

=aggr(max([Submission Date]),Organisation)

Ahidhar_0-1705394781117.png

 

View solution in original post

3 Replies
Chanty4u
MVP
MVP

Try this

=aggr(Max({<Organisation = P(Organisation), [Submission Date] = {"=Max([Submission Date])"}>} [Submission Date]), Organisation)

 

Ahidhar
Creator III
Creator III

try this

=aggr(max([Submission Date]),Organisation)

Ahidhar_0-1705394781117.png

 

Rohan
Specialist
Specialist

Just an addition to this, 

You will have to concat both your columns to get the desired output in a single filter pane. ie :

Organisation &' '&date(aggr(max([Submission Date]),Organisation),'DD-MMM-YYYY')

 

Regards,

Rohan.