<?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 Analysis Odd Behaviour in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Odd-Behaviour/m-p/708602#M676010</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmmm, I've never used the * before the set before, though like you, between sets works. If you search the community for QlikLearn-Set-Analysis-Presentation.pdf, it may be able to give you some more insight that I don't have...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2014 16:33:20 GMT</pubDate>
    <dc:creator>mikecrengland</dc:creator>
    <dc:date>2014-07-03T16:33:20Z</dc:date>
    <item>
      <title>Set Analysis Odd Behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Odd-Behaviour/m-p/708597#M676005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a simple set analysis expression to count the number of people who have installed a toolbar as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;version A: count( {$ &amp;lt;toolbar_downloads.Date = {'*'}&amp;gt;} DISTINCT supporter_id)&lt;/P&gt;&lt;P&gt;version B: count( {$ &lt;SPAN style="color: #ff0000;"&gt;*&lt;/SPAN&gt; &amp;lt;toolbar_downloads.Date = {'*'}&amp;gt;} DISTINCT supporter_id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With no filters applied I would expect both to give the same result, and to differ only where filters are applied - version A should ignore filters whereas version B should account for them because it has the *.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, only version A gives exactly the answer I expect while version B gives a significantly lower number. I tend to opt for the version B in this type of expression as it allows for filters, but I'm quite confused as to why it gives a different result here. Note there are other joined tables with additional supporter_id in them which don't exist in the toolbar table, which is why I'm using the set analysis in the first place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 14:58:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Odd-Behaviour/m-p/708597#M676005</guid>
      <dc:creator />
      <dc:date>2014-07-03T14:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Odd Behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Odd-Behaviour/m-p/708598#M676006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would think that your first expression would be influenced by filters, all values would normally use count({1})?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also ignoring the date, which I presume the = {'*'} means is normally done by toolbar_downloads=, i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({1&amp;lt;toolbar_downloads.date=&amp;gt;} DISTINCT supporter_id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 15:06:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Odd-Behaviour/m-p/708598#M676006</guid>
      <dc:creator>ThornOfCrowns</dc:creator>
      <dc:date>2014-07-03T15:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Odd Behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Odd-Behaviour/m-p/708599#M676007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you trying to filter within your date field (intersection)? Try putting the * right before the = sign:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count( {$&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &amp;lt;toolbar_downloads.Date *= {'*'}&amp;gt;} DISTINCT supporter_id)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;mike&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 15:25:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Odd-Behaviour/m-p/708599#M676007</guid>
      <dc:creator>mikecrengland</dc:creator>
      <dc:date>2014-07-03T15:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Odd Behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Odd-Behaviour/m-p/708600#M676008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting, that works fine. Intersection is indeed what I want, so that if I have other filters of any type applied (including date), these will be taken into account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I'm still confused as to why my version with the * before the &amp;lt;&amp;gt; did not work. I occasionally need to place the * operator in between different expressions e.g. &amp;lt;...&amp;gt; * &amp;lt;...&amp;gt; * &amp;lt;...&amp;gt;,&amp;nbsp; and this works fine. Therefore I'd like to understand what the * before the set analysis expression is actually doing, and why it's giving a different result&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 15:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Odd-Behaviour/m-p/708600#M676008</guid>
      <dc:creator />
      <dc:date>2014-07-03T15:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Odd Behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Odd-Behaviour/m-p/708601#M676009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the {'*'} to get all records that have a download date, rather than ignoring the selection. This is because I have the supporter_id key field in multiple tables, and some of these have many supporter IDs that don't exist in the toolbar_downloads table, so to get the count of users who have downloaded, I'm simply saying where date exists, by using {'*'}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 15:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Odd-Behaviour/m-p/708601#M676009</guid>
      <dc:creator />
      <dc:date>2014-07-03T15:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis Odd Behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Odd-Behaviour/m-p/708602#M676010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmmmm, I've never used the * before the set before, though like you, between sets works. If you search the community for QlikLearn-Set-Analysis-Presentation.pdf, it may be able to give you some more insight that I don't have...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 16:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Odd-Behaviour/m-p/708602#M676010</guid>
      <dc:creator>mikecrengland</dc:creator>
      <dc:date>2014-07-03T16:33:20Z</dc:date>
    </item>
  </channel>
</rss>

