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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
upaliwije
Creator II
Creator II

Total Amount Incorrect

I have in qv Document the following pivot table.

Screenshot_1.png

In the Difference the total shown is incorrect. It may be probably due to incorrect expression. pls look into this in my attached QV document and advise me to correct it

13 Replies
Kushal_Chawda

what is expected output?

upaliwije
Creator II
Creator II
Author

Thank you very much Sir, You have always helped me with valuable guidance. Still I am unable understand how the Aggr function works. Kindly elaborate it to me or provide me with information  of blogs/books on the subject

Thanks

sunny_talwar

Without the Sum(Aggr(....)) the total rows is also evaluated for the If condition, but by using Sum(Aggr(....)), you can telling your chart to show the sum of rows as the total instead of using the if condition for the total row.

Does that make sense?

upaliwije
Creator II
Creator II
Author

Yes Thanks a lot