<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Expression to ignore a selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-to-ignore-a-selection/m-p/220449#M504965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to come up with an expression that would count the instance when certain dates apply. however, I want to ignore any selection made in the Status field but still want to include any selections made on other fields. I was able to create an expression that would ignore all selections, but I cannot figure out how to modify this to keep my date piece, and ignore 1 selection but not others (for example I have a Type and a Location that I would still want to be selected and see that reflected in my count).&lt;/P&gt;&lt;P&gt;COUNT(DISTINCT {1-$} if(EndDate &amp;gt; Today(0)-6 AND EndDate &amp;gt; '1-1-3000'), RecordNumber)&lt;/P&gt;&lt;P&gt;Any suggestions on how I could modify this one? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Oct 2009 20:52:59 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-10-20T20:52:59Z</dc:date>
    <item>
      <title>Expression to ignore a selection</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-ignore-a-selection/m-p/220449#M504965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to come up with an expression that would count the instance when certain dates apply. however, I want to ignore any selection made in the Status field but still want to include any selections made on other fields. I was able to create an expression that would ignore all selections, but I cannot figure out how to modify this to keep my date piece, and ignore 1 selection but not others (for example I have a Type and a Location that I would still want to be selected and see that reflected in my count).&lt;/P&gt;&lt;P&gt;COUNT(DISTINCT {1-$} if(EndDate &amp;gt; Today(0)-6 AND EndDate &amp;gt; '1-1-3000'), RecordNumber)&lt;/P&gt;&lt;P&gt;Any suggestions on how I could modify this one? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 20:52:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-ignore-a-selection/m-p/220449#M504965</guid>
      <dc:creator />
      <dc:date>2009-10-20T20:52:59Z</dc:date>
    </item>
    <item>
      <title>Expression to ignore a selection</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-ignore-a-selection/m-p/220450#M504966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You seem to be combining Set Analysis and If Thens. You should be able to do it all with Set Analysis.&lt;/P&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;COUNT(DISTINCT {1&amp;lt;EndDate = {$('&amp;gt;Today(0)-6')},EndDate = {$('&amp;gt; 1-1-3000')}&amp;gt;} RecordNumber)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;That will ignore all selections, but force the End date logic (although I'm a little confused as to why you need two and what 1/1/3000 is).&lt;/P&gt;&lt;P&gt;EDIT: I changed my mind. If you only want to ignore the selections in the Status field, use:&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;COUNT(DISTINCT {$&amp;lt;Status=,EndDate = {$('&amp;gt;Today(0)-6')},EndDate = {$('&amp;gt; 1-1-3000')}&amp;gt;} RecordNumber)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 21:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-ignore-a-selection/m-p/220450#M504966</guid>
      <dc:creator />
      <dc:date>2009-10-20T21:37:06Z</dc:date>
    </item>
    <item>
      <title>Expression to ignore a selection</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-to-ignore-a-selection/m-p/220451#M504967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the assistance. I ended up making it work with the following adjustments:&lt;/P&gt;&lt;P&gt;EndDate={'&amp;gt;$(=Today(0)-6)'}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Oct 2009 01:05:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-to-ignore-a-selection/m-p/220451#M504967</guid>
      <dc:creator />
      <dc:date>2009-10-22T01:05:11Z</dc:date>
    </item>
  </channel>
</rss>

