<?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 Cross Pollination First Order vs Second Order in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Cross-Pollination-First-Order-vs-Second-Order/m-p/918913#M318517</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;I have a challenging question (I hope).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to check the share of recurring customers how purchase from a new product category on their second purchase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached some dummy data, which could be read the following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer A purchased Clothes both on her first and second order, which would mean "No Cross Pollination"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer B purchases Electronics both on her first and order, which would mean "No Cross Pollination"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer C purchases Books the first time and then Clothes, which would mean "Cross Pollination"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer D purchases Clothes the first time and then Books, which would mean "Cross Pollination".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would mean a result of 50% (2 out of 4 customers) Cross Pollination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how would I get this number in QlikView? To make it more complex I would of course have 100000+ customers and 10+categories and you could purchase from several categories already the first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Aug 2015 12:24:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-11T12:24:17Z</dc:date>
    <item>
      <title>Cross Pollination First Order vs Second Order</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Pollination-First-Order-vs-Second-Order/m-p/918913#M318517</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;I have a challenging question (I hope).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to check the share of recurring customers how purchase from a new product category on their second purchase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached some dummy data, which could be read the following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer A purchased Clothes both on her first and second order, which would mean "No Cross Pollination"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer B purchases Electronics both on her first and order, which would mean "No Cross Pollination"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer C purchases Books the first time and then Clothes, which would mean "Cross Pollination"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer D purchases Clothes the first time and then Books, which would mean "Cross Pollination".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would mean a result of 50% (2 out of 4 customers) Cross Pollination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how would I get this number in QlikView? To make it more complex I would of course have 100000+ customers and 10+categories and you could purchase from several categories already the first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 12:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Pollination-First-Order-vs-Second-Order/m-p/918913#M318517</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-11T12:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Pollination First Order vs Second Order</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Pollination-First-Order-vs-Second-Order/m-p/918914#M318518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should give you that first 'uncomplicated' number:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;Customer={"=count(distinct Category)&amp;gt;1"}&amp;gt;}DISTINCT Customer)/count(DISTINCT TOTAL Customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 12:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Pollination-First-Order-vs-Second-Order/m-p/918914#M318518</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-08-11T12:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Pollination First Order vs Second Order</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Pollination-First-Order-vs-Second-Order/m-p/918915#M318519</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;I agree that this is the "uncomplicated" number showing share of customers who are purchasing from several categories, but it does not solve the question wether they have switched categories between first and second order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neither does it handle the situation when first and second orders are the same, but order three is in a new category.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a general overview of multi-category purchase share it is still fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 12:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Pollination-First-Order-vs-Second-Order/m-p/918915#M318519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-11T12:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Cross Pollination First Order vs Second Order</title>
      <link>https://community.qlik.com/t5/QlikView/Cross-Pollination-First-Order-vs-Second-Order/m-p/918916#M318520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You Need to provide a flag during script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with this script you get at least that second (or third or later on)&amp;nbsp; that custome rboght a product from other category&lt;/P&gt;&lt;P&gt;you may adapt it to your reequirements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;TEST:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;INLINE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[&lt;BR /&gt; Customer, Category, Order Rank, Order Id&lt;BR /&gt; A, Clothes, 1, 1&lt;BR /&gt; B, Electronics, 1, 2&lt;BR /&gt; C, Books, 1, 3&lt;BR /&gt; D, Clothes, 1, 4&lt;BR /&gt; A, Clothes, 2, 5&lt;BR /&gt; B, Electronics, 2, 6&lt;BR /&gt; C, Clothes, 2, 7&lt;BR /&gt; D, Books, 2, 8&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; TEST1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; *&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; TEST&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;order&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Customer&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Order Rank]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; TEST2:&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;NoConcatenate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; *,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Customer&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;previous&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Customer&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Category&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;previous&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Category&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),1,0) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;ChangeFlag&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; TEST1;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;drop&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;tables&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; TEST, TEST1; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2015 12:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Cross-Pollination-First-Order-vs-Second-Order/m-p/918916#M318520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-11T12:51:58Z</dc:date>
    </item>
  </channel>
</rss>

