<?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: set explination? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-explination/m-p/820942#M1040355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me try to explain:&lt;/P&gt;&lt;P&gt;I guess, the major confusion could be with '{&amp;lt;year-={2010}&amp;gt;}' &lt;STRONG&gt;Vs&lt;/STRONG&gt; '&lt;STRONG&gt;1-$&lt;/STRONG&gt;{&amp;lt;year-={2010}&amp;gt;}'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'{&amp;lt;year-={2001}&amp;gt;}' : tells to excluded year 2010 &lt;EM&gt;if that is in the scope, &lt;/EM&gt;whereas,&lt;/P&gt;&lt;P&gt;'&lt;STRONG&gt;1-$&lt;/STRONG&gt;{&amp;lt;year-={2001}&amp;gt;}' : tells to take all &lt;EM&gt;except all in the scope except year 2010&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; Note: 'except (..., except year 2010)' acutally makes &lt;/STRONG&gt;year 2010&lt;STRONG&gt; included.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screen shots below could help better understand:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="73302" alt="Screen Shot 12-12-14 at 11.38 AM.PNG" class="image-1 jive-image" height="236" src="/legacyfs/online/73302_Screen Shot 12-12-14 at 11.38 AM.PNG" width="470" /&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year-{2010}&amp;gt;Sales) : all years are &lt;EM&gt;in the scope, &lt;/EM&gt;and 2010 is excluded. Now when you select 2013&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="73303" alt="Screen Shot 12-12-14 at 11.39 AM.PNG" class="image-1 jive-image" height="275" src="/legacyfs/online/73303_Screen Shot 12-12-14 at 11.39 AM.PNG" width="478" /&gt;&lt;/P&gt;&lt;P&gt;In the scope is only 2013. Now:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Sum({&amp;lt;Year-{2010}&amp;gt;Sales)&amp;nbsp; :&lt;/SPAN&gt; has to exclude 2010 from scope and that is not there, so it has to show only 2013.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Sum({1-$&amp;lt;Year-{2010}&amp;gt;Sales) :&lt;/SPAN&gt; has to take out all in the scope(2013 here) except 2010 (but that is not in the scope, so that would not come in the scope to &lt;STRONG&gt;exclude from exlusion&lt;/STRONG&gt;(&lt;EM&gt;ultimately inclusion&lt;/EM&gt;) anyway).&lt;/P&gt;&lt;P&gt;Had 2010 been in the scope like:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="73307" alt="Screen Shot 12-12-14 at 11.57 AM.PNG" class="image-1 jive-image" height="253" src="/legacyfs/online/73307_Screen Shot 12-12-14 at 11.57 AM.PNG" width="466" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now, in the scope are 2010 and 2010 and those have to be excluded (except 2010).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I have been able to clear upto some extend. Any doubt, let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Dec 2014 06:30:49 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-12-12T06:30:49Z</dc:date>
    <item>
      <title>set explination?</title>
      <link>https://community.qlik.com/t5/QlikView/set-explination/m-p/820941#M1040354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sum({1-$&amp;lt;year+={2005,2006}&amp;gt;}[budget amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; - how it workspls explain me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({1-$&amp;lt;year-={2005,2006}&amp;gt;}[budget amount])&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 05:58:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-explination/m-p/820941#M1040354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-12T05:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: set explination?</title>
      <link>https://community.qlik.com/t5/QlikView/set-explination/m-p/820942#M1040355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me try to explain:&lt;/P&gt;&lt;P&gt;I guess, the major confusion could be with '{&amp;lt;year-={2010}&amp;gt;}' &lt;STRONG&gt;Vs&lt;/STRONG&gt; '&lt;STRONG&gt;1-$&lt;/STRONG&gt;{&amp;lt;year-={2010}&amp;gt;}'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'{&amp;lt;year-={2001}&amp;gt;}' : tells to excluded year 2010 &lt;EM&gt;if that is in the scope, &lt;/EM&gt;whereas,&lt;/P&gt;&lt;P&gt;'&lt;STRONG&gt;1-$&lt;/STRONG&gt;{&amp;lt;year-={2001}&amp;gt;}' : tells to take all &lt;EM&gt;except all in the scope except year 2010&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; Note: 'except (..., except year 2010)' acutally makes &lt;/STRONG&gt;year 2010&lt;STRONG&gt; included.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The screen shots below could help better understand:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="73302" alt="Screen Shot 12-12-14 at 11.38 AM.PNG" class="image-1 jive-image" height="236" src="/legacyfs/online/73302_Screen Shot 12-12-14 at 11.38 AM.PNG" width="470" /&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Year-{2010}&amp;gt;Sales) : all years are &lt;EM&gt;in the scope, &lt;/EM&gt;and 2010 is excluded. Now when you select 2013&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="73303" alt="Screen Shot 12-12-14 at 11.39 AM.PNG" class="image-1 jive-image" height="275" src="/legacyfs/online/73303_Screen Shot 12-12-14 at 11.39 AM.PNG" width="478" /&gt;&lt;/P&gt;&lt;P&gt;In the scope is only 2013. Now:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Sum({&amp;lt;Year-{2010}&amp;gt;Sales)&amp;nbsp; :&lt;/SPAN&gt; has to exclude 2010 from scope and that is not there, so it has to show only 2013.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Sum({1-$&amp;lt;Year-{2010}&amp;gt;Sales) :&lt;/SPAN&gt; has to take out all in the scope(2013 here) except 2010 (but that is not in the scope, so that would not come in the scope to &lt;STRONG&gt;exclude from exlusion&lt;/STRONG&gt;(&lt;EM&gt;ultimately inclusion&lt;/EM&gt;) anyway).&lt;/P&gt;&lt;P&gt;Had 2010 been in the scope like:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="73307" alt="Screen Shot 12-12-14 at 11.57 AM.PNG" class="image-1 jive-image" height="253" src="/legacyfs/online/73307_Screen Shot 12-12-14 at 11.57 AM.PNG" width="466" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now, in the scope are 2010 and 2010 and those have to be excluded (except 2010).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope I have been able to clear upto some extend. Any doubt, let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2014 06:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-explination/m-p/820942#M1040355</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-12-12T06:30:49Z</dc:date>
    </item>
  </channel>
</rss>

