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

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
TeodoraBurlica
Partner - Contributor III
Partner - Contributor III

The average of totals for each month

Hi,

I want an average of the totals per month,  only for the months from the beginning of the year until the current one (Jan-Mar).  This needs to be independent of selections.

I tried this but it only works if I have the 3 months selected:

avg(total aggr(sum({<Year = {'2023'}, DATE_PICKER=>} Value), Month))

Do you have any idea?

Thanks 

Labels (1)
1 Reply
rpennacchi
Contributor III
Contributor III

Can you try to do this:

RangeAvg({<DATE_PICKER>}above(total sum({<Year = {'2023'}>}Value),0,12))

However, because you said this table is independent of any the selection, my suggestion is to create this table on your script so you don't need to make calculations on your visualization and your app will be faster.

Find me on linkedin:
https://www.linkedin.com/in/rodrigo-pennacchi/