Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
robinwiman
Creator
Creator

How can I use < > = signs in my set-expression?

I need help with creating this into a set-expression:

Sum (if (Fsgantal < 0, Fsgexkl_EUR)) + Sum (if ([Transaction type] = 'Credit' and Fsgantal <> 0, Fsgexkl_EUR))

I'm thinking:

Sum ({< Fsgantal = {"<0"} >} Fsgexkl_EUR) + Sum ( {<[Transaction type] = {'Credit'},  Fsgantal = {"<>0"}>} Fsgexkl_EUR))

I believe that I don't know how to deal with <>= signs properly. Any advice is appreciated. Thanks

3 Replies
tresesco
MVP
MVP

not equal to '<>' is exclusion in set analysis that could be used like:

Fsgantal -= {'0'}                  // minus '-' sign before '='

sunny_talwar

In addition, you might be able to combine the two set into a single expression

Sum({<Fsgantal = {"<0"}>+<[Transaction type] = {'Credit'}, Fsgantal -= {"0"}>} Fsgexkl_EUR)

pablolabbe
Luminary Alumni
Luminary Alumni

When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads as HELPFUL if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads as HELPFUL if you feel additional info is useful to others