<?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 Last 3 months Sales in Load Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculate-Last-3-months-Sales-in-Load-Script/m-p/1625593#M446093</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you got any solution for this, as I have the same requirement.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2019 07:43:46 GMT</pubDate>
    <dc:creator>renuka_sasikumar</dc:creator>
    <dc:date>2019-09-19T07:43:46Z</dc:date>
    <item>
      <title>Calculate Last 3 months Sales in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Last-3-months-Sales-in-Load-Script/m-p/27762#M4634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the requirement from one of our client. Need to take last 3 months Sales dynamically in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If user selects Apr 2018, Jan / Feb / Mar 2018 total sum should be derived and then Avg should be calculated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan 2018 = 500&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feb 2018 = 600&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mar 2018 = 700&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total Sum = 1800&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg = 1800/3 = 600&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Target = 600 * 5%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help in calculating Total sum and Avg of last three months of all selections dynamically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It should be created in script instead of front end (Set analysis). Because after Avg calc. it will be used for Target calc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Kalyan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 18:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Last-3-months-Sales-in-Load-Script/m-p/27762#M4634</guid>
      <dc:creator>kalyandg</dc:creator>
      <dc:date>2018-05-29T18:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Last 3 months Sales in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Last-3-months-Sales-in-Load-Script/m-p/27763#M4635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to do that in script? then use input variable on the UI to take the value and do a dynamic reload.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 20:57:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Last-3-months-Sales-in-Load-Script/m-p/27763#M4635</guid>
      <dc:creator>Qrishna</dc:creator>
      <dc:date>2018-05-29T20:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Last 3 months Sales in Load Script</title>
      <link>https://community.qlik.com/t5/QlikView/Calculate-Last-3-months-Sales-in-Load-Script/m-p/1625593#M446093</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Did you got any solution for this, as I have the same requirement.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2019 07:43:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculate-Last-3-months-Sales-in-Load-Script/m-p/1625593#M446093</guid>
      <dc:creator>renuka_sasikumar</dc:creator>
      <dc:date>2019-09-19T07:43:46Z</dc:date>
    </item>
  </channel>
</rss>

