Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Nested aggregation

Hello qlikers 🙂 ,

for Example I have this:

Time               ID
12.12.2012   1
12.12.2012   2
15.12.2012   3
16.12.2018   4

I want to find the date who has the max IDs, I tried it with:

 

 

Calculat:
Load
Time
Max(Count(Time))
Resident Issue;

 

 

 But unfortunately Qlik said to me "nested aggregation" are not allowed.

The solution should be 12.12.2012, 3 .

Thank you in advance! 🙂 Looking forward to reading some answers!

1 Solution

Accepted Solutions
Taoufiq_Zarra

I think you need just in UI not in LOad

In UI maye be  :

=FirstSortedValue(Time,-aggr(count(ID),Time))

Capture.JPG

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉

View solution in original post

1 Reply
Taoufiq_Zarra

I think you need just in UI not in LOad

In UI maye be  :

=FirstSortedValue(Time,-aggr(count(ID),Time))

Capture.JPG

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉