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: 
alis2063
Creator III
Creator III

top 10 average is not calculated correctly

Hi All,

I have produced the Advanced purchased report & wanted to calculate the Average Fare

Avg Fare= '0-4 Day Total $$/0-4 Day Sectors'


Its working for City pairs but total Calculation is getting wrong


I.e 647,425/995=650.1 -Is correct

     7473422/11087 979 is wrong


!Avg Fare.png

4 Replies
Kushal_Chawda

try this

=sum(aggr( 0-4 Day Total $$/0-4 Day Sectors, CityPair))

alis2063
Creator III
Creator III
Author

Its not working as its Top 10 city pairs

Anil_Babu_Samineni

Would you mine, Can you share sample to test

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
alis2063
Creator III
Creator III
Author

Pease look into snapshot