Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
sat_tok52
Creator
Creator

Avg Calculation in qlikview

Hi Guru's,

I am calculating sum(Days) in my barchart it is showing the no of days 9 it is correct ,I want to calculate AVG of the days,I used Avg(Days) expression in my chart it still showing 9 but as per my requirement it should show 4.5.  Any help.

-Sateesh

11 Replies
tresesco
MVP
MVP

That is up to how the user is expecting the output to behave. Since, Name is there in the dimension, usually user would expect only the Name field's selection to be disregarded. I.e. - avg result should be sensitive to other selections. Otherwise, if all selections are expected to be disregarded(which is normally not expected), yours is the way to go with.

tamilarasu
Champion
Champion

Thanks