<?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 Script to create a rolling 12 month value. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-to-create-a-rolling-12-month-value/m-p/1672679#M593458</link>
    <description>&lt;P&gt;I have a table of information that contains Cust#, Year, Month, SalesTotal.&amp;nbsp; The client wants to classify the customers over a rolling period of the prior 12 months.&amp;nbsp; They want to see how the customer ranks using a rolling 12 month of sales.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For example in&lt;/P&gt;&lt;P&gt;Jan 2020 = sum( Dec 2019 to Dec 2018)&lt;/P&gt;&lt;P&gt;Dec 2019 = sum(Nov 2019 to Nov 2018)&lt;/P&gt;&lt;P&gt;Nov 2019 = sum(Oct 2019 to Oct 2018)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I create a script that will create the following table&lt;/P&gt;&lt;P&gt;customer&lt;/P&gt;&lt;P&gt;Current month&lt;/P&gt;&lt;P&gt;prior 12 months sales&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:20:41 GMT</pubDate>
    <dc:creator>scott_simmons</dc:creator>
    <dc:date>2024-11-16T01:20:41Z</dc:date>
    <item>
      <title>Script to create a rolling 12 month value.</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-create-a-rolling-12-month-value/m-p/1672679#M593458</link>
      <description>&lt;P&gt;I have a table of information that contains Cust#, Year, Month, SalesTotal.&amp;nbsp; The client wants to classify the customers over a rolling period of the prior 12 months.&amp;nbsp; They want to see how the customer ranks using a rolling 12 month of sales.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For example in&lt;/P&gt;&lt;P&gt;Jan 2020 = sum( Dec 2019 to Dec 2018)&lt;/P&gt;&lt;P&gt;Dec 2019 = sum(Nov 2019 to Nov 2018)&lt;/P&gt;&lt;P&gt;Nov 2019 = sum(Oct 2019 to Oct 2018)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I create a script that will create the following table&lt;/P&gt;&lt;P&gt;customer&lt;/P&gt;&lt;P&gt;Current month&lt;/P&gt;&lt;P&gt;prior 12 months sales&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-create-a-rolling-12-month-value/m-p/1672679#M593458</guid>
      <dc:creator>scott_simmons</dc:creator>
      <dc:date>2024-11-16T01:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Script to create a rolling 12 month value.</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-create-a-rolling-12-month-value/m-p/1672689#M593459</link>
      <description>&lt;P&gt;Take a look&amp;nbsp; at the HIC blog post "The As-of-table". It is a quite good approach for enabling R12 calculations.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-As-Of-Table/ba-p/1466130&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 20:06:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-create-a-rolling-12-month-value/m-p/1672689#M593459</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2020-02-05T20:06:29Z</dc:date>
    </item>
  </channel>
</rss>

