Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem with Partial Sum

i m designing a complex pivote table that has conditions on several row for example filed Account group=Banks if negative it will display zero if positive it will show the number.

the issue is that when i choose partial sum it calculate the banks even if it is negative and has a zero value.

any solution

2 Replies
lironbaram
Partner - Master III
Partner - Master III

hei

you need to use Aggr function

if you can be more spesific about the expression

i can be more accurate with the answer

Not applicable
Author

i have in the expression :

if (sum(amount)<0 and dimention=Banks,0,Sum(Amount))

it is more complex then this but this is the main picture

NB: in sum i used the aggr function but still the totals are wrongs