Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum of Avg in Pivot Table

Hi,

I am new to Qlikview and have below query.

I have this table data         

ServiceInstanceUser
AA110
AA120
AA230
BB215
BB210
BB312
CC140

I want to create a pivot table which show expression as [Sum(Avg of Users per instance) per service].

Can someone help ?

3 Replies
swuehl
MVP
MVP

Maybe like this:

Create a pivot table with dimension service and as expression:

=sum( aggr( avg(User), Instance))

matzenbacher
Creator II
Creator II

someone already answered =b

solve your question?

angelaecheverri
Creator
Creator

If they use Service and Instance as Dimensions....

dont will be better use an expression like

sum(user)/count(user)

or Avg(user)

?


when is better use agg than a simple avg?

when do you use AGG function?