Qlik Community

Ask a Question

New to Qlik Sense

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

Announcements
QlikWorld May 10-12, Online and Free! REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Seven7
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 !

2 Replies
Dalton_Ruer
Employee
Employee

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

 

Seven7
Contributor II
Contributor II
Author

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))