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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
shayraber
Creator
Creator

Pivot Table, average expression and Sum

Hi all,

I have a two dimensional pivot table, one positioned vertically and the second one (months) positioned horizontally.

the expression is a simple "Avg({<...>}....)". the option of partial sum returns an average of the values (as the expression itself). is there a way of implementing a partial sum which return a SUM of the average values?

for example, the partial sums will return 10 (as the average of a series of 10s) instead of 100 which is the sum of ten items with the value of 10

itemPeriod
a10
b10
c10
d10
e10
f10
g10
h10
i10
j10
Total10
2 Replies
lironbaram
Partner - Master III
Partner - Master III

hi

you can do it using aggr function

something like , sum(aggr(avg(),Item,Month))

jafari_ervin
Creator III
Creator III

This attachment maybe useful.