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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
aliyoung92
Contributor III
Contributor III

Max Year within AGGR Expression

Below is not working and is showing the 'Expression OK' message, however there is a error underscore between the end of the set analysis } and ,

=Sum(Aggr(Avg({<YEARCALC=$(=Max(YEARCALC))>},[Number attended]),EventID,PREVINSTNAME))

I'm presuming there is an error with the syntax but not sure how to fix.

Thanks in advance

1 Solution

Accepted Solutions
Anil_Babu_Samineni

May be this?

=Sum(Aggr(Avg({<YEARCALC={"$(=Max(YEARCALC)"}>} [Number attended]),EventID,PREVINSTNAME))


Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

2 Replies
Anil_Babu_Samineni

May be this?

=Sum(Aggr(Avg({<YEARCALC={"$(=Max(YEARCALC)"}>} [Number attended]),EventID,PREVINSTNAME))


Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
aliyoung92
Contributor III
Contributor III
Author

Thank you