<?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: Count customer that only buy one product in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-customer-that-only-buy-one-product/m-p/813217#M1049146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Count(DISTINCT {&amp;lt;customer=P(customer)&amp;gt;-&amp;lt;customer=P({&amp;lt;Item=E(Item)&amp;gt;})&amp;gt;}customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2014 04:49:10 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-11-12T04:49:10Z</dc:date>
    <item>
      <title>Count customer that only buy one product</title>
      <link>https://community.qlik.com/t5/QlikView/Count-customer-that-only-buy-one-product/m-p/813213#M1049142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI. I have a listbox with items that customer have bought. How can I count how many people that have only bought the selected product in following example?And nothing else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;customer.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Item&lt;/P&gt;&lt;P&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shirt&lt;/P&gt;&lt;P&gt;a.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shoes&lt;/P&gt;&lt;P&gt;b.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shoes&lt;/P&gt;&lt;P&gt;c.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shirt&lt;/P&gt;&lt;P&gt;d.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gloves&lt;/P&gt;&lt;P&gt;d.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Shoes&amp;nbsp; &lt;/P&gt;&lt;P&gt;e&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Gloves&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expected result.&lt;/P&gt;&lt;P&gt;If I selected Shirt, number of customer = 1 (cust c)&lt;/P&gt;&lt;P&gt;select gloves, number of customer = 1 (cust e) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 20:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-customer-that-only-buy-one-product/m-p/813213#M1049142</guid>
      <dc:creator />
      <dc:date>2014-11-11T20:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Count customer that only buy one product</title>
      <link>https://community.qlik.com/t5/QlikView/Count-customer-that-only-buy-one-product/m-p/813214#M1049143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Aggr(Count( Distinct customer), Item)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 00:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-customer-that-only-buy-one-product/m-p/813214#M1049143</guid>
      <dc:creator>jduenyas</dc:creator>
      <dc:date>2014-11-12T00:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Count customer that only buy one product</title>
      <link>https://community.qlik.com/t5/QlikView/Count-customer-that-only-buy-one-product/m-p/813215#M1049144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=COUNT({&amp;lt;Item = P(Item)&amp;gt;}DISTINCT customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 00:40:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-customer-that-only-buy-one-product/m-p/813215#M1049144</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-11-12T00:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: Count customer that only buy one product</title>
      <link>https://community.qlik.com/t5/QlikView/Count-customer-that-only-buy-one-product/m-p/813216#M1049145</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chart : Straight Table&lt;/P&gt;&lt;P&gt;Dimension: Customer&lt;/P&gt;&lt;P&gt;Expression: Sum({&amp;lt;Item =P(Item)&amp;gt;} Aggr(If(Count({&amp;lt;Item =&amp;gt;}DISTINCT Item) = 1, 1, 0), customer))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 03:52:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-customer-that-only-buy-one-product/m-p/813216#M1049145</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-11-12T03:52:16Z</dc:date>
    </item>
    <item>
      <title>Re: Count customer that only buy one product</title>
      <link>https://community.qlik.com/t5/QlikView/Count-customer-that-only-buy-one-product/m-p/813217#M1049146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=Count(DISTINCT {&amp;lt;customer=P(customer)&amp;gt;-&amp;lt;customer=P({&amp;lt;Item=E(Item)&amp;gt;})&amp;gt;}customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 04:49:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-customer-that-only-buy-one-product/m-p/813217#M1049146</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-12T04:49:10Z</dc:date>
    </item>
  </channel>
</rss>

