<?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 Integrate count in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Integrate-count-in-set-analysis/m-p/426631#M158949</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I THINK I would like to use a count() expression within a setanalysis of another count as I am trying to accomplisch the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to count the amount of companies that have done over 3 productregistrations. My datastructure is setup that every piece of volume has a separate id (productregistration.id).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore if i would like to count the amount of pieces a company has done, i do: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(&lt;/P&gt;&lt;P&gt;{&amp;lt;&lt;/P&gt;&lt;P&gt;RevenueDateMONTH={$(vGlobalMonthSelect)},RevenueDateYEAR={$(vGlobalYearSelect)}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;}Productregistration.Id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now i would like to count the amount of companies that have more than 3 productregistrations; and I wanted to approach it something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= COUNT( {&amp;lt; &lt;/P&gt;&lt;P&gt;Count(&lt;/P&gt;&lt;P&gt;{&amp;lt;&lt;/P&gt;&lt;P&gt;RevenueDateMONTH={$(vGlobalMonthSelect)},RevenueDateYEAR={$(vGlobalYearSelect)}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;}Productregistration.Id) ={'&amp;gt;3'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;} Account.id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the proper way of setting this up?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Nov 2012 22:18:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-12T22:18:01Z</dc:date>
    <item>
      <title>Integrate count in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Integrate-count-in-set-analysis/m-p/426631#M158949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I THINK I would like to use a count() expression within a setanalysis of another count as I am trying to accomplisch the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to count the amount of companies that have done over 3 productregistrations. My datastructure is setup that every piece of volume has a separate id (productregistration.id).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore if i would like to count the amount of pieces a company has done, i do: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Count(&lt;/P&gt;&lt;P&gt;{&amp;lt;&lt;/P&gt;&lt;P&gt;RevenueDateMONTH={$(vGlobalMonthSelect)},RevenueDateYEAR={$(vGlobalYearSelect)}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;}Productregistration.Id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now i would like to count the amount of companies that have more than 3 productregistrations; and I wanted to approach it something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= COUNT( {&amp;lt; &lt;/P&gt;&lt;P&gt;Count(&lt;/P&gt;&lt;P&gt;{&amp;lt;&lt;/P&gt;&lt;P&gt;RevenueDateMONTH={$(vGlobalMonthSelect)},RevenueDateYEAR={$(vGlobalYearSelect)}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;}Productregistration.Id) ={'&amp;gt;3'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;} Account.id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the proper way of setting this up?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 22:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Integrate-count-in-set-analysis/m-p/426631#M158949</guid>
      <dc:creator />
      <dc:date>2012-11-12T22:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Integrate count in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Integrate-count-in-set-analysis/m-p/426632#M158950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi rtummers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try something like this:&lt;/P&gt;&lt;P&gt;= COUNT( {&amp;lt; Account.id={"=Count( {&amp;lt; RevenueDateMONTH={$(vGlobalMonthSelect)},RevenueDateYEAR={$(vGlobalYearSelect)} &amp;gt;}Productregistration.Id) &amp;gt;= 3"} &amp;gt;} Account.id)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Teemu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2012 07:59:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Integrate-count-in-set-analysis/m-p/426632#M158950</guid>
      <dc:creator>teempi</dc:creator>
      <dc:date>2012-11-13T07:59:39Z</dc:date>
    </item>
  </channel>
</rss>

