<?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: get current month vs previous month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702120#M1062865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you don't want to change your script, I don't think you can select current month by using only FiscalPeriod in your set analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to add the FiscalYear as well. Like FiscalYear = Year(Today())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Sep 2014 07:51:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-26T07:51:31Z</dc:date>
    <item>
      <title>get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702098#M1062843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;i am trying to show current month vs previous month in bar chart &lt;/P&gt;&lt;P&gt;what i did is&lt;/P&gt;&lt;P&gt;sum({&amp;lt;FiscalPeriod={$(=max(FiscalPeriod)),$(=max(FiscalPeriod)-1)}&amp;gt;}Customer)&lt;/P&gt;&lt;P&gt;it shows maximum month and previous month &lt;/P&gt;&lt;P&gt;how can i show current vs previous month any help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 06:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702098#M1062843</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2014-09-26T06:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702099#M1062844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&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;FiscalPeriod={"&amp;lt;=$(=max(FiscalPeriod)) &amp;gt;=$(=max(FiscalPeriod)-1)"}&amp;gt;}Customer)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 06:39:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702099#M1062844</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2014-09-26T06:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702100#M1062845</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 showing the same &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 06:42:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702100#M1062845</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2014-09-26T06:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702101#M1062846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are the values in your &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;FiscalPeriod&lt;/SPAN&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u post a sample data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 06:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702101#M1062846</guid>
      <dc:creator>sushil353</dc:creator>
      <dc:date>2014-09-26T06:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702102#M1062847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think , you can get the current month and then compare.&lt;/P&gt;&lt;P&gt;like something below:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;FiscalPeriod={"&amp;lt;=$(=Month(date(today()))) &amp;gt;=$(=Month(date(today()))-1)"}&amp;gt;}Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if format is different ,change the format of month accordingly.&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;Raksha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 06:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702102#M1062847</guid>
      <dc:creator />
      <dc:date>2014-09-26T06:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702103#M1062848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;months&lt;/P&gt;&lt;P&gt;1 2 3 4 5 6 7 8 9 10 11 12&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 06:55:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702103#M1062848</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2014-09-26T06:55:18Z</dc:date>
    </item>
    <item>
      <title>Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702104#M1062849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you post sample qvw&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 06:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702104#M1062849</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-09-26T06:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702105#M1062850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like &lt;/P&gt;&lt;P&gt;Sum({&amp;lt;FiscalPeriod={"&amp;gt;=$(=MonthStart(AddMonths(Max(FiscalPeriod),-1))) &amp;lt;=$(=Max(FiscalPeriod))"} &amp;gt;} Customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 06:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702105#M1062850</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-09-26T06:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702106#M1062851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it shows every month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702106#M1062851</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2014-09-26T07:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702107#M1062852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:06:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702107#M1062852</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2014-09-26T07:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702108#M1062853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached sample QVW . Hope this helps.&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;Raksha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702108#M1062853</guid>
      <dc:creator />
      <dc:date>2014-09-26T07:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702109#M1062854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry using personal edition &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you post the code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:13:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702109#M1062854</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2014-09-26T07:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702110#M1062855</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;Your FisicalPeriod only include the Month part of the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to create another field using MonthStart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can select current month instead of like September for every previous years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702110#M1062855</guid>
      <dc:creator />
      <dc:date>2014-09-26T07:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702111#M1062856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&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;FiscalPeriod={'$(=Max(FiscalPeriod)-1)), $(=Max(FiscalPeriod))'} &amp;gt;} Customer)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702111#M1062856</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-09-26T07:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702112#M1062857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it shows nothing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702112#M1062857</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2014-09-26T07:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702113#M1062858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you show me how&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:26:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702113#M1062858</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2014-09-26T07:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702114#M1062859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write 2 expression:&lt;/P&gt;&lt;P&gt;1st for Current Month:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;FiscalPeriod={"=$(=max(FiscalPeriod))"}&amp;gt;}Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd for Previous Month:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;FiscalPeriod={"=$(=max(FiscalPeriod)-1)"}&amp;gt;}Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702114#M1062859</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-09-26T07:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702115#M1062860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try like:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit;"&gt;Sum({&amp;lt;FiscalPeriod={$(=Max(FiscalPeriod)-1)), $(=Max(FiscalPeriod))} &amp;gt;} Customer)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:28:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702115#M1062860</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2014-09-26T07:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702116#M1062861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your script looks good to me.&lt;/P&gt;&lt;P&gt;Max(month) and current (month)&amp;nbsp; will be same. if you dont have entries of current month then you wont be able to get current month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702116#M1062861</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-09-26T07:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re: get current month vs previous month</title>
      <link>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702117#M1062862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;its showing every month&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Sep 2014 07:31:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/get-current-month-vs-previous-month/m-p/702117#M1062862</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2014-09-26T07:31:29Z</dc:date>
    </item>
  </channel>
</rss>

