<?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 Pick the greater of two values (Max Function) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pick-the-greater-of-two-values-Max-Function/m-p/555238#M207403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm writing an expression where I want to use the greater of two values. I don't think the Max() expression works like I'm used to. Is there a different function to use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An if statement like this would work, but the problem is that "value" is 6 lines of code that I'd end up having to repeat two times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If( value &amp;gt; 0, value, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd much rather have a function like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max(value, 0)&amp;nbsp; so that I only write "value" once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Aug 2013 17:57:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-08-30T17:57:58Z</dc:date>
    <item>
      <title>Pick the greater of two values (Max Function)</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-the-greater-of-two-values-Max-Function/m-p/555238#M207403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm writing an expression where I want to use the greater of two values. I don't think the Max() expression works like I'm used to. Is there a different function to use?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An if statement like this would work, but the problem is that "value" is 6 lines of code that I'd end up having to repeat two times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If( value &amp;gt; 0, value, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd much rather have a function like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max(value, 0)&amp;nbsp; so that I only write "value" once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 17:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-the-greater-of-two-values-Max-Function/m-p/555238#M207403</guid>
      <dc:creator />
      <dc:date>2013-08-30T17:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Pick the greater of two values (Max Function)</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-the-greater-of-two-values-Max-Function/m-p/555239#M207404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use RangeMax() function. Like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeMax(Value,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 18:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-the-greater-of-two-values-Max-Function/m-p/555239#M207404</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-08-30T18:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pick the greater of two values (Max Function)</title>
      <link>https://community.qlik.com/t5/QlikView/Pick-the-greater-of-two-values-Max-Function/m-p/555240#M207405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RANGEMAX(value1,value2)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Aug 2013 18:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pick-the-greater-of-two-values-Max-Function/m-p/555240#M207405</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2013-08-30T18:04:43Z</dc:date>
    </item>
  </channel>
</rss>

