Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

firstsortedvalue and P()

How can I combine these:


avg(aggr(firstsortedvalue(value,-date),Client))


Client = P({1<order={2}>} Client)


Hope someone can help!


liivi




1 Solution

Accepted Solutions
MarcoWedel

Hi,

maybe one solution could be:

=avg(aggr(firstsortedvalue({$<Client = P({1<order={2}>} Client)>} value,-date),Client))


hope this helps

regards


Marco

View solution in original post

2 Replies
Anonymous
Not applicable
Author

Did you try this?

avg({<Client = P({1<order={2}>}>} aggr(firstsortedvalue(value,-date),Client))

MarcoWedel

Hi,

maybe one solution could be:

=avg(aggr(firstsortedvalue({$<Client = P({1<order={2}>} Client)>} value,-date),Client))


hope this helps

regards


Marco