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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

avg

hi,

i want to make avg for sum feild.

i wrote:

afg(kgperhour).

but the result is not correct .

what i did wrong ?

thanks'

yarin.

4 Replies
sujeetsingh
Master III
Master III

you have written afg it should be avg()

Sokkorn
Master
Master

Hi Yarin,

Using afg(kgperhour) is not the right one. In QlikView we can use:

1. Expression: Avg(kgperhour)

2. Expression: Sum(kgperhour) then select Average in total mode

Untitled.png

Regards,

Sokkorn

Not applicable
Author

HI.

Instead of write afg(kgperhour),pls write Avg(kgperhour).

er_mohit
Master II
Master II

you have to write in expression side of any chart object

and aggr to that dimension on what you want the right answer

aggr(avg(Fieldname),dimensionfieldname)