<?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: Current Fiscal Month vs Previous Fiscal Month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-Fiscal-Month-vs-Previous-Fiscal-Month/m-p/569397#M212206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you have a Date field that I assume contains data values you can try these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current month:&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;PostingYear=,PostingMonthName=,Date={'&amp;gt;=$(=monthstart(max(Date)))&amp;lt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(=monthend(max(Date)))&lt;/SPAN&gt;'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RMSFGIssueQty&lt;/SPAN&gt;)*-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Previous month:&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;PostingYear=,PostingMonthName=,Date={'&amp;gt;=$(=monthstart(max(Date),-1))&amp;lt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(=monthend(max(Date),-1))&lt;/SPAN&gt;'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RMSFGIssueQty&lt;/SPAN&gt;)*-1&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Jan 2014 13:15:59 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2014-01-26T13:15:59Z</dc:date>
    <item>
      <title>Current Fiscal Month vs Previous Fiscal Month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Fiscal-Month-vs-Previous-Fiscal-Month/m-p/569393#M212202</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 am facing one Issue in the Comparison of the Current Month vs Previous Month according to the Fiscal Year Issue is that&amp;nbsp; when I select Apr 2013 then its show the value of the apr 2013 but for the previous month ie Mar 2012 shows zero .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one tell me the solution.??&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>Sun, 26 Jan 2014 11:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Fiscal-Month-vs-Previous-Fiscal-Month/m-p/569393#M212202</guid>
      <dc:creator />
      <dc:date>2014-01-26T11:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Current Fiscal Month vs Previous Fiscal Month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Fiscal-Month-vs-Previous-Fiscal-Month/m-p/569394#M212203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What expression you are using for calculating Previous Month? Is it just a Month-1 or you are calculating on the basis of Financial year? Can you provide your sample example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Yojas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jan 2014 11:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Fiscal-Month-vs-Previous-Fiscal-Month/m-p/569394#M212203</guid>
      <dc:creator />
      <dc:date>2014-01-26T11:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Current Fiscal Month vs Previous Fiscal Month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Fiscal-Month-vs-Previous-Fiscal-Month/m-p/569395#M212204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yojas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the expression below I am using Financial Year like 2012 ,2013.. its start from the april as I mentioned above I need Current Fiscal Month vs Previous Fiscal Month or It also need to work across the year like when I select Apr 2013 for Current Month its shows the value for April 2013 and In the previous month its will show the value of march 2012.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the Current Month &lt;/P&gt;&lt;P&gt;sum({&amp;lt;PostingYear={$(=year(yearname(date(max(Date)),0,4)))},PostingMonthName={$(=Month(Max(Date)))}&amp;gt;}RMSFGIssueQty)*-1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for the previous month&lt;/P&gt;&lt;P&gt;=sum({&amp;lt;PostingYear={$(=year(yearname(date(max(Date)),0,4)))},PostingMonthName={$(=month(addmonths((max(Date)),-1)))}&amp;gt;}RMSFGIssueQty)*-1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jan 2014 12:07:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Fiscal-Month-vs-Previous-Fiscal-Month/m-p/569395#M212204</guid>
      <dc:creator />
      <dc:date>2014-01-26T12:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Current Fiscal Month vs Previous Fiscal Month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Fiscal-Month-vs-Previous-Fiscal-Month/m-p/569396#M212205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It seems to me your 2nd formula wouldn't bring values of March 2012 but May 2013. You can try:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=sum({&amp;lt;PostingYear={$(=Year(Addmonths(Max(Date),13)))},PostingMonthName={$(=Month(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Addmonths(Max(Date),13)))&lt;/SPAN&gt;}&amp;gt;}RMSFGIssueQty)*-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jan 2014 12:50:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Fiscal-Month-vs-Previous-Fiscal-Month/m-p/569396#M212205</guid>
      <dc:creator />
      <dc:date>2014-01-26T12:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Current Fiscal Month vs Previous Fiscal Month</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Fiscal-Month-vs-Previous-Fiscal-Month/m-p/569397#M212206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you have a Date field that I assume contains data values you can try these:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current month:&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;PostingYear=,PostingMonthName=,Date={'&amp;gt;=$(=monthstart(max(Date)))&amp;lt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(=monthend(max(Date)))&lt;/SPAN&gt;'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RMSFGIssueQty&lt;/SPAN&gt;)*-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Previous month:&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({&amp;lt;PostingYear=,PostingMonthName=,Date={'&amp;gt;=$(=monthstart(max(Date),-1))&amp;lt;=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(=monthend(max(Date),-1))&lt;/SPAN&gt;'}&amp;gt;}&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;RMSFGIssueQty&lt;/SPAN&gt;)*-1&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Jan 2014 13:15:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Fiscal-Month-vs-Previous-Fiscal-Month/m-p/569397#M212206</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-01-26T13:15:59Z</dc:date>
    </item>
  </channel>
</rss>

