Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Average of the count....

Hi All,

I cant seem to make anything work.  What I am looking for is a monthly average of a complaint count  I have attached the file, but the latest attempt was to create a variable

Avg(Aggr(ComplaintNumber, MonthYear))

Any suggestions, Im really stuck

4 Replies
sunny_talwar

Have not looked at the qvw yet, but may be you are missing a count?

Avg(Aggr(Count(ComplaintNumber), MonthYear))

Not applicable
Author

HI,

thats what I thought too, but even with count - it doesnt work,

in Fact, it shows an error on the comma in the formula between ComplaintNumber and MonthYear.

swuehl
MVP
MVP

Average – Which average?

So maybe

=Count(ComplaintNumber) / Count(DISTINCT MonthYear)

sunny_talwar

Would you be able to share a sample?