<?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: Intersection using set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806059#M284576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks guys, i will check your feedback by monday and come back to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Mar 2015 13:51:10 GMT</pubDate>
    <dc:creator>guillaume_gorli</dc:creator>
    <dc:date>2015-03-27T13:51:10Z</dc:date>
    <item>
      <title>Intersection using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806053#M284570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a simple database attached wich is showing three informations : part number, date and quantity&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="82110" alt="Capture.JPG" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/82110_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;i would like to show on a table quantity of part numbers consummed in 2015 as well as the ones consummed in 2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i got from my app is below table :&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="82116" alt="Capture.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/82116_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although what i am looking for should looks like : only part number A should be taken into account as consummed both in 2014 and 2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-4" src="https://community.qlik.com/legacyfs/online/82357_Capture.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached are database and .qvw&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 11:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806053#M284570</guid>
      <dc:creator>guillaume_gorli</dc:creator>
      <dc:date>2015-03-27T11:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806054#M284571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gulilaume,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trick is that i do want to show only part numbers consummed in 2015 AND 2014.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So should the resulting chart only show A, as that the only one in both 2015 and 2014?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 11:36:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806054#M284571</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-27T11:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806055#M284572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use below expression for 2014&lt;/P&gt;&lt;P&gt;SUM({&amp;lt;Année = {2014},[Part number] = P({&amp;lt;Année= {2015}&amp;gt;}[Part number])&amp;gt;}Qty)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 11:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806055#M284572</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-03-27T11:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806056#M284573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="html" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14274564716094462" jivemacro_uid="_14274564716094462" modifiedtitle="true"&gt;
&lt;P&gt;LOAD [Part number], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(Date) As Yr,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Qty&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;[TEST exclusion.xlsx]&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is Feuil1);&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim: [Part number]&lt;/P&gt;&lt;P&gt;Expr: If(Sum({&amp;lt;Yr={2015}&amp;gt;}Qty)=0,0,Sum({&amp;lt;Yr={2014}&amp;gt;}Qty))&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Yr={2015}&amp;gt;}Qty)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 11:43:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806056#M284573</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2015-03-27T11:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806057#M284574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To find the part numbers that have been consumed both years, you can use&lt;/P&gt;&lt;P&gt;&amp;nbsp; = Sum ({$&amp;lt;[Part number]=P({$&amp;lt;Année={2014}&amp;gt;} [Part number])*P({$&amp;lt;Année={2015}&amp;gt;} [Part number])&amp;gt;}Qty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and to have the same condition, but split per year, you can use &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; = Sum ({$&amp;lt;Année={2015},[Part number]=P({$&amp;lt;Année={2014}&amp;gt;} [Part number])*P({$&amp;lt;Année={2015}&amp;gt;} [Part number])&amp;gt;}Qty)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I don't understand your last table. That C should be excluded, is clear. But so should B and D as I see it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Image1.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/82121_Image1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 11:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806057#M284574</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-03-27T11:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806058#M284575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached.&lt;/P&gt;&lt;P&gt;I replaced your dimension with a calculated dimension excluding Part numbers with 0 sales in 2015 (if this is what you need - not quite clear from your description).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 11:49:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806058#M284575</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-27T11:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806059#M284576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks guys, i will check your feedback by monday and come back to you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2015 13:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806059#M284576</guid>
      <dc:creator>guillaume_gorli</dc:creator>
      <dc:date>2015-03-27T13:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806060#M284577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right Andrew. My mistake : the resulting chart should only show A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:10:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806060#M284577</guid>
      <dc:creator>guillaume_gorli</dc:creator>
      <dc:date>2015-03-30T13:10:49Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806061#M284578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct Henric, i wrongly describe the issue : B,C and D should be excluded, not only A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 13:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806061#M284578</guid>
      <dc:creator>guillaume_gorli</dc:creator>
      <dc:date>2015-03-30T13:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection using set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806062#M284579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys , your feebacks helped me to understand i am facing other issuesto build the app requested. I need to describe those more precisely in a new trend as Manish Kachhia answerd the initial question even though the question was not quite clear)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guillaume&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 14:45:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-using-set-analysis/m-p/806062#M284579</guid>
      <dc:creator>guillaume_gorli</dc:creator>
      <dc:date>2015-03-30T14:45:39Z</dc:date>
    </item>
  </channel>
</rss>

