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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
kumarkp412
Creator II
Creator II

create a average in pivot table

Hi friends ,

Is it possible to create to averages in the pivot table?

In the pivot table properties , it is having total and partial sum of the dimension.i didn't fine any other option to get the average.

Is that we have to create a expression to get the average of the columns?

can any one give me one example ?

Thanks in advance

Kumar

Labels (1)
4 Replies
giakoum
Partner - Master II
Partner - Master II

Capture.PNG

kumarkp412
Creator II
Creator II
Author

Hi ioannis,

thanks for reply,

but in the pivot table this option is not available,

Thanks
Kumar

giakoum
Partner - Master II
Partner - Master II

try changing it to straight, enable the option and then back to pivot

jonathandienst
Partner - Champion III
Partner - Champion III

In a pivot table, you will need an Aggr expression of the form:

    =Avg(Aggr(<your current expression>, <your table dimensions>))

  • Where <your current expression> is the expression that you want the average of.
  • <your table dimensions>is a comma separated list of the fields in all the table dimensions

For example

     =Avg(Aggr(Sum(Expenses)/Sum(Sales), Year, Month, Day, Division))

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein