<?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: Re: current month vs last year same month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714190#M1060442</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Following your expression for month vs month, year vs year should be:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;FiscalYear={$(=max(Num(Year(Date(Today())))-1)), $(=max(Num(Year(Date(Today())))))}, FiscalPeriod={$(=max(Num(Month(Date(Today())))))}&amp;gt;}Customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Sep 2014 08:14:16 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2014-09-29T08:14:16Z</dc:date>
    <item>
      <title>current month vs last year same month</title>
      <link>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714185#M1060436</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 showing current month vs last year same month &lt;/P&gt;&lt;P&gt;this code showing current month vs last month &lt;/P&gt;&lt;P&gt;sum({&amp;lt;FiscalPeriod={$(=max(Num(Month(Date(Today()))))),$(=max(Num(Month(Date(Today())))-1))}&amp;gt;}Customer)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want to make sure the above code is correct and how to get last year same month &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714185#M1060436</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2014-09-29T07:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: current month vs last year same month</title>
      <link>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714186#M1060437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;any help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:51:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714186#M1060437</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2014-09-29T07:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: current month vs last year same month</title>
      <link>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714187#M1060438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For this kind of comparisons, I always calculate a "MonthID" in the script:&lt;/P&gt;&lt;P&gt;(num(Year(Date))-1)*12 + Month(Date) as MonthID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your expressions you can use afterwards:&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;MonthID = {$(=Max(MonthID)-12)} &amp;gt;} Amount) for month in previous year&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;MonthID = {$(=Max(MonthID))} &amp;gt;} Amount) for month in current year&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714187#M1060438</guid>
      <dc:creator>geert_gelade</dc:creator>
      <dc:date>2014-09-29T07:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: current month vs last year same month</title>
      <link>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714188#M1060439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That expression executed today will show the sum of the 'Customer' field for Fiscal Period '9' and '8'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you upload a sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 07:55:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714188#M1060439</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-09-29T07:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Re: current month vs last year same month</title>
      <link>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714189#M1060441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;here it is&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 08:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714189#M1060441</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2014-09-29T08:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re: current month vs last year same month</title>
      <link>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714190#M1060442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Following your expression for month vs month, year vs year should be:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;FiscalYear={$(=max(Num(Year(Date(Today())))-1)), $(=max(Num(Year(Date(Today())))))}, FiscalPeriod={$(=max(Num(Month(Date(Today())))))}&amp;gt;}Customer)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 08:14:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714190#M1060442</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-09-29T08:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: current month vs last year same month</title>
      <link>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714191#M1060444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if i want to display current month and last year month in two charts how to split the code?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 08:18:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714191#M1060444</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2014-09-29T08:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: Re: current month vs last year same month</title>
      <link>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714192#M1060446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it showing current month only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 08:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714192#M1060446</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2014-09-29T08:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: current month vs last year same month</title>
      <link>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714193#M1060448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure to understand the requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made some graphs in attached doc. Hope one of those is what you're searching&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Sep 2014 08:53:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/current-month-vs-last-year-same-month/m-p/714193#M1060448</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-09-29T08:53:06Z</dc:date>
    </item>
  </channel>
</rss>

