Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Don't miss the upcoming Q&A with Qlik session on Qlik Application Automation on November 16th! REGISTER NOW
Showing results for 
Search instead for 
Did you mean: 
Contributor II
Contributor II

Group by having max(SomeField)

Hi everyone,

i have   aggr(concat(SomeField&'||')&SomeOtherField,columnX)

witch gives me many concatenated valus for the Somefield with one value of the SomeOtherField, and it works perfectly !

Now i want to get ONLY the row witch have the max(SomeOtherField) but i don't know how !

Labels (1)
2 Replies

You can use Set Analysis in conjunction with AGGR. Here is a great post https://community.qlik.com/t5/Qlik-Design-Blog/Set-Analysis-in-the-Aggr-function/ba-p/1463822


Contributor II
Contributor II

In fact i'm workin in a table based on a count(<SomeConditions> disinct ColumnONE)

The ColumnOne has a one to many relation with ColumnTWO

and the ColumnTWO has an other one to many relation with ColumnTHREE


Finally i want to add a column in the table witch shows :

concatenation of all ColumnTHREE(String) group by the MAX(ColumnTWO(Date))