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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
eprehu
Contributor III
Contributor III

Avg variables

eprehu_0-1655282501454.png

 

Hello it is possible to make an avg of a variables? 

thnaks

Labels (1)
3 Replies
MayilVahanan

Hi

Hope , those variables are already using some aggregation function like Sum / max. so, its throws error like above.

MayilVahanan_0-1655283961348.png

In order to fix it, pls use Aggr() function like below

Avg(Aggr(urvariables, urdimensions))

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
eprehu
Contributor III
Contributor III
Author

hi, 

eprehu_0-1655289011150.png

I don't need to use a dimensions

marcus_sommer

You may try it in this way: rangeavg(var1, var2, var3, ...)

- Marcus