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

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
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
Partner Ambassador
Partner Ambassador

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

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button! | Follow me on Linkedin