<?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: Group orders by customers order count in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-orders-by-customers-order-count/m-p/421700#M570779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any way to solve this in the script instead?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Sep 2012 07:12:01 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-09-20T07:12:01Z</dc:date>
    <item>
      <title>Group orders by customers order count</title>
      <link>https://community.qlik.com/t5/QlikView/Group-orders-by-customers-order-count/m-p/421697#M570776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with orders which contains OrderDate, OrderNumber and CustomerNr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want a chart similar to the image. The first column should group customers order count. Meaning the first row, 1, should show every customers first order. 2 should show only "2nd orders". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="22128" class="jive-image-thumbnail jive-image" onclick="" alt="tmpscreen.JPG" src="https://community.qlik.com/legacyfs/online/22128_tmpscreen.JPG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression i have used so far, as a dimension, is: Aggr(RowNo(), CustomerNr, OrderDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I cant get it right. As you see, the order isnt correct if you look at the dates. Customer 001015534 have made two orders. The order made 2010-12-10 should be the 1st and the order 2012-05-24 the 2nd. Now its the other way around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I fix this? Is it better to solve in the script and how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 11:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-orders-by-customers-order-count/m-p/421697#M570776</guid>
      <dc:creator />
      <dc:date>2012-09-19T11:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Group orders by customers order count</title>
      <link>https://community.qlik.com/t5/QlikView/Group-orders-by-customers-order-count/m-p/421698#M570777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I guess that Aggr() function uses LoadOrder for sorting.&lt;/P&gt;&lt;P&gt;Try to order your data by OrderDate in script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 11:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-orders-by-customers-order-count/m-p/421698#M570777</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-09-19T11:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Group orders by customers order count</title>
      <link>https://community.qlik.com/t5/QlikView/Group-orders-by-customers-order-count/m-p/421699#M570778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi whiteline&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this but still the same results.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 11:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-orders-by-customers-order-count/m-p/421699#M570778</guid>
      <dc:creator />
      <dc:date>2012-09-19T11:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Group orders by customers order count</title>
      <link>https://community.qlik.com/t5/QlikView/Group-orders-by-customers-order-count/m-p/421700#M570779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any way to solve this in the script instead?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 07:12:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-orders-by-customers-order-count/m-p/421700#M570779</guid>
      <dc:creator />
      <dc:date>2012-09-20T07:12:01Z</dc:date>
    </item>
  </channel>
</rss>

