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

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.