<?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 Max Value column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-Value-column/m-p/750225#M1026488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm loading from an excel sheet that gets updated month on month see headers below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Team&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Currency&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script is load * from xls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need to be able to identify the Max Month as per column header as in my charts I will be comparing LAST month ( which will be the last column and the MAX Date) with other months&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can anyone advise how I may do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Mar 2015 13:06:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-05T13:06:22Z</dc:date>
    <item>
      <title>Max Value column</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Value-column/m-p/750225#M1026488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm loading from an excel sheet that gets updated month on month see headers below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Team&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Currency&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Jan15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Feb15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mar15&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The script is load * from xls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I need to be able to identify the Max Month as per column header as in my charts I will be comparing LAST month ( which will be the last column and the MAX Date) with other months&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can anyone advise how I may do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 13:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Value-column/m-p/750225#M1026488</guid>
      <dc:creator />
      <dc:date>2015-03-05T13:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Max Value column</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Value-column/m-p/750226#M1026489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the best idea would be to use a CROSS TABLE load to bring the months as rows instead of column header and then you can easily use set analysis to achieve what you are trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 13:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Value-column/m-p/750226#M1026489</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-05T13:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Max Value column</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Value-column/m-p/750227#M1026490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunindia&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was thinking that but theres loads of vaiable data in the other ciolumns that would make coding harder I think&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that normally the only way to do it - im not overally familiar with Cross tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 13:33:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Value-column/m-p/750227#M1026490</guid>
      <dc:creator />
      <dc:date>2015-03-05T13:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Max Value column</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Value-column/m-p/750228#M1026491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To determine the maximum date, I can think of other ways. But not really sure how you will use them within your set analysis statement. You will basically have to change the expression as and when the new data comes in. CROSS TABLE LOAD is not that difficult. QlikView has sort of wizard which is quite interactive. Additionally you will be able to find a lot of discussions on the community regarding the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 13:40:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Value-column/m-p/750228#M1026491</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-03-05T13:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Max Value column</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Value-column/m-p/750229#M1026492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with Sunindia, the most efficient way would be to use a Cross Table, you could then use set analysis as Sunindia mentions or use peek and put the value in the script if your requirements allow this method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached a very quick example. ! !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 13:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Value-column/m-p/750229#M1026492</guid>
      <dc:creator>chrislofthouse</dc:creator>
      <dc:date>2015-03-05T13:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Max Value column</title>
      <link>https://community.qlik.com/t5/QlikView/Max-Value-column/m-p/750230#M1026493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not sure to understand your need.&lt;/P&gt;&lt;P&gt;do you want just flag the last month after reload ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if so&lt;/P&gt;&lt;P&gt;T:&lt;/P&gt;&lt;P&gt;CrossTable(Team,unit, ...&amp;nbsp; )&amp;nbsp; -- use the cross table assistant to right the script&lt;/P&gt;&lt;P&gt;LOAD Team, Unit, Currency,&amp;nbsp;&amp;nbsp; Date&amp;nbsp;&amp;nbsp; (you must format your date either as 201503, 201502... or date format like DD/MM/YY to get the right max(date) later)&lt;/P&gt;&lt;P&gt;FROM Table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tmp:&lt;/P&gt;&lt;P&gt;LOAD [Tema, Unit, ...if needed] Date, max(Date) as MaxDate&amp;nbsp; resident T&lt;/P&gt;&lt;P&gt;group [Tema, Unit, ...if needed]&amp;nbsp; by Date&amp;nbsp; --&amp;nbsp;&amp;nbsp; will return 201503&amp;nbsp; or equivalent number to 01/03/2015&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JOIN (T)&lt;/P&gt;&lt;P&gt;LOAD [Tema, Unit, ...if needed]&amp;nbsp; Date, MaxDate resident Tmp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop tmp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2015 13:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-Value-column/m-p/750230#M1026493</guid>
      <dc:creator />
      <dc:date>2015-03-05T13:51:39Z</dc:date>
    </item>
  </channel>
</rss>

