Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

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?

tresesco
MVP
MVP

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.