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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Problem with sum in listBox

Hello,

In a listBox, I want to calculate the sum of multiple entities based on the following formula:
if (X = 200 OR Y = 381, sum (if (Z = 4, amount, 0)), 0)
listBox does not work with SUM. while the same expression works well in another table in the same sheet.

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

You could achieve similar output with proper use of Aggr(). Try to share a sample qvw with sample data explaining expected output.

View solution in original post

3 Replies
rido1421
Creator III
Creator III

Hi

Can you not do your formula in the script and name it as a field?

tresB
Champion III
Champion III

You could achieve similar output with proper use of Aggr(). Try to share a sample qvw with sample data explaining expected output.

Not applicable
Author

Aggr() seems resolving the problem. your help was very helpful, thank you.