Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Column Total for each row

I have the following data

 

PIDCustomerIDCountryQtyAmount
1ALFKIIndia101000
2ANATRIndia202000
3BERGSIndia303000
4ALFKIUSA1515000
5ANATRUSA2525000
6BERGSUSA3535000
7ANATRUK20200000
8BERGSUK40400000
9ALFKIUK60600000
10AROUTJapan100100000

I have created the pivot table in qlikview.

I want the "Sum of Count PID" and "Sum of Amount" to be displayed. (for below I have created it manually)

Please suggest.

   

CustomerIDALFKIALFKIANATRANATRAROUTAROUTBERGSBERGSSum of Count PIDSum of Amount
CountryCount PIDAmountCount PIDAmountCount PIDAmountCount PIDAmountSum of Count PIDSum of Amount
India1100012000--1300036000
Japan----1100000--1100000
UK16000001200000--140000031200000
USA115000125000--135000375000
6 Replies
sunny_talwar

Did you try to enable 'show partial sums' on the presentation tab of chart properties?

devarasu07
Master II
Master II

Hi,

Try to create pivot chart object

Dimension:

Country

CustomerID

Measure:

Count

Count(DISTINCT PID)

Amount:

sum(Amount)

go to chart property--> presentation tab--> enable "Always fully expanded"

and "Show Partial Sums" check box then you will get the desired output.

Capture.JPG

Thanks

Deva

sunny_talwar

devarasu07‌, Why is 'Always fully expanded' needed here? Did I miss the part of the question above?

devarasu07
Master II
Master II

Hi Sunny,

It's not required actually, because of two dimension expanded it (this case not required, one dimension sitting in row and other one sitting in column.)

Thanks,
Deva

sunny_talwar

Oh okay, I saw that part in your response and I wondered that did I miss something in the question. Thanks for getting back with the explanation

Anonymous
Not applicable
Author

Thanks for your reply.

Is there any way to show a common header "CustomerID" above customer id values (ALKFI,ANTAR,AROUT,BERGS).

Currently it is displayed on left Side.

Please Suggest