<?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: Max value in big table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505302#M188936</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's intre&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sting about &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ordered &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;by IdField&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I ordered table:&lt;/P&gt;&lt;P&gt;TableNew:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD * RESIDENT &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyTable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ORDER BY IdField DESC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;peek('IdField ',0,'TableNew');&lt;/SPAN&gt; = it's 40 second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But:&lt;/P&gt;&lt;P&gt;MaxIDTable:&lt;/P&gt;&lt;P&gt;LOAD max(IdField) as maxIdField&lt;/P&gt;&lt;P&gt;RESIDENT &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyTable&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;peek('IdField ',0,'TableNew');&lt;/SPAN&gt; = it's 4 minute!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHY?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Dec 2013 09:32:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-19T09:32:14Z</dc:date>
    <item>
      <title>Max value in big table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505295#M188929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my table 20 million row.&lt;/P&gt;&lt;P&gt;I need select max value for ID (then use this max value + autonumber() as next id).&lt;/P&gt;&lt;P&gt;Now this script:&lt;/P&gt;&lt;P&gt;MaxIDTable:&lt;/P&gt;&lt;P&gt;LOAD max(IdField) as maxIdField&lt;/P&gt;&lt;P&gt;RESIDENT MyTable;&lt;/P&gt;&lt;P&gt;But it is very slower. May be have another way for get max value field?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 04:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505295#M188929</guid>
      <dc:creator />
      <dc:date>2013-12-19T04:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in big table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505296#M188930</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;Max() is the best method, if not then sort the table by IDField and load it into qlikview and try using Peek().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 05:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505296#M188930</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-12-19T05:29:43Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in big table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505297#M188931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if the idfield have numeric data or the string.&lt;/P&gt;&lt;P&gt;If string , then use maxstring and if numeic then use max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 06:18:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505297#M188931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-19T06:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in big table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505298#M188932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;numeric data&lt;/SPAN&gt; - create with autonumber.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 07:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505298#M188932</guid>
      <dc:creator />
      <dc:date>2013-12-19T07:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in big table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505299#M188933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This will be faster:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New';"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New';"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New';"&gt;max&lt;/SPAN&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New';"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New';"&gt;FieldValue&lt;/SPAN&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New';"&gt;('IdField', &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New';"&gt;recno&lt;/SPAN&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New';"&gt;())) as MaxIdField&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New';"&gt;AUTOGENERATE &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New';"&gt;FieldValueCount&lt;/SPAN&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New';"&gt;('IdField');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New';"&gt;LET vMaxIdField = peek('MaxIdField')&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555544; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If your table is already ordered by IdField you could also try&lt;/P&gt;&lt;P&gt;LET vMaxIdField = peek('MaxIdField','MyTable');&lt;/P&gt;&lt;P&gt;That would just retrieve the last value in the table without the need for calculating the max.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 07:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505299#M188933</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-12-19T07:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in big table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505300#M188934</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;You can also try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2010&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2011&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2012&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2013&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vValue1 = FieldValue('Year',&amp;nbsp; NoOfRows('Data'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 07:36:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505300#M188934</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-12-19T07:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in big table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505301#M188935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, because value not unique. Thank's!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 08:54:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505301#M188935</guid>
      <dc:creator />
      <dc:date>2013-12-19T08:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in big table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505302#M188936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's intre&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sting about &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ordered &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;by IdField&lt;/SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I ordered table:&lt;/P&gt;&lt;P&gt;TableNew:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;LOAD * RESIDENT &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyTable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ORDER BY IdField DESC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;peek('IdField ',0,'TableNew');&lt;/SPAN&gt; = it's 40 second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But:&lt;/P&gt;&lt;P&gt;MaxIDTable:&lt;/P&gt;&lt;P&gt;LOAD max(IdField) as maxIdField&lt;/P&gt;&lt;P&gt;RESIDENT &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MyTable&lt;/SPAN&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;peek('IdField ',0,'TableNew');&lt;/SPAN&gt; = it's 4 minute!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHY?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 09:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505302#M188936</guid>
      <dc:creator />
      <dc:date>2013-12-19T09:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in big table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505303#M188937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand what you're doing. If you are reordering your table then you don't need to also calculate the max. So why are you creating MaxIDTable if you're not going to use it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, if the source table isn't already ordered by IdField then it's probably faster to use the max(fieldvalue(... method. On small tables it may not matter much, but the larger the table to longer it will take to reorder it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 09:44:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505303#M188937</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-12-19T09:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in big table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505304#M188938</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 style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;peek('IdField ',0,'TableNew');&lt;/SPAN&gt; = it's 40 second.&amp;nbsp; -- Here you are not loading entire table, you are just picking the value of last record&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;MaxIDTable:&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;LOAD max(IdField) as maxIdField&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;RESIDENT &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;MyTable&lt;/SPAN&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; font-style: inherit; font-weight: inherit;"&gt;peek('IdField ',0,'TableNew');&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt; = it's 4 minute!!!!!&lt;/SPAN&gt;---&amp;nbsp; Here you are reloading the table and then getting the max value, so for reloading it is taking time&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Hope this helps you.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 09:46:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505304#M188938</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-12-19T09:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Max value in big table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505305#M188939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I have in QVD file table with IdField, not order for this field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I need add to this table new row - with generate for it new IdField as &lt;SPAN style="color: #3d3d3d;"&gt;current max value idField + autonumber() as next id on new row.&lt;/SPAN&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;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="color: blue;"&gt;AUTOGENERATE &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;FieldValueCount&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #555544; font-family: arial, helvetica, sans-serif;"&gt;('IdField') - it's not work for my table, because value in IdField like 1, 3, 5... and &lt;SPAN style="color: blue;"&gt;FieldValueCount&lt;/SPAN&gt;&lt;SPAN style="color: #555544;"&gt;('IdField')&lt;/SPAN&gt; return 3 - but I want return 5.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 09:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505305#M188939</guid>
      <dc:creator />
      <dc:date>2013-12-19T09:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in big table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505306#M188940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-style: inherit; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;peek('IdField ',0,'TableNew');&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt; = it's 40 second.&amp;nbsp; -- Here you are not loading entire table, you are just picking the value of last record&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&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; font-size: 12px; background-color: #f6f6f6;"&gt;But for this I reorder table in new table &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;TableNew&lt;/SPAN&gt; - and it all 40 second.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 09:52:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505306#M188940</guid>
      <dc:creator />
      <dc:date>2013-12-19T09:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Max value in big table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505307#M188941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FieldValueCount returns the unique number of values that the field IdField contains. It is used in combination with Autogenerate to cycle trough all the values in the IdField. By cycling through all the values it becomes possible to find the max value with the &lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #555544;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;FieldValue&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #555544;"&gt;('IdField', &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: blue;"&gt;recno&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; color: #555544;"&gt;()))&lt;/SPAN&gt; expression. So FieldValueCount is not the max IdField value, but that's not what it is used for anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2013 10:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505307#M188941</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-12-19T10:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Max value in big table</title>
      <link>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505308#M188942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This question is asked in QV12DA Certificarton Exam for Data Architect&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 19:33:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Max-value-in-big-table/m-p/505308#M188942</guid>
      <dc:creator>josevicentepla</dc:creator>
      <dc:date>2018-06-12T19:33:14Z</dc:date>
    </item>
  </channel>
</rss>

