<?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 get latest month from the data set in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55484#M773150</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sujeeth, you can try with:&lt;/P&gt;&lt;P&gt;=Month(Max(Date#(MonthField,'MMM')))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 May 2018 09:05:47 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2018-05-20T09:05:47Z</dc:date>
    <item>
      <title>How to get latest month from the data set</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55477#M773143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the data like in the month column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;Feb&lt;/P&gt;&lt;P&gt;March&lt;/P&gt;&lt;P&gt;April&lt;/P&gt;&lt;P&gt;May......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want latest month dynamically.&lt;/P&gt;&lt;P&gt;My Output should be Month= "May"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Sujeeth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55477#M773143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest month from the data set</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55478#M773144</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;here is one way to do it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should have your MonthNames system variable like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max_month:&lt;/P&gt;&lt;P&gt;LOAD 1 as flag, Date#(month,'MMM') as month, num(month(Date#(month,'MMM'))) as monthnum Inline [&lt;/P&gt;&lt;P&gt;month&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;P&gt;Feb&lt;/P&gt;&lt;P&gt;Mar&lt;/P&gt;&lt;P&gt;Apr&lt;/P&gt;&lt;P&gt;May&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join&lt;/P&gt;&lt;P&gt;LOAD max(monthnum) as max_month&lt;/P&gt;&lt;P&gt;Resident max_month&lt;/P&gt;&lt;P&gt;Group by flag;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;final:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD * Resident max_month&lt;/P&gt;&lt;P&gt;Where monthnum=max_month;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP Table max_month;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 13:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55478#M773144</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-05-18T13:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest month from the data set</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55479#M773145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;MONTH AS LAST MONTH&lt;/P&gt;&lt;P&gt;FROM YOURQVD&lt;/P&gt;&lt;P&gt;WHERE MONTH=MONTH(TODAY)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 14:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55479#M773145</guid>
      <dc:creator>eduardo_dimperio</dc:creator>
      <dc:date>2018-05-18T14:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest month from the data set</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55480#M773146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your solution works only if you have the actual month in your dataset&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 14:58:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55480#M773146</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2018-05-18T14:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest month from the data set</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55481#M773147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 17:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55481#M773147</guid>
      <dc:creator>eduardo_dimperio</dc:creator>
      <dc:date>2018-05-18T17:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest month from the data set</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55482#M773148</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 did it as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; background: white; font-size: 8.0pt; font-family: 'inherit',serif;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d; background: white;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Helvetica',sans-serif; color: blue; background: white;"&gt;INLINE&lt;/SPAN&gt; &lt;SPAN style="font-size: 8.0pt; font-family: 'Helvetica',sans-serif; color: maroon; background: white;"&gt;[&lt;BR /&gt; MonthID, Month&lt;BR /&gt; 1, Jan&lt;BR /&gt; 2, Feb&lt;BR /&gt; 3, Mar&lt;BR /&gt; 4, Apr&lt;BR /&gt; 5, May&lt;BR /&gt; 6, Jun&lt;BR /&gt; 7, Jul&lt;BR /&gt; 8, Aug&lt;BR /&gt; 9, Sep&lt;BR /&gt; 10, Oct&lt;BR /&gt; 11, Nov&lt;BR /&gt; 12, Dec&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d; background: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d; background: white;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d; background: white;"&gt;Use these formulas:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d; background: white;"&gt;&lt;STRONG&gt;=Max(Month) or&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d; background: white;"&gt;&lt;STRONG&gt;Month= Month(Today) &lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 May 2018 04:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55482#M773148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-19T04:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest month from the data set</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55483#M773149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorting and using peek should be better I guess?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2018 04:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55483#M773149</guid>
      <dc:creator>vkish16161</dc:creator>
      <dc:date>2018-05-20T04:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest month from the data set</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55484#M773150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sujeeth, you can try with:&lt;/P&gt;&lt;P&gt;=Month(Max(Date#(MonthField,'MMM')))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 May 2018 09:05:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55484#M773150</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-05-20T09:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest month from the data set</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55485#M773151</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;As of now in my excel sheet data contains only March and April data. My requirement is when ever the data loaded to my excel sheet it should take the latest loaded month dynamically.&lt;/P&gt;&lt;P&gt;Could you please help me on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Sujeeth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 06:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55485#M773151</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-21T06:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest month from the data set</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55486#M773152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can apply something very close to Youssef answer to keep the highest month of data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD Month(Date#(monthField,'MMM') as month,&lt;/P&gt;&lt;P&gt;&amp;nbsp; num(month(Date#(monthField,'MMM'))) as monthnum,&lt;/P&gt;&lt;P&gt; &lt;EM&gt;OtherFields&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;FROM [&lt;EM&gt;ExcelFile&lt;/EM&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Inner Join to keep only the max month&lt;/P&gt;&lt;P&gt;Inner Join (&lt;SPAN style="font-size: 13.3333px;"&gt;Data)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD max(monthnum) as &lt;SPAN style="font-size: 13.3333px;"&gt;monthnum&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Resident &lt;SPAN style="font-size: 13.3333px;"&gt;Data&lt;/SPAN&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 07:02:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55486#M773152</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-05-21T07:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get latest month from the data set</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55487#M773153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to create in variable? or you want to pull only latest month data for whole application. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 03:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-get-latest-month-from-the-data-set/m-p/55487#M773153</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-05-24T03:10:20Z</dc:date>
    </item>
  </channel>
</rss>

