<?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 How to calculate Previous Month Sales? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Previous-Month-Sales/m-p/693097#M250709</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 Month and Year in my data(no date) along with say Sales.&lt;/P&gt;&lt;P&gt;Now the requirement is to calculate Prev Month Sales data on the basis of the month selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how can I achieve this?&lt;/P&gt;&lt;P&gt;How should I go about creating the Master Calendar without the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S: I know I can use dummy date by finding out the minimum of year and calculating min and max dates and use it to create my Master Calendar, b&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ut is there some other way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Sabal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jul 2014 14:19:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-31T14:19:11Z</dc:date>
    <item>
      <title>How to calculate Previous Month Sales?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Previous-Month-Sales/m-p/693097#M250709</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 Month and Year in my data(no date) along with say Sales.&lt;/P&gt;&lt;P&gt;Now the requirement is to calculate Prev Month Sales data on the basis of the month selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how can I achieve this?&lt;/P&gt;&lt;P&gt;How should I go about creating the Master Calendar without the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S: I know I can use dummy date by finding out the minimum of year and calculating min and max dates and use it to create my Master Calendar, b&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ut is there some other way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Sabal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 14:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-Previous-Month-Sales/m-p/693097#M250709</guid>
      <dc:creator />
      <dc:date>2014-07-31T14:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Previous Month Sales?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Previous-Month-Sales/m-p/693098#M250710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sabal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use the makedate() function to generate a date from your year and month fields and use that as the basis for your master calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if you created your month field with the Month() function, you'll be able to use set analysis with &amp;lt;=Max(Month)&lt;/P&gt;&lt;P&gt;to get your prior months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 14:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-Previous-Month-Sales/m-p/693098#M250710</guid>
      <dc:creator />
      <dc:date>2014-07-31T14:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Previous Month Sales?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Previous-Month-Sales/m-p/693099#M250711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;I know I can use the MakeDate() function(dummy date) but I was wondering if there is any other way to create the Master Calendar(without the date).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 14:45:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-Previous-Month-Sales/m-p/693099#M250711</guid>
      <dc:creator />
      <dc:date>2014-07-31T14:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate Previous Month Sales?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-calculate-Previous-Month-Sales/m-p/693100#M250712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm not really, the whole idea of a master calendar is to generate from a date. Might be able to come up with a solution that doesn't require creating one though (and just use your current fields), are you able to knock an example together&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 15:40:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-calculate-Previous-Month-Sales/m-p/693100#M250712</guid>
      <dc:creator />
      <dc:date>2014-07-31T15:40:39Z</dc:date>
    </item>
  </channel>
</rss>

