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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression Aggregation

Dear All

By default, the expression shows wrong result in Subheader Total.

But when I select Proposal Link Key than it shows Correct Amount in Subtotal Header.

The problem is with Loss on Settlement Amount. I am not able to aggregate it in Expression.

Kindly provide solution.....???

1 Solution

Accepted Solutions
sunny_talwar

Try this expression:

=Sum(Aggr(SUM([OD + POS FOR >180])+(IF(SUM(AGGR(NODISTINCT SUM([Total no. of Cases]),[Proposal Link Key]))>0,SUM([Loss On Settlement]),0)), Year, [Proposal Link Key]))

View solution in original post

2 Replies
sunny_talwar

Try this expression:

=Sum(Aggr(SUM([OD + POS FOR >180])+(IF(SUM(AGGR(NODISTINCT SUM([Total no. of Cases]),[Proposal Link Key]))>0,SUM([Loss On Settlement]),0)), Year, [Proposal Link Key]))

Not applicable
Author

Thank You Sir.

It is working Perfectly.