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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
idogridish2
Creator III
Creator III

aggr selection issue

Hi,

when using calculated dimension with aggr it select the user,

here is my dimension:

=Aggr(FirstSortedValue(vp, -Date), user)

can i make it select the vp?

the result in the table is correct.

please find attached qvf

thanks.

ido.

Capture.PNG

1 Reply
lironbaram
Partner - Master III
Partner - Master III

hi 

use this expression :count(aggr( if(Date = max(total<user> Date), user),user,vp))

with vp as your dimension