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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Partial Sums error/bug?

Hi guys,

Has anyone come across a possible bug when creating subtotals for a pivot table? I have a table and the partial sums is giving the wrong answer? This only occurs in one of 4 tables. In the table below, the total on the right is fine but the subtotal for each country is incorrect.

typeFRANCEGERMANYSPAINUKHUNGARYPOLANDTotal
A15,571,4083,244,87316,610,15126,766,6871,714,26910,255,72174,163,110
B1,318,6041,134,5474,442,9078,557,5721,508,499841,24717,803,376
C00047,2560047,256
D1,750,9674,223,0775,944,1944,586,0500016,504,288
E(208,902)(3,134,593)(5,035,153)(7,844,530)00(16,223,177)
F000(52,157)00(52,157)
G(1,303,678)(46,407)(9,716)(839,271)(327,287)0(2,526,359)
H(4,861,895)(1,664,617)(987,598)(2,663,852)(666,163)(106,348)(10,950,474)
I(4,538,203)(471,540)(2,214,150)(2,773,284)(53,810)(24,315)(10,075,302)
J012,901000012,901
Total100,597,01032,664,830164,739,054274,378,10421,502,014105,706,966699,587,978


I've tried recreating it but still coming up with odd results. Any ideas why it doesn't sum the columns as expected?

thanks

4 Replies
brenner_martina
Partner - Specialist II
Partner - Specialist II

yes, I had this phenomenon if I had created Syn-Tables!

Not applicable
Author

Okay, there are no synthetic keys in my qvw though, very strange!

pover
Partner - Master
Partner - Master

Something is wrong in the way your data model is linked or joined. Strangely the countries have totals about 10 times more than their real total and their are 10 types.

Regards.

Anonymous
Not applicable
Author

I suspect that this is due to the expression and/or dimension you're using. If you upload a reduced copy of the document that would be helpful in checking.

(My guess would be that the expression contains an if() statement of some sort)