<?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 Error in function Max in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Error-in-function-Max/m-p/1150030#M889134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to trace only the row with the highest value but I get an Error (.... in calculated dimension).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression I use for the calculated dimension is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Max(num([Opportunity-Quote.Revision]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further on I only want to keep the record with this maximum value in my table, somethong like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= If(&lt;SPAN style="font-size: 13.3333px;"&gt; Max(num([Opportunity-Quote.Revision]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &amp;lt;&amp;gt;num([Opportunity-Quote.Revision]);&lt;SPAN style="font-size: 13.3333px;"&gt;Max(num([Opportunity-Quote.Revision];null())&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is there another way to obtain this ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>guyvermeiren</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Error in function Max</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-function-Max/m-p/1150030#M889134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to trace only the row with the highest value but I get an Error (.... in calculated dimension).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression I use for the calculated dimension is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Max(num([Opportunity-Quote.Revision]))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further on I only want to keep the record with this maximum value in my table, somethong like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= If(&lt;SPAN style="font-size: 13.3333px;"&gt; Max(num([Opportunity-Quote.Revision]&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &amp;lt;&amp;gt;num([Opportunity-Quote.Revision]);&lt;SPAN style="font-size: 13.3333px;"&gt;Max(num([Opportunity-Quote.Revision];null())&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is there another way to obtain this ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Guy&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/Error-in-function-Max/m-p/1150030#M889134</guid>
      <dc:creator>guyvermeiren</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error in function Max</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-function-Max/m-p/1150031#M889135</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;Try with below script.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;TableName:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Load&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateCreated&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MaxDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; [TableName];&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;Let&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vMaxDate&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Peek&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;MaxDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TableName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 15:48:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-function-Max/m-p/1150031#M889135</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2016-09-06T15:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error in function Max</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-function-Max/m-p/1150032#M889136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can replace DateCreated with your date field and compare the variable value in Set Analysis or If statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 15:50:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-function-Max/m-p/1150032#M889136</guid>
      <dc:creator>krishnacbe</dc:creator>
      <dc:date>2016-09-06T15:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error in function Max</title>
      <link>https://community.qlik.com/t5/QlikView/Error-in-function-Max/m-p/1150033#M889137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the function: firstsortedvalue()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/30532" style="font-size: 10pt; line-height: 1.5em;" title="https://community.qlik.com/thread/30532"&gt;https://community.qlik.com/thread/30532&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Sep 2016 15:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Error-in-function-Max/m-p/1150033#M889137</guid>
      <dc:creator />
      <dc:date>2016-09-07T15:29:34Z</dc:date>
    </item>
  </channel>
</rss>

