<?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 of Sum IF expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627505#M1091216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, must be something with my local settings.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 May 2014 13:21:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-05-26T13:21:03Z</dc:date>
    <item>
      <title>MAX of Sum IF expression</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627498#M1091209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to QV and I'm trying to figure out how to write an expression calculating the the maximum of a SUMIF expression, without any luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a certain range of dates I need to present the three largest positive and negative values (gross sent and gross received).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance, I would like to choose a month and then present the three largest daily sums. I guess what Im lookin for is some kind of aggregated function but I can't seem to get it right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Pls see examples attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Olle&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 09:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627498#M1091209</guid>
      <dc:creator />
      <dc:date>2014-05-26T09:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: MAX of Sum IF expression</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627499#M1091210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check my example&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 09:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627499#M1091210</guid>
      <dc:creator />
      <dc:date>2014-05-26T09:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: MAX of Sum IF expression</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627500#M1091211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer Dariusz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however. My problem is that I first need to summarize the negative and positive values (separately) for each date selected. As per below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SUM(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TransactionAmount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;lt;0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TransactionAmount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;SUM(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TransactionAmount&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;0,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;TransactionAmount&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;After this is done, I need present the three largest/smallest &lt;STRONG&gt;sums.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;Thanks in advance,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;Olle &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 10:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627500#M1091211</guid>
      <dc:creator />
      <dc:date>2014-05-26T10:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re: MAX of Sum IF expression</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627501#M1091212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 11:33:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627501#M1091212</guid>
      <dc:creator />
      <dc:date>2014-05-26T11:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: MAX of Sum IF expression</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627502#M1091213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect.&lt;/P&gt;&lt;P&gt;Thanks a lot for your help Dariusz!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Olle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 11:55:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627502#M1091213</guid>
      <dc:creator />
      <dc:date>2014-05-26T11:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: MAX of Sum IF expression</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627503#M1091214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im pretty sure it worked just fine at first.&lt;/P&gt;&lt;P&gt;Then something happened, now when I open the qvf-file you attached above the min column always shows the same value as rank 1 &amp;amp; 2. Do you know what might have happened? I even restarted my computer and then downloaded the file from here again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls find attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Olle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 13:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627503#M1091214</guid>
      <dc:creator />
      <dc:date>2014-05-26T13:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: MAX of Sum IF expression</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627504#M1091215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I opened your attachment and i can see:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/59542_pastedImage_0.png" style="width: 620px; height: 388px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 13:12:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627504#M1091215</guid>
      <dc:creator />
      <dc:date>2014-05-26T13:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: MAX of Sum IF expression</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627505#M1091216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, must be something with my local settings.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 13:21:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627505#M1091216</guid>
      <dc:creator />
      <dc:date>2014-05-26T13:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: MAX of Sum IF expression</title>
      <link>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627506#M1091217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strange .... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;Check again and let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 May 2014 13:32:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/MAX-of-Sum-IF-expression/m-p/627506#M1091217</guid>
      <dc:creator />
      <dc:date>2014-05-26T13:32:24Z</dc:date>
    </item>
  </channel>
</rss>

