<?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 Help with Max function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Max-function/m-p/862231#M989971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guy's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use the max function as per the following. The problem comes in is when one of these values is zero or null then it will not add. Is this normal ? Script below and thank you for your help in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max(If([Authorisation Type] = 1 and [Product Style Code] = 'Unsound with NO VALUE - Sinkers', [Prec of SKR]))&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;max(If([Authorisation Type] = 1 and [Product Style Code] = 'Unsound with NO VALUE - Mould', [Prec of SKR]))&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;max(If([Authorisation Type] = 1 and [Product Style Code] = 'Oil Nuts Value', [Prec of SKR]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Jul 2015 12:19:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-13T12:19:39Z</dc:date>
    <item>
      <title>Help with Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Max-function/m-p/862231#M989971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guy's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to use the max function as per the following. The problem comes in is when one of these values is zero or null then it will not add. Is this normal ? Script below and thank you for your help in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max(If([Authorisation Type] = 1 and [Product Style Code] = 'Unsound with NO VALUE - Sinkers', [Prec of SKR]))&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;max(If([Authorisation Type] = 1 and [Product Style Code] = 'Unsound with NO VALUE - Mould', [Prec of SKR]))&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;max(If([Authorisation Type] = 1 and [Product Style Code] = 'Oil Nuts Value', [Prec of SKR]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 12:19:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Max-function/m-p/862231#M989971</guid>
      <dc:creator />
      <dc:date>2015-07-13T12:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Max-function/m-p/862232#M989972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Max(Alt(YourExpression,0)) + &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Max(Alt(YourExpression,0)) + &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Max(Alt(YourExpression,0))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;But I think something wrong with your expression.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Either you need to use RangeMax(with All your three formulas here) or you are missing Aggr &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;RangeMax(If([Authorisation Type] = 1 and [Product Style Code] = 'Unsound with NO VALUE - Sinkers', [Prec of SKR]))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(If([Authorisation Type] = 1 and [Product Style Code] = 'Unsound with NO VALUE - Mould', [Prec of SKR]))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(If([Authorisation Type] = 1 and [Product Style Code] = 'Oil Nuts Value', [Prec of SKR]))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 12:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Max-function/m-p/862232#M989972</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-07-13T12:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Max-function/m-p/862233#M989973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;max(If([Authorisation Type] = 1 and [Product Style Code] = 'Unsound with NO VALUE - Sinkers', [Prec of SKR])),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;max(If([Authorisation Type] = 1 and [Product Style Code] = 'Unsound with NO VALUE - Mould', [Prec of SKR])),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;max(If([Authorisation Type] = 1 and [Product Style Code] = 'Oil Nuts Value', [Prec of SKR])))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 12:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Max-function/m-p/862233#M989973</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-13T12:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Max-function/m-p/862234#M989974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much , worked perfectly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 12:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Max-function/m-p/862234#M989974</guid>
      <dc:creator />
      <dc:date>2015-07-13T12:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Max function</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Max-function/m-p/862235#M989975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am glad I was able to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 12:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Max-function/m-p/862235#M989975</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-07-13T12:35:49Z</dc:date>
    </item>
  </channel>
</rss>

