<?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 Calculating prior month based on selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculating-prior-month-based-on-selection/m-p/543719#M1140534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calculating sum for current month and prior month based on the selection, for if I select 2013 January, it calculate Revenue&amp;nbsp; for 2013 january under current month and 2012 december for prior month. As soon as I select the current month it automatically calculates for current month.How do we calculate for prior month?&amp;nbsp; if I select the month for Jan 2013 it should calculare for december 2012. I really need help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Sep 2013 02:21:25 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-20T02:21:25Z</dc:date>
    <item>
      <title>Calculating prior month based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-prior-month-based-on-selection/m-p/543719#M1140534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am calculating sum for current month and prior month based on the selection, for if I select 2013 January, it calculate Revenue&amp;nbsp; for 2013 january under current month and 2012 december for prior month. As soon as I select the current month it automatically calculates for current month.How do we calculate for prior month?&amp;nbsp; if I select the month for Jan 2013 it should calculare for december 2012. I really need help on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 02:21:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-prior-month-based-on-selection/m-p/543719#M1140534</guid>
      <dc:creator />
      <dc:date>2013-09-20T02:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating prior month based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-prior-month-based-on-selection/m-p/543720#M1140535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF you have a Date Dimension try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({&amp;lt;YearDimension=, MonthDimension=, Date={'&amp;gt;=$(=MonthStart(Max(Date), -1))&amp;lt;=$(=MonthEnd(Max(Date), -1))'}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&amp;nbsp; If not works can you attach some sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 02:28:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-prior-month-based-on-selection/m-p/543720#M1140535</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-09-20T02:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating prior month based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-prior-month-based-on-selection/m-p/543721#M1140536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works like a Champ Jagan, Thank you Sir!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 12:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-prior-month-based-on-selection/m-p/543721#M1140536</guid>
      <dc:creator />
      <dc:date>2013-09-20T12:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating prior month based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-prior-month-based-on-selection/m-p/543722#M1140537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close this discussion if it helps you by giving correct answer to my post.&amp;nbsp; It helps others in finding the answers for similar type of solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 14:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-prior-month-based-on-selection/m-p/543722#M1140537</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-09-20T14:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating prior month based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-prior-month-based-on-selection/m-p/543723#M1140538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to close the discussion here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 15:00:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-prior-month-based-on-selection/m-p/543723#M1140538</guid>
      <dc:creator />
      <dc:date>2013-09-20T15:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating prior month based on selection</title>
      <link>https://community.qlik.com/t5/QlikView/Calculating-prior-month-based-on-selection/m-p/543724#M1140539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please click the Correct Answer to my post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Sep 2013 15:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculating-prior-month-based-on-selection/m-p/543724#M1140539</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-09-20T15:54:41Z</dc:date>
    </item>
  </channel>
</rss>

