<?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 Previous Month Sales in Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Previous-Month-Sales-in-Script/m-p/1294266#M404217</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;&lt;/P&gt;&lt;P&gt;I have an requirement to add Previous Month Sales in the Total Sales . Total Sales is Last Plan Sales +Previous Month Actual Sales . I was calculating all of this in Qlikview Script.&amp;nbsp; In my table two dates field are present such as Calendar Year ,Calendar-YearMonth having Value Like 201701,201702,201703 and so on. So, I want to find out previous month Sales so I can add it and calculate Total Sales .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me any Idea to achieve this . Thanks in advance !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jun 2017 17:09:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-06-28T17:09:36Z</dc:date>
    <item>
      <title>Previous Month Sales in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-Sales-in-Script/m-p/1294266#M404217</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;&lt;/P&gt;&lt;P&gt;I have an requirement to add Previous Month Sales in the Total Sales . Total Sales is Last Plan Sales +Previous Month Actual Sales . I was calculating all of this in Qlikview Script.&amp;nbsp; In my table two dates field are present such as Calendar Year ,Calendar-YearMonth having Value Like 201701,201702,201703 and so on. So, I want to find out previous month Sales so I can add it and calculate Total Sales .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me any Idea to achieve this . Thanks in advance !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 17:09:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-Sales-in-Script/m-p/1294266#M404217</guid>
      <dc:creator />
      <dc:date>2017-06-28T17:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Previous Month Sales in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-Month-Sales-in-Script/m-p/1294267#M404218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;something like this&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;if(Isnull(peek(Sales)),0,peek(Sales))+Sales as TotalSales;&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Calendar-YearMonth,Sales&lt;/P&gt;&lt;P&gt;201701,250&lt;/P&gt;&lt;P&gt;201702,350&lt;/P&gt;&lt;P&gt;201703,450&lt;/P&gt;&lt;P&gt;201704,550&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jun 2017 18:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-Month-Sales-in-Script/m-p/1294267#M404218</guid>
      <dc:creator>aarkay29</dc:creator>
      <dc:date>2017-06-28T18:01:47Z</dc:date>
    </item>
  </channel>
</rss>

