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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Xzo
Contributor II
Contributor II

Excluding Chart from filters - {1} Isn't working?

Hi all,

I have a chart with the following set as Dimensions & Measures - I've read through the posts on exclusions and Set Analysis but I cant seem to get it to work.

Dimension = 

 

 

=Aggr(Only({1<Site = {'Site 1','Site 2','Site 3','Site 4','Site 5','OSite 6','Site 7','Site 8','Site 9','Site 10','Site 11'}>} Site), Site)

 

 

 

Measure = 

 

 

Count({< Status = {'3.Due'} >} IF(Date >= Date(Today() , 'MM/DD/YYYY') AND Date <= Date(Today()+7, 'MM/DD/YYYY'), Status))

 

 

 

Is there anyway i can use Set Analysis to exclude this chart from all other filtering on the sheet, if not can anyone suggest another solution/way to do so?

 

Thanks in advance for any assistance

Steve

Labels (3)
1 Solution

Accepted Solutions
GaryGiles
Specialist
Specialist

@Xzo 

You need to add the 1 identifier to your measure:

Count({1< Status = {'3.Due'} >} IF(Date >= Date(Today() , 'MM/DD/YYYY') AND Date <= Date(Today()+7, 'MM/DD/YYYY'), Status))

View solution in original post

3 Replies
GaryGiles
Specialist
Specialist

@Xzo 

You need to add the 1 identifier to your measure:

Count({1< Status = {'3.Due'} >} IF(Date >= Date(Today() , 'MM/DD/YYYY') AND Date <= Date(Today()+7, 'MM/DD/YYYY'), Status))

mrdaveBT
Contributor
Contributor

Try this...

 

Count({1<Status={'3.Due'}>*<Date={">=$(=Date(Today(), 'MM/DD/YYYY'))"}>*<Date{"<=$(=Date(Today()+7, 'MM/DD/YYYY'))"}>} Status)

Xzo
Contributor II
Contributor II
Author

I was nearly there! I was putting the 1 in its own set of braces! 

Count({{1}< Status = {'3.Due'} >} IF(Date >= Date(Today() , 'MM/DD/YYYY') AND Date <= Date(Today()+7, 'MM/DD/YYYY'), Status))

Many thanks Gary, my headache is over!