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: 
Not applicable

Calculate average between two fields

Guys,

I have to calculate an average of Ticket Price.

Formula will be - Sum ( Total Base Fare Amount ) / Sum ( Ticket Count)

My question is how can i achieve this QlickView ?

Please Help !

Thanks,

1 Reply
its_anandrjs
Champion III
Champion III

For this write expression like


=Sum (Total  [Your Base Fare Amount Field Here] ) / Count (Distinct [Ticket Field Name])


Or


=Sum (Total  [Your Base Fare Amount Field Here] ) / Count ([Ticket Field Name])

if you have sample then provide.