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

Total instead of average in pivot table

Hi everyone,

I have a small table showing project, codenr and value.  From the data in this table, I have created a pivot table with project and codenr as dimensions and Avg(value) as measure.

I want to show the subtotals by codenr.  Instead of calculating a total, QV calculates an average.  How can I solve this ?

I have also attached the app.

Thanks in advance for your suggestions.

Screen Shot 01-23-17 at 02.18 PM.PNG

1 Reply
sunny_talwar

Try this:

=Sum(Aggr(Avg(Value), Project, CodeNr))

Capture.PNG