<?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: Counting Customers with Multiple Products in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Counting-Customers-with-Multiple-Products/m-p/632212#M476451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then we could try using set analysis in our calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Aggr(if(Count({$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ProductType&lt;/SPAN&gt; = {'A', 'B'}&amp;gt;} Total Distinct &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ProductType&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;) &amp;gt; 1, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CustID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CustID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This expression will return only the costumers who have purchased both products A and B.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Can you upload a sample app so we can see the issue about the year dimension?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 May 2014 13:00:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-05-29T13:00:29Z</dc:date>
    <item>
      <title>Counting Customers with Multiple Products</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Customers-with-Multiple-Products/m-p/632207#M476446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi and thanks for the help I have searched Help &amp;amp; the community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My objective is to create a Pivot table which will show a variety of purchasing combinations which Count the transactions completed by each customer in the year the transaction took place, my problem is that I cant get the syntax of the expression correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a transaction table with multiple products, Fields are - TransID, CustID, TransDate, ProductType I have year as my dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if Customer 1 had purchased product A (2014) &amp;amp; B (2013) and customer 2 had bought product A (2014) only customer 1 would be included in the count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression Count ({$&amp;lt;ProductType={A,B}&amp;gt;}CustID) returns Product B sales - Even Explicit Count({$&amp;lt;ProductType = p {A,B}&amp;gt;CustID) doesn't return what I expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 12:06:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Customers-with-Multiple-Products/m-p/632207#M476446</guid>
      <dc:creator>pauledrich</dc:creator>
      <dc:date>2014-05-29T12:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Customers with Multiple Products</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Customers-with-Multiple-Products/m-p/632208#M476447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any Help Appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 12:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Customers-with-Multiple-Products/m-p/632208#M476447</guid>
      <dc:creator>pauledrich</dc:creator>
      <dc:date>2014-05-29T12:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Customers with Multiple Products</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Customers-with-Multiple-Products/m-p/632209#M476448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a pivot table you could just use CustID as a dimension and then use count(TransID) as an expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 12:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Customers-with-Multiple-Products/m-p/632209#M476448</guid>
      <dc:creator />
      <dc:date>2014-05-29T12:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Customers with Multiple Products</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Customers-with-Multiple-Products/m-p/632210#M476449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could try using a calculated dimension like this one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(if(Count(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ProductType&lt;/SPAN&gt;) &amp;gt; 1, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CustID&lt;/SPAN&gt;), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CustID&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 12:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Customers-with-Multiple-Products/m-p/632210#M476449</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-29T12:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Customers with Multiple Products</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Customers-with-Multiple-Products/m-p/632211#M476450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank Bruno &amp;amp; Robert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the Aggr in the expression previously which as you would expect does calculate customers correctly - however the introduction of year just doesn't fit my needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to show only the count of customers with the dimension of year who have purchased products A &amp;amp; B only not any other combination.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 12:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Customers-with-Multiple-Products/m-p/632211#M476450</guid>
      <dc:creator>pauledrich</dc:creator>
      <dc:date>2014-05-29T12:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Counting Customers with Multiple Products</title>
      <link>https://community.qlik.com/t5/QlikView/Counting-Customers-with-Multiple-Products/m-p/632212#M476451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then we could try using set analysis in our calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Aggr(if(Count({$&amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ProductType&lt;/SPAN&gt; = {'A', 'B'}&amp;gt;} Total Distinct &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ProductType&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;) &amp;gt; 1, &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CustID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CustID&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This expression will return only the costumers who have purchased both products A and B.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Can you upload a sample app so we can see the issue about the year dimension?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 May 2014 13:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Counting-Customers-with-Multiple-Products/m-p/632212#M476451</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-29T13:00:29Z</dc:date>
    </item>
  </channel>
</rss>

