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

Pivot table Sum of average

Hi All,

Give me the suggestion for the below screen shot. Attached the example file.

qv_doubt1.JPG.jpg

regards,

settu

13 Replies
dharmarasu
Creator
Creator

Hi settu,

Pls see the above attached Application..it shows as it is what you required..

Dharma..

dharmarasu
Creator
Creator

otherwise u can use this expression in

average

=Sum(Aggr(Avg(Sales), Country,day))

settu_periasamy
Master III
Master III
Author

Hi Dharmarasu,

Thank you. i checked it.  average is not correct. see the red border in the above screen shot.

Instead of 6131, it should be 1226.

Settu

settu_periasamy
Master III
Master III
Author

Hi Jonathan & Dharmarasu,

i got the result using the below expresson, and attached the final layout.

    if(dimensionality()=0 and RowNo()=0 and ColumnNo()=0,

            Sum(Aggr(Avg(Sales), Country,day1))/Count(DISTINCT day1),

          if(Dimensionality()=0,

      Sum(Aggr(Avg(Sales), Country,day1)),Avg(Sales)))