<?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: Use of count function in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431566#M564292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you can use a CUSTOMERID as Dimention And use Expression ="Count({$&amp;lt;ProductIDCounter={"&amp;gt;1"}&amp;gt;}DISTINCT ProductID)"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 06:12:59 GMT</pubDate>
    <dc:creator>sujeetsingh</dc:creator>
    <dc:date>2013-02-13T06:12:59Z</dc:date>
    <item>
      <title>Use of count function in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431560#M564286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i have a simple table&amp;nbsp;&amp;nbsp; with&amp;nbsp;&amp;nbsp; productid&amp;nbsp; ,&amp;nbsp; customerid , amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;ProductID&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;customerID&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Amount&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;p01&lt;/TD&gt;&lt;TD&gt;h01&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;p02&lt;/TD&gt;&lt;TD&gt;h02&lt;/TD&gt;&lt;TD&gt;130&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;p03&lt;/TD&gt;&lt;TD&gt;h01&lt;/TD&gt;&lt;TD&gt;100&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;p04&lt;/TD&gt;&lt;TD&gt;h03&lt;/TD&gt;&lt;TD&gt;150&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;is want a simple chart which&amp;nbsp;&amp;nbsp;&amp;nbsp; gives me&amp;nbsp;&amp;nbsp;&amp;nbsp; the list of customers who has&amp;nbsp; purchased more than 2 products&amp;nbsp; so for that i am using &lt;/P&gt;&lt;P&gt;this expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(count(DISTINCT ProductID)&amp;gt;1,count(distinct ProductID))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and customID as my dimension&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way that i can use Set analysis&amp;nbsp; for count(productID) &amp;gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp; in the expression itself as&amp;nbsp; the above method takes to long to process the data .?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_tushar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 05:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431560#M564286</guid>
      <dc:creator />
      <dc:date>2013-02-13T05:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Use of count function in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431561#M564287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not sure but this might work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;Count({&amp;lt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;count(DISTINCT ProductID)={"&amp;gt;1"}&lt;/SPAN&gt;&amp;gt;} distinct &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;ProductID&lt;/SPAN&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 05:28:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431561#M564287</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2013-02-13T05:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Use of count function in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431562#M564288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi s_tushar,&lt;/P&gt;&lt;P&gt;Find the attachment,Hope it helps you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 05:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431562#M564288</guid>
      <dc:creator>jvishnuram</dc:creator>
      <dc:date>2013-02-13T05:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: Use of count function in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431563#M564289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The output should contain the list of customers who have bought more than 1 product&amp;nbsp; in this case&amp;nbsp; the customerID should be h01 as he has bought&amp;nbsp; product&amp;nbsp; p01 and p03&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 05:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431563#M564289</guid>
      <dc:creator />
      <dc:date>2013-02-13T05:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Use of count function in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431564#M564290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;use this&lt;/P&gt;&lt;P&gt;if(count( ProductID)&amp;gt;1,Count( ProductID))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 05:55:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431564#M564290</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-02-13T05:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Use of count function in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431565#M564291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have used this expression but the problem is its too resource intensive&amp;nbsp; is there a way that i can use count function in set analysis it self&amp;nbsp; like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({&amp;lt;productID={"=count(productID)&amp;gt;1"}&amp;gt;}productID) but this doesnt work &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as we use MAX , MIN functions inside set analysis&amp;nbsp; is there a way that we can construct a query with count() function ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 06:06:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431565#M564291</guid>
      <dc:creator />
      <dc:date>2013-02-13T06:06:41Z</dc:date>
    </item>
    <item>
      <title>Re: Use of count function in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431566#M564292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you can use a CUSTOMERID as Dimention And use Expression ="Count({$&amp;lt;ProductIDCounter={"&amp;gt;1"}&amp;gt;}DISTINCT ProductID)"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 06:12:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431566#M564292</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2013-02-13T06:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Use of count function in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431567#M564293</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;Maybe this could work :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;CustomerID={"=count(distinct ProductID)&amp;gt;1"}&amp;gt;}Distinct ProductID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gilles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Dec 2015 21:54:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Use-of-count-function-in-set-analysis/m-p/431567#M564293</guid>
      <dc:creator />
      <dc:date>2015-12-20T21:54:14Z</dc:date>
    </item>
  </channel>
</rss>

