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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
iswarya
Partner - Creator
Partner - Creator

average

How to find average of all the month for each person

1 Solution

Accepted Solutions
Simon_Astakhov
Partner - Contributor III
Partner - Contributor III

Hi. You can reach it by some ways.

First is divide for amount of monthes like (your expression)/count(distinct [Month] & [Year])

Second is using AGGR function like avg(aggr(your expression, [person], [Month], [Year]))

[Year] field is optional in case of many years of data.

View solution in original post

1 Reply
Simon_Astakhov
Partner - Contributor III
Partner - Contributor III

Hi. You can reach it by some ways.

First is divide for amount of monthes like (your expression)/count(distinct [Month] & [Year])

Second is using AGGR function like avg(aggr(your expression, [person], [Month], [Year]))

[Year] field is optional in case of many years of data.