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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Average of Averages

Hi,

How can I calculate the average of  averages? I have a dimension "Type" with the categories Periodic and Tansactional. I want to calculate the average of the average per month. Avg(Avg (Transactional) & Avg(Periodic).

I have been trying to do it with aggr functions and set analysis but I cannot manage to get it. Attached is the qvw.

Can you please help me please?

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

Check if

RangeAvg(avg({<Type={'Transactional'}>}Score),avg({<Type={'Periodic'}>}Score))

fits your needs

View solution in original post

4 Replies
preminqlik
Specialist II
Specialist II

hi once try this

avg(aggr(<avg expression>,Dimension1,Dimension2))

Clever_Anjos
Employee
Employee

Check if

RangeAvg(avg({<Type={'Transactional'}>}Score),avg({<Type={'Periodic'}>}Score))

fits your needs

swuehl
MVP
MVP

Not sure what you need here.

An average of two averages, maybe like

(avg({<Type={'Periodic'}>}Score) + avg({<Type={'Transactional'}>}Score)) / 2

hic
Former Employee
Former Employee