<?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: How can I do an 'And' selection on this data in QlikView? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-do-an-And-selection-on-this-data-in-QlikView/m-p/824084#M471588</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may require some data model manipulation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3219"&gt;AND-Mode&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use the and operator in set analysis to get your result form the selection &lt;BR /&gt;&lt;A href="https://community.qlik.com/thread/56808"&gt;And Operator in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Mar 2015 21:42:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-03-03T21:42:03Z</dc:date>
    <item>
      <title>How can I do an 'And' selection on this data in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-do-an-And-selection-on-this-data-in-QlikView/m-p/824083#M471587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did distinct(CustomerID) for a count of individuals that registered for AM 2012, 2013 and 2014.... but I want to find out who went to ALL three of the meetings, 2012 and 2013 and 2014, instead of just giving me the number of individuals that went to said meetings (or statement):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/79786_Untitled.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run a nested select statement sql query of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select count(distinct CustomerID)&lt;/P&gt;&lt;P&gt;from EventList&lt;/P&gt;&lt;P&gt;where eventtitle&amp;nbsp; = 'Annual Meeting 2012'&lt;/P&gt;&lt;P&gt;and CustomerID in&lt;/P&gt;&lt;P&gt;(select distinct CustomerID&lt;/P&gt;&lt;P&gt;from EventList&lt;/P&gt;&lt;P&gt;where eventtitle = 'Annual Meeting 2013'&lt;/P&gt;&lt;P&gt;and CustomerID in &lt;/P&gt;&lt;P&gt;(select distinct CustomerID&lt;/P&gt;&lt;P&gt;from EventList&lt;/P&gt;&lt;P&gt;where eventtitle = 'Annual Meeting 2014'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get 288 distinct individuals that went to ALL THREE events. Does this make sense? If so how would I accomplish this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 21:34:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-do-an-And-selection-on-this-data-in-QlikView/m-p/824083#M471587</guid>
      <dc:creator />
      <dc:date>2015-03-03T21:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I do an 'And' selection on this data in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-do-an-And-selection-on-this-data-in-QlikView/m-p/824084#M471588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may require some data model manipulation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/3219"&gt;AND-Mode&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use the and operator in set analysis to get your result form the selection &lt;BR /&gt;&lt;A href="https://community.qlik.com/thread/56808"&gt;And Operator in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2015 21:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-do-an-And-selection-on-this-data-in-QlikView/m-p/824084#M471588</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-03-03T21:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I do an 'And' selection on this data in QlikView?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-do-an-And-selection-on-this-data-in-QlikView/m-p/824085#M471589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum(Aggr(If(Count({&amp;lt;Category ={'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Annual Meeting 2012&lt;/SPAN&gt;', '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Annual Meeting 2013&lt;/SPAN&gt;', '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Annual Meeting 2014&lt;/SPAN&gt;'}&amp;gt;} DISTINCT Category) = 3, 1, 0), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CustomerID))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Mar 2015 07:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-do-an-And-selection-on-this-data-in-QlikView/m-p/824085#M471589</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-03-04T07:55:46Z</dc:date>
    </item>
  </channel>
</rss>

