Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
markp201
Creator III
Creator III

Straight table average sometimes wrong

I've seen some posts on this already but not sure if my situation is the same

We have 70 rows in the column totaling 298,751 which should average to 4,267 (nearest integer)

but qlik comes up with 2,766 and when I changed the calculation to use count its 108 - not 70 as I would expect.

The average qlik is calculating is right but it's actually wrong.

Who's right ?

4 Replies
Lisa_P
Employee
Employee

Can you add in some proof ?

Hard to comment if you can't see it.

markp201
Creator III
Creator III
Author

See the attached for an example (exported from actual chart)

markp201
Creator III
Creator III
Author

Found a posting from HIC Totals in Charts‌ which explains how Qlik operates.

If this works, I'll post the solution.

balabhaskarqlik

May be like:

Sum(Sales) / Count(Distinct Sales)... And change the options.

Or.

Sum(Aggr(Sum(Sales),Product)) / Count(Distinct Sales).