Skip to main content
Announcements
The way to achieve your own success is the willingness to help somebody else. Go for 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