<?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: Re: Count combination of dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Count-combination-of-dimension/m-p/533689#M1126736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi BBI,&lt;/P&gt;&lt;P&gt;Check this attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Dec 2013 08:15:14 GMT</pubDate>
    <dc:creator>jvishnuram</dc:creator>
    <dc:date>2013-12-30T08:15:14Z</dc:date>
    <item>
      <title>Count combination of dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-combination-of-dimension/m-p/533686#M1126733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in my application I have orders with products, I need to count the orders with single products or combinations of product.&lt;/P&gt;&lt;P&gt;For example I have OrderID O0001 with product P1 and P2, so I would count this order for the combination of P1 and P2 (P1+2), Order O0002 has only the product P2, so I count this order as P2, O0003 will be counted for P2+3+4...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the attached file a sample, the expeted result is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;combination&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;nbsp; orders count&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 161px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="19" width="90"&gt;&lt;P&gt;P1&lt;/P&gt;&lt;/TD&gt;&lt;TD align="right" width="71"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19"&gt;P1+2&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19"&gt;P1+3+4+6&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19"&gt;P2&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19"&gt;P2+3+4&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19"&gt;P3&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19"&gt;P3+4&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19"&gt;P3+4+6&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19"&gt;P3+6&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19"&gt;P4&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19"&gt;P4+5+7&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19"&gt;P5&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19"&gt;P5+7&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19"&gt;P6&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="19"&gt;P7&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 07:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-combination-of-dimension/m-p/533686#M1126733</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2013-12-30T07:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Count combination of dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-combination-of-dimension/m-p/533687#M1126734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi BBI,&lt;/P&gt;&lt;P&gt;I was trying your requirement, it was quiet complex and one thing i want to suggest to you., see the attachment below in that table i have made a pivot in which the orderid which is in bolder is having more than one contribution of the products. can you please check if it is fine for you or not.&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 07:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-combination-of-dimension/m-p/533687#M1126734</guid>
      <dc:creator>jvishnuram</dc:creator>
      <dc:date>2013-12-30T07:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Count combination of dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-combination-of-dimension/m-p/533688#M1126735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, in your solution I can see which orders have more products, but I need to count every product combination. The question is: in how many orders I sell P1&amp;amp;P2? and P3&amp;amp;P4? and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I have to create a cross table in the script, and then flags every order for the correct combination...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 08:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-combination-of-dimension/m-p/533688#M1126735</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2013-12-30T08:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Count combination of dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-combination-of-dimension/m-p/533689#M1126736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi BBI,&lt;/P&gt;&lt;P&gt;Check this attachment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 08:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-combination-of-dimension/m-p/533689#M1126736</guid>
      <dc:creator>jvishnuram</dc:creator>
      <dc:date>2013-12-30T08:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count combination of dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-combination-of-dimension/m-p/533690#M1126737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! I removed the dimension OrderID and using a calculated dimension =aggr(Concat(DISTINCT Product,'+'), OrderID) I obtain the correct result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 08:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-combination-of-dimension/m-p/533690#M1126737</guid>
      <dc:creator>bbi_mba_76</dc:creator>
      <dc:date>2013-12-30T08:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Count combination of dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Count-combination-of-dimension/m-p/533691#M1126738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting solution but doesn't give all possible combinations of bought products, let's say for orde O0007:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P1+P3&lt;/P&gt;&lt;P&gt;P1+P4&lt;/P&gt;&lt;P&gt;P1+P6&lt;/P&gt;&lt;P&gt;P3+P4&lt;/P&gt;&lt;P&gt;P3+P6&lt;/P&gt;&lt;P&gt;P4+P6&lt;/P&gt;&lt;P&gt;P1+P3+P4&lt;/P&gt;&lt;P&gt;P1+P3+P6&lt;/P&gt;&lt;P&gt;P1+P4+P6&lt;/P&gt;&lt;P&gt;P3+P4+P6&lt;/P&gt;&lt;P&gt;P1+P3+P4+P6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further idea? I guess therefor a complex script loop would be needed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 18:51:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Count-combination-of-dimension/m-p/533691#M1126738</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-07-17T18:51:31Z</dc:date>
    </item>
  </channel>
</rss>

