<?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 Re: Problems with exclusion using set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problems-with-exclusion-using-set-analysis/m-p/870151#M304227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Good/Expired might be interpreted as a division of Good by Expired instead of a field [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Good/Expired&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2015 15:48:10 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-05-15T15:48:10Z</dc:date>
    <item>
      <title>Problems with exclusion using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-exclusion-using-set-analysis/m-p/870150#M304226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm having a problem that I hope you can help me with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="banana.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86710_banana.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;I want to select all of the ProductType= Fruit when my actual Date (2015) is higher or iqual than DateStart and Lower or iqual than DateExpiration and exclude the ones that are Expired.&lt;/P&gt;&lt;P&gt;So far my expression syntax is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;ProductType={'Fruit'}, DateStart={"&amp;lt;=$(vActualDate)"}, DateExpiration={"&amp;gt;=$(vActualDate)"}&amp;gt; - &lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;lt;ProductType={'Fruit'}, DateStart={"&amp;lt;=$(vActualDate)"}, DateExpiration={"&amp;gt;=$(vActualDate)"}, Good/Expired={'Expired'}&amp;gt;&lt;/SPAN&gt;} ProductName)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything works until the exclusion ( " - " ), what would be the correct syntax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 15:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-exclusion-using-set-analysis/m-p/870150#M304226</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-15T15:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with exclusion using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-exclusion-using-set-analysis/m-p/870151#M304227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Good/Expired might be interpreted as a division of Good by Expired instead of a field [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Good/Expired&lt;/SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 15:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-exclusion-using-set-analysis/m-p/870151#M304227</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-15T15:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with exclusion using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-exclusion-using-set-analysis/m-p/870152#M304228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I meant that, sorry it's just an example of the name of the field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 15:49:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-exclusion-using-set-analysis/m-p/870152#M304228</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-15T15:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with exclusion using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-exclusion-using-set-analysis/m-p/870153#M304229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Francisco,&lt;/P&gt;&lt;P&gt;Is there a reason why you cannot solely use your Good/Expired field to give you this? Just exclude out the expired data?&lt;/P&gt;&lt;P&gt;i.e Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductType={'Fruit'},&lt;/SPAN&gt;[&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Good/Expired]={'Good'}&lt;/SPAN&gt;&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;or can you have 'good' that hasn't started yet?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so create a flag in the script to help you.&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; Something like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;If(Year(today())&amp;gt;=[DateStart] And &lt;SPAN style="font-size: 13.3333330154419px;"&gt;Year(today())&amp;lt;=[DateExpiration],1) As GoodInDate_Flag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Count({&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductType={'Fruit'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;GoodInDate_Flag={1},&lt;/SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Good/Expired]={'Good'}&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ProductName)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;hope that helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Joe&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 15:54:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-exclusion-using-set-analysis/m-p/870153#M304229</guid>
      <dc:creator />
      <dc:date>2015-05-15T15:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with exclusion using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Problems-with-exclusion-using-set-analysis/m-p/870154#M304230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post a qlikview document that demonstrates the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 16:03:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problems-with-exclusion-using-set-analysis/m-p/870154#M304230</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-05-15T16:03:48Z</dc:date>
    </item>
  </channel>
</rss>

