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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
chibi
Creator
Creator

Set analysis

Can someone tell me where I am going wrong on this? 

 

=Avg(Aggr(Sum({<Year = {'2021'}>},tkt_amt))-Sum({<Year = {'2021'}>}, cancellation_amt),Date))

1 Reply
MayilVahanan

Hi

Comma is there near set analysis, please remove it. Try like below

=Avg(Aggr(Sum({<Year = {'2021'}>}tkt_amt)-Sum({<Year = {'2021'}>}cancellation_amt),Date))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.