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

Announcements
Now accepting applications for the Qlik Luminary and Partner Ambassador Programs: Apply by July 6!
cancel
Showing results for 
Search instead for 
Did you mean: 
martin_hamilton
Creator
Creator

Average based on calculated aggr value

Hi

I am looking to calculate an average page view per session for a web application.

I have managed to use an aggr expression in a table to calculate the unique page views per Session but now want to calculate the average unique page across all sessions loaded into qv.

Attached is a sample qv file with data loaded inline and where I have got to so far.

What i wanted to do was use count the distinct session IDs and divide by the total amount of unique pages to gain an average.

Any help appreciated.

Thanks

Martin

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Do you expect 7.4? May be this

=Avg(Aggr(Count(Distinct PAGE),SESSION_ID))

View solution in original post

2 Replies
sunny_talwar
MVP
MVP

Do you expect 7.4? May be this

=Avg(Aggr(Count(Distinct PAGE),SESSION_ID))

martin_hamilton
Creator
Creator
Author

Thanks Sunny that worked a treat.