Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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

Labels (1)
11 Replies
tresB
Champion III
Champion III

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