<?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 Highest value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520602#M194514</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;It may sound like a bit silly, but honestly I have not faced this before...&lt;/P&gt;&lt;P&gt;I have four values, each of one is calculated with a different set analysis expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expr1: (sum({&amp;lt;"Date"={"&amp;lt;=$(=date(DateID,'DD/MM/YYYY'))"}&amp;gt;} "Amount")&lt;/P&gt;&lt;P&gt;Expr2: (sum({&amp;lt;"Date"={"&amp;lt;=$(=date(DateID-30,'DD/MM/YYYY'))"}&amp;gt;} "Amount")&lt;/P&gt;&lt;P&gt;Expr3: (sum({&amp;lt;"Date"={"&amp;lt;=$(=date(DateID-60,'DD/MM/YYYY'))"}&amp;gt;} "Amount")&lt;/P&gt;&lt;P&gt;Expr4: (sum({&amp;lt;"Date"={"&amp;lt;=$(=date(DateID-90,'DD/MM/YYYY'))"}&amp;gt;} "Amount")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know which of them has the highest value. It sounds simple but I do not know if there is an function for this in Qlik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jan 2014 11:04:52 GMT</pubDate>
    <dc:creator>salto</dc:creator>
    <dc:date>2014-01-16T11:04:52Z</dc:date>
    <item>
      <title>Highest value</title>
      <link>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520602#M194514</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;It may sound like a bit silly, but honestly I have not faced this before...&lt;/P&gt;&lt;P&gt;I have four values, each of one is calculated with a different set analysis expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expr1: (sum({&amp;lt;"Date"={"&amp;lt;=$(=date(DateID,'DD/MM/YYYY'))"}&amp;gt;} "Amount")&lt;/P&gt;&lt;P&gt;Expr2: (sum({&amp;lt;"Date"={"&amp;lt;=$(=date(DateID-30,'DD/MM/YYYY'))"}&amp;gt;} "Amount")&lt;/P&gt;&lt;P&gt;Expr3: (sum({&amp;lt;"Date"={"&amp;lt;=$(=date(DateID-60,'DD/MM/YYYY'))"}&amp;gt;} "Amount")&lt;/P&gt;&lt;P&gt;Expr4: (sum({&amp;lt;"Date"={"&amp;lt;=$(=date(DateID-90,'DD/MM/YYYY'))"}&amp;gt;} "Amount")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to know which of them has the highest value. It sounds simple but I do not know if there is an function for this in Qlik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 11:04:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520602#M194514</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2014-01-16T11:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Highest value</title>
      <link>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520603#M194515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Salto &lt;/P&gt;&lt;P&gt;You can try to get this in two ways one is the sorting of the expression to be expression based and the other way is to have the Dimension as Date and then sort it with the order. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 11:21:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520603#M194515</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-01-16T11:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Highest value</title>
      <link>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520604#M194516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this may it help you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 11:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520604#M194516</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-01-16T11:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Highest value</title>
      <link>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520605#M194517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello sujeetsingh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your quick response. I am afraid I do not understand your first suggestion.&lt;/P&gt;&lt;P&gt;I need the maximum value of those four and use it in another Expression that sets the static height of a chart. Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MaxExpr = Max(Expr1, Expr2, Expr3, Expr3);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ChartHeight := 1.25 * MaxExpr;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 11:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520605#M194517</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2014-01-16T11:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Highest value</title>
      <link>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520606#M194518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sujeetsingh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the example. The main problem here is that there are four values to compare, and building an IF can be too long (but not impossible of course!)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 11:35:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520606#M194518</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2014-01-16T11:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Highest value</title>
      <link>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520607#M194519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SALTO actually i was thinking of the making a group expression of the all four and then sort it may it work tryit .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 11:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520607#M194519</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2014-01-16T11:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Highest value</title>
      <link>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520608#M194520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be you can try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Expr1&amp;gt;Expr2, if(Expr1&amp;gt;Expr3, if(Expr1&amp;gt;Expr4, Expr1, Expr4), if(Expr3&amp;gt;Expr4, Expr3, Expr4)), if(Expr2&amp;gt;Expr3,&amp;nbsp; if(Expr2&amp;gt;Expr4, Expr2, Expr4),&amp;nbsp; if(Expr3&amp;gt;Expr4, Expr3, Expr4)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 11:55:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520608#M194520</guid>
      <dc:creator>NareshGuntur</dc:creator>
      <dc:date>2014-01-16T11:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Highest value</title>
      <link>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520609#M194521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sujeet and Naresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try the Naresh suggests... it seems it can work for my specific problem.&lt;/P&gt;&lt;P&gt;Anyway QV is not letting me compare the values of two variables - time to open another thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 12:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520609#M194521</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2014-01-16T12:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Highest value</title>
      <link>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520610#M194522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not use the RangeMax function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 12:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520610#M194522</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-01-16T12:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Highest value</title>
      <link>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520611#M194523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ioannis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't know this function... sorry! That should be the right way. &lt;/P&gt;&lt;P&gt;It is giving me a problem to use it with variables, I am opning another thread for that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 12:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Highest-value/m-p/520611#M194523</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2014-01-16T12:34:05Z</dc:date>
    </item>
  </channel>
</rss>

