<?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 Set Analysis using GetPossibleCount in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-GetPossibleCount/m-p/731305#M261912</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;I'm trying to display a field (&lt;STRONG&gt;&lt;EM&gt;Item&lt;/EM&gt;&lt;/STRONG&gt;) in a listbox for only certain values that have more than 2 values from another field associated with it. See the load script below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CompanyTable:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Item, Object&lt;/P&gt;&lt;P&gt;Item1, Object1&lt;/P&gt;&lt;P&gt;Item2, Object1&lt;/P&gt;&lt;P&gt;Item2, Object2&lt;/P&gt;&lt;P&gt;Item3, Object1&lt;/P&gt;&lt;P&gt;Item3, Object2&lt;/P&gt;&lt;P&gt;Item3, Object3&lt;/P&gt;&lt;P&gt;Item4, Object1&lt;/P&gt;&lt;P&gt;Item4, Object2&lt;/P&gt;&lt;P&gt;Item4, Object3&lt;/P&gt;&lt;P&gt;Item4, Object4&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case I want to display &lt;STRONG&gt;&lt;EM&gt;Items&lt;/EM&gt;&lt;/STRONG&gt; that have more than two &lt;STRONG&gt;&lt;EM&gt;Objects&lt;/EM&gt;&lt;/STRONG&gt; associated with it, i.e. Item3 and Item4. How would I go about doing that using Set Expression? Is it possible to do so with GetPossibleCount? I have the follow but it doesn't seem to be working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Item &amp;amp; ' - ' &amp;amp; Count({&amp;lt;Item={"GetPossibleCount(Object)&amp;gt;2"}&amp;gt;}Object)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2014 22:20:22 GMT</pubDate>
    <dc:creator>timsworldroamer</dc:creator>
    <dc:date>2014-09-30T22:20:22Z</dc:date>
    <item>
      <title>Set Analysis using GetPossibleCount</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-GetPossibleCount/m-p/731305#M261912</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;I'm trying to display a field (&lt;STRONG&gt;&lt;EM&gt;Item&lt;/EM&gt;&lt;/STRONG&gt;) in a listbox for only certain values that have more than 2 values from another field associated with it. See the load script below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CompanyTable:&lt;/P&gt;&lt;P&gt;Load * inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Item, Object&lt;/P&gt;&lt;P&gt;Item1, Object1&lt;/P&gt;&lt;P&gt;Item2, Object1&lt;/P&gt;&lt;P&gt;Item2, Object2&lt;/P&gt;&lt;P&gt;Item3, Object1&lt;/P&gt;&lt;P&gt;Item3, Object2&lt;/P&gt;&lt;P&gt;Item3, Object3&lt;/P&gt;&lt;P&gt;Item4, Object1&lt;/P&gt;&lt;P&gt;Item4, Object2&lt;/P&gt;&lt;P&gt;Item4, Object3&lt;/P&gt;&lt;P&gt;Item4, Object4&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case I want to display &lt;STRONG&gt;&lt;EM&gt;Items&lt;/EM&gt;&lt;/STRONG&gt; that have more than two &lt;STRONG&gt;&lt;EM&gt;Objects&lt;/EM&gt;&lt;/STRONG&gt; associated with it, i.e. Item3 and Item4. How would I go about doing that using Set Expression? Is it possible to do so with GetPossibleCount? I have the follow but it doesn't seem to be working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Item &amp;amp; ' - ' &amp;amp; Count({&amp;lt;Item={"GetPossibleCount(Object)&amp;gt;2"}&amp;gt;}Object)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 22:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-GetPossibleCount/m-p/731305#M261912</guid>
      <dc:creator>timsworldroamer</dc:creator>
      <dc:date>2014-09-30T22:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using GetPossibleCount</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-GetPossibleCount/m-p/731306#M261913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( aggr(count(DISTINCT Object),Item) &amp;gt;1, Item)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/68050_Untitled.png" style="width: 620px; height: 418px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2014 23:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-GetPossibleCount/m-p/731306#M261913</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-30T23:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis using GetPossibleCount</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-using-GetPossibleCount/m-p/731307#M261914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jonathan, this works. Appreciate the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 13:55:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-using-GetPossibleCount/m-p/731307#M261914</guid>
      <dc:creator>timsworldroamer</dc:creator>
      <dc:date>2014-10-01T13:55:59Z</dc:date>
    </item>
  </channel>
</rss>

