<?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: how to flag month end using peek function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677465#M672004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i was just about to paste the solution. Thanks for your help..i got the same idea.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2014 19:13:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-09-23T19:13:46Z</dc:date>
    <item>
      <title>how to flag month end using peek function</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677460#M671999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi May be i am asking a silly question. I would like to flag last date in each month either using peek function or in any other way is script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 18:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677460#M671999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-23T18:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to flag month end using peek function</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677461#M672000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry forgot to attach the QVW file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 18:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677461#M672000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-23T18:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to flag month end using peek function</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677462#M672001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if(MonthEnd([Stock Plan Date]) = [Stock Plan Date], 'Y', 'N') as MonthEndFlag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 18:48:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677462#M672001</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-23T18:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to flag month end using peek function</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677463#M672002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kozins,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looks like monthend will give me exact month end i guess. I applied above script, it is N for all the dates. In my data my month end would be sometimes 28th or 29 th, 27 as well. not necessarily 30 or 31....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 19:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677463#M672002</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-23T19:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to flag month end using peek function</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677464#M672003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;something lik this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;App:&lt;/P&gt;&lt;P&gt;LOAD [Stock Plan Date] as date, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AVAIL_INV_QTY, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ITEM_ID&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner join &lt;/P&gt;&lt;P&gt;load Max([Stock Plan Date]) as LastDayMonth, ITEM_ID&lt;/P&gt;&lt;P&gt;Group By ITEM_ID, Year([Stock Plan Date]), Month([Stock Plan Date]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;App2:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;if ([Stock Plan Date] = LastDayMonth, 'Y', 'M') as LastDayFlag&lt;/P&gt;&lt;P&gt;Resident App;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table app;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 19:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677464#M672003</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-23T19:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to flag month end using peek function</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677465#M672004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i was just about to paste the solution. Thanks for your help..i got the same idea.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 19:13:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677465#M672004</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-23T19:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to flag month end using peek function</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677466#M672005</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;load Max([Stock Plan Date]) as LastDayMonth, ITEM_ID&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Group By ITEM_ID, Year([Stock Plan Date]), Month([Stock Plan Date]);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;In this script we have to include month and Year as well otherwise , it will give us the maximum date for each Item...Hope this is correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2014 19:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-flag-month-end-using-peek-function/m-p/677466#M672005</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-23T19:20:00Z</dc:date>
    </item>
  </channel>
</rss>

