<?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/548720#M204964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , i want to calculate the previous month sales in script&lt;/P&gt;&lt;P&gt;Please find attachment &lt;/P&gt;&lt;P&gt;can any body help me ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Jan 2014 14:13:55 GMT</pubDate>
    <dc:creator>preminqlik</dc:creator>
    <dc:date>2014-01-03T14:13:55Z</dc:date>
    <item>
      <title>Previous month Sales in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-month-Sales-in-Script/m-p/548720#M204964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , i want to calculate the previous month sales in script&lt;/P&gt;&lt;P&gt;Please find attachment &lt;/P&gt;&lt;P&gt;can any body help me ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 14:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-Sales-in-Script/m-p/548720#M204964</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-01-03T14:13:55Z</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/548721#M204965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Couldn't able to open your file. Refer the following.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/350909#350909"&gt;http://community.qlik.com/message/350909#350909&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Siva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 14:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-Sales-in-Script/m-p/548721#M204965</guid>
      <dc:creator>Siva_Sankar</dc:creator>
      <dc:date>2014-01-03T14:24:22Z</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/548722#M204966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to caclulate in script level...not in the front end..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 14:30:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-Sales-in-Script/m-p/548722#M204966</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-01-03T14:30:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Previous month Sales in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-month-Sales-in-Script/m-p/548723#M204967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Prem&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the attached what you are after ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 14:40:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-Sales-in-Script/m-p/548723#M204967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-03T14:40:16Z</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/548724#M204968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/11997"&gt;sivasankar&lt;/A&gt; hey kamal hasan thanks for sending some thing useful...but i have to calculate in script level....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/76197"&gt;Bill Markham&lt;/A&gt; thanks for looking to my question..am attaching screen shot as per your calculation ... please observe &lt;IMG alt="pre month.png" class="jive-image" src="/legacyfs/online/51065_pre month.png" style="width: 620px; height: 349px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks &lt;/P&gt;&lt;P&gt;Prem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 18:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-Sales-in-Script/m-p/548724#M204968</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-01-03T18:08:40Z</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/548725#M204969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Prem&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to slice and dice it over dimensions then why not do it in the GUI as Siva suggested &amp;amp; gave you the link for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if you do have a compelling reason to do it in the script then I would be curious to know what this reason is ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 18:16:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-Sales-in-Script/m-p/548725#M204969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-03T18:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Previous month Sales in Script</title>
      <link>https://community.qlik.com/t5/QlikView/Previous-month-Sales-in-Script/m-p/548726#M204970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To get what you desire in the script, you'll have to order by Item as well:&lt;/P&gt;&lt;P&gt;order by Item, Date;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would also change your Month field to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(Date, 'MMM YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so it separates the months by Year also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached. However it won't work unless you have an Item selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe like Bill and Siva mentions, you could just use an expression in chart.&lt;/P&gt;&lt;P&gt;Maybe an alternative to whats listed is to use the above function in a straight chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 18:31:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Previous-month-Sales-in-Script/m-p/548726#M204970</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-01-03T18:31:32Z</dc:date>
    </item>
  </channel>
</rss>

