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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot Table Total Problem

I have a pivot table with a few dimensions and one expression. The expression is something like:

if(field = 'R',-Sum(sales),Sum(Sales))

The detail in the pivot table show the negative numbers properly. However the "Total" amount in the pivot table is not taking into account that some amounts are negative and is showing the total as if all number are a positive number.

Any Ideas what is wrong?

Thanks,
Stephen

13 Replies
hector
Specialist
Specialist

Hi, I dont know, but the resident should be from SalesDocItem_temp or not?

c ya

Not applicable
Author

Yes, I changed it and am still getting an error. I'll keep looking at.

hector
Specialist
Specialist

the same error about noconcatenate?

Not applicable
Author

No, different error, but I got the script to work and unfortunately it did not fix the problem.