Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

QlikWorld online is next week! REGISTER NOW
Showing results for 
Search instead for 
Did you mean: 

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

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

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


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)

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