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: 
Not applicable

Using Set Analysis

Sum ({1-$<HotQty = {0}>}QtyToPour)

This works on the initial selection but not if the user selects something else. How do I get this to work no more what is selected?

20 Replies
Josh_Good
Employee
Employee

My apologies, I forgot the double quotes. Try this:

Sum({$<HotQTY = {">0"}>} QtyToPour)


-Josh

Qlik

Not applicable
Author

Because Set Analysis uses the <> symbols, I can not use those symbols

anywhere in my statement without getting an error.

James F. Walsh Jr.

MIS

ME Elecmetal

(218) 213-9571

Not applicable
Author

Sorry Josh, that did not work either. I do not get an error but nothing

changes on the report.

James F. Walsh Jr.

MIS

ME Elecmetal

(218) 213-9571

Anonymous
Not applicable
Author

try :

Sum ({$<HotQty => {1}>}QtyToPour)

or Josh's solution:

Sum({$<HotQTY = {">0"}>} QtyToPour)

Not applicable
Author

I already did and I get the error due to using the >.

James F. Walsh Jr.

MIS

ME Elecmetal

(218) 213-9571

Not applicable
Author

Sorry Josh my mistake this time. I copied and pasted and since my variable

HotQty is this and NOT HotQTY, it did not work. Now that I have fixed

this, it does seem to be doing what I was looking for.

Thank You!

James F. Walsh Jr.

MIS

ME Elecmetal

(218) 213-9571

Josh_Good
Employee
Employee

Can you please post some sample data.  That will help me check my work before sending it back.

Thanks,

Josh

Not applicable
Author

Thank you for your assistance. I have received the solution.

Not applicable
Author

Thank you for tapping in but I have received the solution.

Anonymous
Not applicable
Author

So josh's solution worked,that's good