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: 
anitamanders
Contributor II
Contributor II

wrong subtotals in pivot table

Hello,

I get wrong subtotals in pivot table in row " totaalbedrag inc. korting"

Can someone help me out?

Enclosed file.

Thanks

Anita

Labels (1)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Anita,

It seems like your expression is a little bit wrong.

Currently you have this:

sum(Factuurregel_regelbedr) -

(sum(Factuurregel_regelbedr)/100)*(sum([Factuurregel_perc-krt]))

However, if you change to this I think your totals should match:

sum(Factuurregel_regelbedr) -

(sum(Factuurregel_regelbedr*[Factuurregel_perc-krt])/100)

View solution in original post

1 Reply
Anonymous
Not applicable

Anita,

It seems like your expression is a little bit wrong.

Currently you have this:

sum(Factuurregel_regelbedr) -

(sum(Factuurregel_regelbedr)/100)*(sum([Factuurregel_perc-krt]))

However, if you change to this I think your totals should match:

sum(Factuurregel_regelbedr) -

(sum(Factuurregel_regelbedr*[Factuurregel_perc-krt])/100)