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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
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?