<?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: Calculate orders in a year groupby costumer in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Calculate-orders-in-a-year-groupby-costumer/m-p/1581321#M42458</link>
    <description>You need to define the Year field, then you can use the Group by function in the load script to aggregate the orders by year.&lt;BR /&gt;&lt;BR /&gt;eg.&lt;BR /&gt;Orders:&lt;BR /&gt;Load Customer,&lt;BR /&gt;           'Order ID',&lt;BR /&gt;          Date,&lt;BR /&gt;         Year(Date) as Year&lt;BR /&gt;From .....&lt;BR /&gt;&lt;BR /&gt;Load  'Order Id',&lt;BR /&gt;              Count('Order Id') as YearlyOrders&lt;BR /&gt;Resident Orders&lt;BR /&gt;Group by Year;&lt;BR /&gt;This will allow you to create a table showing as per above in your app.</description>
    <pubDate>Fri, 17 May 2019 00:20:54 GMT</pubDate>
    <dc:creator>Lisa_P</dc:creator>
    <dc:date>2019-05-17T00:20:54Z</dc:date>
    <item>
      <title>Calculate orders in a year groupby costumer</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-orders-in-a-year-groupby-costumer/m-p/1581089#M42444</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to do that in the load script to create a table with the customer and the number of orders in a year&lt;/P&gt;&lt;P&gt;something like this,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019-05-16_15h37_33.png" style="width: 276px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12184i4F587E460C9908B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019-05-16_15h37_33.png" alt="2019-05-16_15h37_33.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But I do not have any idea how to do that&lt;/P&gt;&lt;P&gt;Any advice or literature to investigate?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 13:38:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-orders-in-a-year-groupby-costumer/m-p/1581089#M42444</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2019-05-16T13:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate orders in a year groupby costumer</title>
      <link>https://community.qlik.com/t5/App-Development/Calculate-orders-in-a-year-groupby-costumer/m-p/1581321#M42458</link>
      <description>You need to define the Year field, then you can use the Group by function in the load script to aggregate the orders by year.&lt;BR /&gt;&lt;BR /&gt;eg.&lt;BR /&gt;Orders:&lt;BR /&gt;Load Customer,&lt;BR /&gt;           'Order ID',&lt;BR /&gt;          Date,&lt;BR /&gt;         Year(Date) as Year&lt;BR /&gt;From .....&lt;BR /&gt;&lt;BR /&gt;Load  'Order Id',&lt;BR /&gt;              Count('Order Id') as YearlyOrders&lt;BR /&gt;Resident Orders&lt;BR /&gt;Group by Year;&lt;BR /&gt;This will allow you to create a table showing as per above in your app.</description>
      <pubDate>Fri, 17 May 2019 00:20:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Calculate-orders-in-a-year-groupby-costumer/m-p/1581321#M42458</guid>
      <dc:creator>Lisa_P</dc:creator>
      <dc:date>2019-05-17T00:20:54Z</dc:date>
    </item>
  </channel>
</rss>

