<?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: Last Year MTD Issue using Flags in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700420#M252817</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will send a sample app ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Aug 2014 11:50:31 GMT</pubDate>
    <dc:creator>simongoodman</dc:creator>
    <dc:date>2014-08-04T11:50:31Z</dc:date>
    <item>
      <title>Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700411#M252808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used flags in the script to create a number of periods. The Last Year MTD is not working as expected. For example if the current MTD runs 28-07-2014 to 01-08-2014, Last Year MTD selects the dates 28-07-2013 to 30-08-2013 (The full month).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the script&lt;/P&gt;&lt;P&gt;//Creating variables element. ‘TodayValues’ is tmp table that takes calendar data from excel.&lt;/P&gt;&lt;P&gt;LET vToday = TODAY(); LET vTodayFinYear = PEEK('Financial Year',-1,'TodayValues');&lt;/P&gt;&lt;P&gt;LET vTodayMonth = Peek('Accounting Month',-1,'TodayValues');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//In Master Calendar element&lt;/P&gt;&lt;P&gt;If([Financial Year] = $(vTodayFinYear)-1 and [Accounting Month]= $(vTodayMonth), 1, 0)&amp;nbsp; as Cal.IsthisPeriodLastYear,&lt;/P&gt;&lt;P&gt;if([Financial Year] = $(vTodayFinYear) and [Accounting Month] = $(vTodayMonth), 1, 0) as Cal.IsThisPeriod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why does this happen and what is the solution? Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 13:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700411#M252808</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2014-08-01T13:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700412#M252809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello simon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is happening because you are comparing only the months and not the days.&lt;/P&gt;&lt;P&gt;In your first expression: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If([Financial Year] = $(vTodayFinYear)-1 and [Accounting Month]= $(vTodayMonth), 1, 0)&amp;nbsp; as Cal.IsthisPeriodLastYear&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;you are marking with "1" the whole month of august of 2013 (knowing that today is Aug 1st 2014).&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;What you should do is the following:&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LOAD&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(DATE &amp;gt;= monthstart(today()) and DATE &amp;lt;= TODAY()), 1,0)&amp;nbsp; as currentMTD,&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(DATE &amp;gt;= ADDMONTHS(monthstart(TODAY()), -12) and DATE &amp;lt;=ADDMONTHS(TODAY(),-12), 1,0) as LastYearMTD&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;/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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;JV&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;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 14:15:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700412#M252809</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2014-08-01T14:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700413#M252810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;JV thanks for the explanation. I do not think solution will work in this case because the start of the current month is the 28-07-2014, i.e. a Monday and for Last Year the 29-07-2013. So the working month ('Acounting Month')shifts around. That is why I loaded in the original excel calendar. Can "If([Financial Year] = $(vTodayFinYear)-1 and [Accounting Month]= $(vTodayMonth), 1, 0)&amp;nbsp; as Cal.IsthisPeriodLastYear" be amended? Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 14:48:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700413#M252810</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2014-08-01T14:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700414#M252811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon, I see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can try something like this:&lt;/P&gt;&lt;P&gt;&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; "If([Financial Year] = $(vTodayFinYear)-1 and [Accounting Month]= $(vTodayMonth) AND FiscalDate &amp;lt;= makedate(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(vTodayFinYear)-1&lt;/SPAN&gt;, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;$(vTodayMonth)&lt;/SPAN&gt;, day(today())&amp;nbsp; ,&amp;nbsp; 1, 0)&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;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;JV&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Aug 2014 15:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700414#M252811</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2014-08-01T15:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700415#M252812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your earlier version &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;"If([Financial Year] = $(vTodayFinYear)-1 and [Accounting Month]= $(vTodayMonth) AND day(FinancialDate) = day(today()-1)&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; line-height: 1.5em; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;, 1, 0)&amp;nbsp; as Cal.IsthisPeriodLastYear"&lt;/SPAN&gt; just returned one date .based on = day(today()-1)&lt;SPAN style="color: #3d3d3d; font-family: Helvetica; background-color: #f6f6f6;"&gt; which makes sense to me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With "If([Financial Year] = $(vTodayFinYear)-1 and [Accounting Month]= $(vTodayMonth) AND FiscalDate &amp;lt;= makedate(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt;$(vTodayFinYear)-1&lt;/SPAN&gt;, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif;"&gt;$(vTodayMonth)&lt;/SPAN&gt;, day(today())&amp;nbsp; ,&amp;nbsp; 1, 0)" it would not run successfully. The Error message read "Error in Expression: MakeDate takes 1-3 parameters. Have you any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 08:45:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700415#M252812</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2014-08-04T08:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700416#M252813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simon,&lt;/P&gt;&lt;P&gt;There is nothing to do with Day here. I believe the Accounting Month is already linking with month start and month end date in calendar. MTD flags looks fine to me for both last year and current year. There could be something else which is causing issue. If possible provide your app with scrambled data to look into it.&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, 04 Aug 2014 09:27:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700416#M252813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-04T09:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700417#M252814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon, it's easier if you can give me the app or at least a sample app. the error seems to be in the expression but I'm not sure how you are using. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 09:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700417#M252814</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2014-08-04T09:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700418#M252815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satyadev, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can you know that things are linked in a calendar table if you don't even see the application?&lt;/P&gt;&lt;P&gt;On the other hand the&amp;nbsp; problem is indeed with the day. If you take a look at his expression, he's returning the whole month of current month (Aug) but for last year, but he actually wants to return MTD last year. If today is Aug 4, he wants from July 27th 2013 to Aug 4th 2013.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 09:45:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700418#M252815</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2014-08-04T09:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700419#M252816</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 might be wrong &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; but please read Simon's statement below. He is looking for last year full month data not till Aug 4th 2013.&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;"For example if the current MTD runs 28-07-2014 to 01-08-2014, Last Year MTD selects the dates &lt;STRONG&gt;28-07-2013 to 30-08-2013 (The full month)&lt;/STRONG&gt;."&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 09:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700419#M252816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-08-04T09:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700420#M252817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JV&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will send a sample app ASAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 11:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700420#M252817</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2014-08-04T11:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700421#M252818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Hi JV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;Attached is a sample qvw. In the script I have commented out your suggestion so there is data loaded. If you comment out my original script and try yours you will get the error as mentioned.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;// If([Financial Year] = $(vTodayFinYear)-1 and [Accounting Month]= $(vTodayMonth) AND Date &amp;lt;=$(vTodayFinYear)-1, $(vTodayMonth), day(today()), 1, 0) as Cal.IsthisPeriodLastYear, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;In the qvw you can track the Cal.ISthisPeriodLastYear flag which runs 29-07-2013 and not 03-08-2013 as required.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;For some reason this sample qvw has picked up '-' in date and assigned flags.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Simon&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 14:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700421#M252818</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2014-08-04T14:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700422#M252819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon, could you please confirm what you want to see in MTD last year? (tell me exactly the dates last year for today's date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 14:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700422#M252819</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2014-08-04T14:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700423#M252820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi JV&lt;/P&gt;&lt;P&gt;Yes I am looking for MTD Last Year. This Years MTD with the sample should run 28-07-2014 to 04-07-2014. While the MTD LY should be 27-07-2013 to 04-08-2013 although I did not add any data for 27-07-2013 so the first posting date is 28-07-2013.&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 15:13:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700423#M252820</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2014-08-04T15:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700424#M252821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have your excel file to reload the app, but you can add this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If([Financial Year] = $(vTodayFinYear)-1 and [Accounting Month]= $(vTodayMonth) AND PostingDate &amp;lt;=&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;addmonths(today(),-12), 1, 0) &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 16:14:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700424#M252821</guid>
      <dc:creator>jvitantonio</dc:creator>
      <dc:date>2014-08-04T16:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Last Year MTD Issue using Flags</title>
      <link>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700425#M252822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Think it has worked, although after some reloads MTD LY did not pick up the last date when compared to today. E.g. if Today = 07-08-14 then MTD LY should include 07-08-13. Many thanks for the help Simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 10:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Last-Year-MTD-Issue-using-Flags/m-p/700425#M252822</guid>
      <dc:creator>simongoodman</dc:creator>
      <dc:date>2014-08-07T10:45:25Z</dc:date>
    </item>
  </channel>
</rss>

