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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
curiousfellow
Specialist
Specialist

exclude values within a range in set analysis

I want to sum values within a range of accountnumbers, and exclude some accountnumbers

this expression goves results

=Sum({$<A3XMCD={">$(=400000)<$(=799999)"}>}Amount)

but when i want to exclude an accountnumber with this expression :

=Sum({$<A3XMCD={">$(=400000)<$(=799999)"},A3XMCD-={404010}>}Amount)

I don't get any results

Both expressions were made with the set analysis wizzard

And still strugling with set analysis syntax

5 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try =Sum({$<A3XMCD={">400000<799999"}-{404010}>}Amount)


talk is cheap, supply exceeds demand
swuehl
MVP
MVP

Try

=Sum({$<A3XMCD={">$(=400000)<$(=799999)"} - {404010}>} Amount)


No two field modifiers for the same field, please

curiousfellow
Specialist
Specialist
Author

Thank you both. did not know this. Still learning

swuehl
MVP
MVP

You are welcome.

If your issue is resolved, please consider closing this thread by marking helpful and correct answers.

Qlik Community Tip: Marking Replies as Correct or Helpful