<?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 Count with Set analysis - AND combination for same dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1734825#M722323</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm trying to count unique faces (FaceID field) which appeared both in “Left wing” &lt;STRONG&gt;and&lt;/STRONG&gt; “Exit 1” Sources, this is a sample data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EliGohar_1-1597150744197.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38814i3137D3D2B508CF99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EliGohar_1-1597150744197.png" alt="EliGohar_1-1597150744197.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;if I’m using this expression:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;count(distinct {$&amp;lt;[Source]={'Left Wing','Exit 1'}&amp;gt;} FaceID)&lt;/LI-CODE&gt;&lt;P&gt;I’ll get 2 (because it calculates faces which appeared in “Exit 1” &lt;STRONG&gt;or&lt;/STRONG&gt; “Left Wing”)&lt;/P&gt;&lt;P&gt;I'm expecting to get 1 because only faceID 2190 appeared both in "Exit 1" and "Left Wing"&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;Eli.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>EliGohar</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Count with Set analysis - AND combination for same dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1734825#M722323</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm trying to count unique faces (FaceID field) which appeared both in “Left wing” &lt;STRONG&gt;and&lt;/STRONG&gt; “Exit 1” Sources, this is a sample data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EliGohar_1-1597150744197.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/38814i3137D3D2B508CF99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EliGohar_1-1597150744197.png" alt="EliGohar_1-1597150744197.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;if I’m using this expression:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;count(distinct {$&amp;lt;[Source]={'Left Wing','Exit 1'}&amp;gt;} FaceID)&lt;/LI-CODE&gt;&lt;P&gt;I’ll get 2 (because it calculates faces which appeared in “Exit 1” &lt;STRONG&gt;or&lt;/STRONG&gt; “Left Wing”)&lt;/P&gt;&lt;P&gt;I'm expecting to get 1 because only faceID 2190 appeared both in "Exit 1" and "Left Wing"&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;Eli.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1734825#M722323</guid>
      <dc:creator>EliGohar</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set analysis - AND combination for same dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1734830#M722325</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count(DISTINCT {$&amp;lt;FaceID = P({&amp;lt;[Source] = {'Left Wing'}&amp;gt;}) + P({&amp;lt;[Source] = {'Exit 1'}&amp;gt;})&amp;gt;} FaceID)&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 11 Aug 2020 13:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1734830#M722325</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-08-11T13:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set analysis - AND combination for same dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1734865#M722327</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;Thanks but it still counts faces which appeared in “Exit 1”&amp;nbsp;or&amp;nbsp;“Left Wing”.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 14:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1734865#M722327</guid>
      <dc:creator>EliGohar</dc:creator>
      <dc:date>2020-08-11T14:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set analysis - AND combination for same dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1734869#M722329</link>
      <description>&lt;P&gt;Sorry my bad, try this instead&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count(DISTINCT {$&amp;lt;FaceID = P({&amp;lt;[Source] = {'Left Wing'}&amp;gt;}) * P({&amp;lt;[Source] = {'Exit 1'}&amp;gt;})&amp;gt;} FaceID)&lt;/LI-CODE&gt;&lt;P&gt;changed '+' (union) to '*'&amp;nbsp; (intersection)&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 14:44:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1734869#M722329</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-08-11T14:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set analysis - AND combination for same dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1735091#M722331</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;You Rock!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Aug 2020 06:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1735091#M722331</guid>
      <dc:creator>EliGohar</dc:creator>
      <dc:date>2020-08-12T06:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set analysis - AND combination for same dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1738691#M722332</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;I have another question:&lt;/P&gt;&lt;P&gt;I want to add another condition:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Count unique faces (FaceID field) which appeared both in “Left wing”&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;and&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;“Exit 1” Sources &lt;STRONG&gt;and not &lt;/STRONG&gt;appeared in "Entrance 2" source.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tried the following expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count(DISTINCT {$&amp;lt;FaceID = P({&amp;lt;[Source] = {'Left Wing'}&amp;gt;}) * P({&amp;lt;[Source] = {'Exit 1'}&amp;gt;}) * P({&amp;lt;[Source] -= {'Entrance 2'}&amp;gt;})&amp;gt;} FaceID)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But no luck.&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 05:46:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1738691#M722332</guid>
      <dc:creator>EliGohar</dc:creator>
      <dc:date>2020-08-26T05:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set analysis - AND combination for same dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1738704#M722333</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;BR /&gt;try this&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Count(DISTINCT {$&amp;lt;FaceID = P({&amp;lt;[Source] = {'Left Wing'}&amp;gt;}) * P({&amp;lt;[Source] = {'Exit 1'}&amp;gt;}) - P({&amp;lt;[Source] = {'Entrance 2'}&amp;gt;})&amp;gt;} FaceID)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 26 Aug 2020 06:25:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1738704#M722333</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2020-08-26T06:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set analysis - AND combination for same dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1738710#M722334</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6330"&gt;@lironbaram&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried it, it keeps counting people who visited all 3 areas, for example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EliGohar_0-1598423908208.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/39601i4FE787F387CD8F2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EliGohar_0-1598423908208.png" alt="EliGohar_0-1598423908208.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 06:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1738710#M722334</guid>
      <dc:creator>EliGohar</dc:creator>
      <dc:date>2020-08-26T06:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set analysis - AND combination for same dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1738740#M722335</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/54934"&gt;@EliGohar&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;strange , have a look at the attach app ,&lt;BR /&gt;this expression work as expected&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 09:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1738740#M722335</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2020-08-26T09:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Count with Set analysis - AND combination for same dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1738777#M722336</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6330"&gt;@lironbaram&lt;/a&gt;&amp;nbsp;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 10:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-with-Set-analysis-AND-combination-for-same-dimension/m-p/1738777#M722336</guid>
      <dc:creator>EliGohar</dc:creator>
      <dc:date>2020-08-26T10:51:14Z</dc:date>
    </item>
  </channel>
</rss>

