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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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

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)