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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Ignore selections Set Analysis

Hello, I need to ignore selections in all fields except those included in the expression below. How can I do that?

 

Sum ({$<År = {$(=max(År))}, Kvartal = {$(=maxstring(Kvartal))}, Mottagare = {$(=maxstring(Mottagare))}, Version = {'$(vVersion1)'} >} Vattenfall_Value)

-

Sum ({$<År = {$(=max(År))}, Kvartal = {$(=maxstring(Kvartal))}, Mottagare = {$(=maxstring(Mottagare))}, Version = {'$(vVersion2)'} >} Vattenfall_Value)

1 Solution

Accepted Solutions
hic
Former Employee
Former Employee

If you want to ignore all selections, you should use "1" instead of "$". E.g. ... {1<År= ...

HIC

View solution in original post

3 Replies
Not applicable
Author

Hi,

Use 1 instead of the first $

sum({ 1 < ......

1 signifies ALL, $ signifies the current selections

Fabrice

hic
Former Employee
Former Employee

If you want to ignore all selections, you should use "1" instead of "$". E.g. ... {1<År= ...

HIC

pgrenier
Partner - Creator III
Partner - Creator III

Hello Johan,

In order to ignore all selections except a distinct few, you may use the following approach:

Sum({1<Year=$::Year>} Sales)


So, for your specific expression, it would look something like:

Sum({$<Âr=$::Âr, Kvartal=$::Kvartal, Mottagare=$::Mottagare, Version= {'$(vVersion1)'} >} Vattenfall_Value)


Cheers,


Philippe