Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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.