<?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: AND operation in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/AND-operation-in-set-analysis/m-p/1194011#M626248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;LOL...that obvious.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2016 21:11:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-10-12T21:11:11Z</dc:date>
    <item>
      <title>AND operation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-operation-in-set-analysis/m-p/1194009#M626243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;In the example as attached, I would like to count how many IDs with '*-RAM' and their [Ship Year] is '2009'.&lt;/P&gt;&lt;P&gt;The express 'Dispatch' is given as&lt;/P&gt;&lt;P&gt;Sum(Aggr(Count (DISTINCT {&amp;lt;ID = p({&amp;lt;[Ship year]={'2009'}&amp;gt;}) * p({&amp;lt;ID={'*-RMA'}&amp;gt;})&amp;gt;}ID),CalendarYY,CalendarWW))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Dispatch count should be zero for CalendarYY = 2009 and CalendarWW = 01.&lt;/P&gt;&lt;P&gt;Somehow, Dispatch shows 8 and it seems the expression only considers the term ID='*-RMA' only.&lt;/P&gt;&lt;P&gt;Where did I make a mistake?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 20:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-operation-in-set-analysis/m-p/1194009#M626243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-12T20:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: AND operation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-operation-in-set-analysis/m-p/1194010#M626246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you used Ship &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;y&lt;/SPAN&gt;ear instead of Ship &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;Y&lt;/SPAN&gt;ear. But this also seems to work for the selection. QlikView is case sensitive and they two things are different for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(Aggr(Count (DISTINCT {&amp;lt;[Ship Year]={2009}, ID = {'*-RMA'}&amp;gt;}ID),CalendarYY,CalendarWW))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 21:07:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-operation-in-set-analysis/m-p/1194010#M626246</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-10-12T21:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: AND operation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-operation-in-set-analysis/m-p/1194011#M626248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;LOL...that obvious.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 21:11:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-operation-in-set-analysis/m-p/1194011#M626248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-12T21:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: AND operation in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/AND-operation-in-set-analysis/m-p/1194012#M626250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Josh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the issue is rather silly - your [Ship Year] was misspelled as [Ship year] and the filter was ignored. Unfortunately, the spell checker doesn't pick it up as an error and doesn't give you a warning. That's a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Besides this typo, watch the level of granularity in your AGGR, compared to your Chart dimensions. Your AGGR appears to be less granular than your chart, which may give you incorrect results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Learn more advanced techniques about Set Analysis, AGGR, and more, in my book &lt;A href="http://www.amazon.com/gp/product/1118949552/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1118949552&amp;amp;linkCode=as2&amp;amp;tag=natursyner0f-20&amp;amp;linkId=CVZRHMG6CVR2FGTA"&gt;QlikView Your Business&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Oleg Troyansky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 21:20:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/AND-operation-in-set-analysis/m-p/1194012#M626250</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2016-10-12T21:20:15Z</dc:date>
    </item>
  </channel>
</rss>

