<?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 with multiple set modifiers with aggregation functions: {&amp;quot;=sum(x)&amp;gt;N&amp;quot;} in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886374#M309025</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ok get the mobile browser issue, though I would suggest editing the comment, several of the folks he&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;re are not Qlik employees and &lt;/SPAN&gt;are just doing this to help and to expand our own knowledge.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;your issue is with the &amp;lt;&amp;gt; you need to have an opening and closing one for each set you what to define in you intersection &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=count(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{$&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;lt;&lt;SPAN style="line-height: 1.5em;"&gt;[Material Group] = {"&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit; line-height: 1.5em; font-style: inherit;"&gt;=count(distinct [Order Type]) &amp;gt; 1&lt;/STRONG&gt;&lt;SPAN style="line-height: 1.5em;"&gt;"}&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;&amp;lt;[Order Type] = &lt;/STRONG&gt;{"&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;=count(distinct [Order Nr]) &amp;gt; 3&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;"}&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;distinct [Order Nr]) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2015 18:46:48 GMT</pubDate>
    <dc:creator>ramoncova06</dc:creator>
    <dc:date>2015-04-22T18:46:48Z</dc:date>
    <item>
      <title>Set analysis with multiple set modifiers with aggregation functions: {"=sum(x)&gt;N"}</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886367#M309018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear fellow QV enthusiasts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to add two conditions to set analysis that will work as &lt;STRONG&gt;AND&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;1. Show only [Material Groups] that have &amp;gt; 1 order types&lt;/P&gt;&lt;P&gt;2. Show only [Order types] that have &amp;gt; 3 orders&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The original table is like this, without filtering:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="t1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/84354_t1.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can use set analysis in the expression for [# of associated POs] to get &lt;SPAN style="font-size: 13.3333330154419px;"&gt; [Material Groups] that have &amp;gt; 1 order types. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=count(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;{$&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;[Material Group] = {"&lt;STRONG&gt;=count(distinct [Order Type]) &amp;gt; 1&lt;/STRONG&gt;"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;} &lt;SPAN style="font-family: 'courier new', courier; font-size: 13.3333330154419px;"&gt;distinct &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;[Order Nr])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;It works:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="t2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/84355_t2.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now I need to get something like this, to show only &lt;SPAN style="font-size: 13.3333330154419px;"&gt; [Order types] = F0 and ZSC1 and only &lt;SPAN style="font-size: 13.3333330154419px;"&gt; [Material Group] = A002000&lt;/SPAN&gt;&lt;/SPAN&gt;:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="t3.png" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/84356_t3.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this:&lt;/P&gt;&lt;P&gt;=count(&lt;/P&gt;&lt;P&gt;{$&lt;/P&gt;&lt;P&gt;&amp;lt;&lt;/P&gt;&lt;P&gt;[Material Group] = {"&lt;STRONG&gt;=count(distinct [Order Type]) &amp;gt; 1&lt;/STRONG&gt;"}&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;{"&lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;=count(distinct [Order Nr]) &amp;gt; 3&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt; distinct [Order Nr])&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;=count(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;{$&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;[Material Group] = {"=count(distinct [Order Type]) &amp;gt; 1"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;*&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;{"=count(distinct total &amp;lt;[Material Group],[Order Type]&amp;gt; [Order Nr]) &amp;gt; 3"}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt; distinct [Order Nr])&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it is not filtering:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="T4.png" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/84357_T4.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 15:59:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886367#M309018</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T15:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with multiple set modifiers with aggregation functions: {"=sum(x)&gt;N"}</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886368#M309019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide your 10-15 lines sample data in excel file along with expected output?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 16:14:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886368#M309019</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-04-22T16:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with multiple set modifiers with aggregation functions: {"=sum(x)&gt;N"}</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886369#M309020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There you go Manish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected output should be like this: &lt;/P&gt;&lt;P&gt;only highlighted line should appear, except for Order type ZDL1 (where # of POs = 1).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="t3.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/84364_t3.png" style="height: 349px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 16:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886369#M309020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T16:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with multiple set modifiers with aggregation functions: {"=sum(x)&gt;N"}</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886370#M309021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why only Highlighted in Yellow?&lt;/P&gt;&lt;P&gt;Can you share the logic with an example from above screenshot?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 16:36:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886370#M309021</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-04-22T16:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with multiple set modifiers with aggregation functions: {"=sum(x)&gt;N"}</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886371#M309022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The above screenshot with highlight is a mockup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 31.5616226196289px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;I need to add two conditions to set analysis that will work together as &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;&lt;STRONG&gt;AND&lt;/STRONG&gt;&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 31.5616226196289px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;1. Show only [Material Groups] that have &amp;gt; 1 order types&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 31.5616226196289px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;2. Show only [Order types] that have &amp;gt; 3 orders&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 18:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886371#M309022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T18:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with multiple set modifiers with aggregation functions: {"=sum(x)&gt;N"}</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886372#M309023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry but was there really a need for such a big font ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you issue seems simple ... wish you luck on getting it to work &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 18:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886372#M309023</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-22T18:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with multiple set modifiers with aggregation functions: {"=sum(x)&gt;N"}</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886373#M309024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the comment Ramon. I pasted the text from mobile browser, and it didn't handle font size properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you say the thing seems simple, why not trying to help me tackle it? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 18:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886373#M309024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T18:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with multiple set modifiers with aggregation functions: {"=sum(x)&gt;N"}</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886374#M309025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ok get the mobile browser issue, though I would suggest editing the comment, several of the folks he&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;re are not Qlik employees and &lt;/SPAN&gt;are just doing this to help and to expand our own knowledge.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;your issue is with the &amp;lt;&amp;gt; you need to have an opening and closing one for each set you what to define in you intersection &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=count(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;{$&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;lt;&lt;SPAN style="line-height: 1.5em;"&gt;[Material Group] = {"&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit; line-height: 1.5em; font-style: inherit;"&gt;=count(distinct [Order Type]) &amp;gt; 1&lt;/STRONG&gt;&lt;SPAN style="line-height: 1.5em;"&gt;"}&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;*&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;&amp;lt;[Order Type] = &lt;/STRONG&gt;{"&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;=count(distinct [Order Nr]) &amp;gt; 3&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;"}&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;}&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;distinct [Order Nr]) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 18:46:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886374#M309025</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-22T18:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with multiple set modifiers with aggregation functions: {"=sum(x)&gt;N"}</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886375#M309026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why I ask because the Sample File is not having that many orders so the output should be different for this excel file compare to the screenshot you have provided..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are not agree with me.. let me know what wrong I have asked !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 18:58:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886375#M309026</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-04-22T18:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with multiple set modifiers with aggregation functions: {"=sum(x)&gt;N"}</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886376#M309027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, the set analysis condition you provided still does not work for me. I even did this on the sample file that I uploaded above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below a screenshot.&lt;/P&gt;&lt;P&gt;The first column has the formula&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14297332855585556 jive_text_macro" jivemacro_uid="_14297332855585556"&gt;
&lt;P&gt;count(&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;lt;[Order Type] = {"=count(distinct &lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;total &amp;lt;[Material Group],[Order Type]&amp;gt; &lt;/SPAN&gt; [Order Nr]) &amp;gt;= 3"}&amp;gt;&lt;/P&gt;
&lt;P&gt;*&lt;/P&gt;
&lt;P&gt;&amp;lt;[Material Group] = {"=count(distinct [Order Type]) &amp;gt; 1"}&amp;gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;distinct [Order Nr])&lt;/P&gt;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the first column should display numbers only when the set analysis criteria are fulfilled, and otherwise display 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you see, in Material Group &lt;STRONG&gt;A002000&lt;/STRONG&gt; (the one at the bottom), there is 0 for Order Type &lt;STRONG&gt;ZDL1&lt;/STRONG&gt;. This is because the count of orders of type ZDL1 in material group A002000 is less than 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, for Material Group &lt;STRONG&gt;A001000&lt;/STRONG&gt; and Order Type &lt;STRONG&gt;FO &lt;SPAN style="font-size: 13.3333330154419px;"&gt;(the one at the top)&lt;/SPAN&gt;&lt;/STRONG&gt;, there should also be 0 in the first column, because there is only 1 order of type FO in material group A001000. But the formula is displaying 1 instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For reference, I provide the formula from inside the set analysis modifier in columns 2 and 3. &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="84361" alt="Screen Shot 2015-04-22 at 22.04.54.png" class="jive-image image-1" src="/legacyfs/online/84361_Screen Shot 2015-04-22 at 22.04.54.png" style="height: 190px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;I have the sample QlikSense file (based on the xls from the posts above) attached. To view it, please put it into &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;C:\Users\&amp;lt;youruser&amp;gt;\Documents\Qlik\Sense\Apps\&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 20:18:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886376#M309027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T20:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with multiple set modifiers with aggregation functions: {"=sum(x)&gt;N"}</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886377#M309028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have provided a sample file, which can be used to reproduce the logic that I described above. It think the exact row count does not matter if we need to prove the concept. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached dataset, I have 2 material groups, each &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;containing 3 order types. One of the 2 material groups fulfills the set analysis criteria: it has more than 1 order types and &amp;gt;=3 orders in &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;at least 2 order types. So, I'm sure this dataset is enough to illustrate the case. Just looking for the formula.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2015 21:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886377#M309028</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-22T21:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with multiple set modifiers with aggregation functions: {"=sum(x)&gt;N"}</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886378#M309029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the issue is that we are using advance search to get the order type, and because in the material group A002000 it does have 3 entries it is included as a valid group for each material group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is one option, is not clean, but will&amp;nbsp; get you out of the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(count(&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;[Order Type]= {"=count(distinct total &amp;lt;[Material Group],[Order Type],[Order Nr]&amp;gt; [Order Nr]) &amp;gt;= 3"}&amp;gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&amp;lt;[Material Group] = {"=count(distinct [Order Type]) &amp;gt; 1"}&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;distinct [Order Nr]) &amp;lt; 3, 0,count(&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;[Order Type]= {"=count(distinct total &amp;lt;[Material Group],[Order Type],[Order Nr]&amp;gt; [Order Nr]) &amp;gt;= 3"}&amp;gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&amp;lt;[Material Group] = {"=count(distinct [Order Type]) &amp;gt; 1"}&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;distinct [Order Nr]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 01:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886378#M309029</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-23T01:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis with multiple set modifiers with aggregation functions: {"=sum(x)&gt;N"}</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886379#M309030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here is another option &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(count(distinct total &amp;lt;[Material Group],[Order Type],[Order Nr]&amp;gt; [Order Nr]) &amp;gt;= 3&lt;/P&gt;&lt;P&gt;and count([Order Type]) &amp;gt; 1,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;count(distinct([Order Nr])),0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 01:22:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-with-multiple-set-modifiers-with-aggregation/m-p/886379#M309030</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2015-04-23T01:22:06Z</dc:date>
    </item>
  </channel>
</rss>

