<?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 within set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Intersection-within-set-analysis/m-p/1311679#M516137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Mar 2017 13:21:27 GMT</pubDate>
    <dc:creator>somenathroy</dc:creator>
    <dc:date>2017-03-30T13:21:27Z</dc:date>
    <item>
      <title>Intersection within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-within-set-analysis/m-p/1311676#M516134</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 am looking for a help to write a set analysis for a query. Suppose my data looks as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[person,day,sales&lt;/P&gt;&lt;P&gt;a,sun,10&lt;/P&gt;&lt;P&gt;a,mon,20&lt;/P&gt;&lt;P&gt;a,tue,30&lt;/P&gt;&lt;P&gt;b,thu,22&lt;/P&gt;&lt;P&gt;c,mon,20&lt;/P&gt;&lt;P&gt;d,sun,12&lt;/P&gt;&lt;P&gt;d,mon,11];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I require to show person wise sales having sales on 'sun' AND 'mon' both days. Thus the result table should looks as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="94" style="border: 1px solid rgb(0, 0, 0); width: 264px; height: 78px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Person&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;a&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;d&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;22&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Som&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-within-set-analysis/m-p/1311676#M516134</guid>
      <dc:creator>somenathroy</dc:creator>
      <dc:date>2017-03-30T13:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-within-set-analysis/m-p/1311677#M516135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;person = p({&amp;lt;day = {'sun'}&amp;gt;})*&lt;SPAN style="font-size: 13.3333px;"&gt;p({&amp;lt;day = {'mon'}&amp;gt;})&lt;/SPAN&gt;&amp;gt;}sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:15:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-within-set-analysis/m-p/1311677#M516135</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-30T13:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-within-set-analysis/m-p/1311678#M516136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;person = p({&amp;lt;day = {'sun'}&amp;gt;})*p({&amp;lt;day = {'mon'}&amp;gt;}), day = {'sun', 'mon'}&amp;gt;}sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:18:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-within-set-analysis/m-p/1311678#M516136</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-30T13:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Intersection within set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersection-within-set-analysis/m-p/1311679#M516137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sunny.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 13:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersection-within-set-analysis/m-p/1311679#M516137</guid>
      <dc:creator>somenathroy</dc:creator>
      <dc:date>2017-03-30T13:21:27Z</dc:date>
    </item>
  </channel>
</rss>

