<?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 sum two max values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-two-max-values/m-p/87638#M14297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im totally blank at the moment...and you are so often Quick &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've got a table;&lt;/P&gt;&lt;P&gt;year_month, Unit, Data&lt;/P&gt;&lt;P&gt;2018_01, Unit1, 251&lt;/P&gt;&lt;P&gt;2018_01, Unit2, 718&lt;/P&gt;&lt;P&gt;2018_02, Unit1, 257&lt;/P&gt;&lt;P&gt;2018_02, Unit2, 865&lt;/P&gt;&lt;P&gt;..and so forth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Data-column is cummulative and what I want is to add these two into one in a simle text-object.&lt;/P&gt;&lt;P&gt;I tried like this, but it wont work;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;Unit&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Unit1'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Data&lt;/SPAN&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;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Unit&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Unit2'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Data&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&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>Mon, 29 Oct 2018 14:56:07 GMT</pubDate>
    <dc:creator>t_hylander</dc:creator>
    <dc:date>2018-10-29T14:56:07Z</dc:date>
    <item>
      <title>sum two max values</title>
      <link>https://community.qlik.com/t5/QlikView/sum-two-max-values/m-p/87638#M14297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im totally blank at the moment...and you are so often Quick &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've got a table;&lt;/P&gt;&lt;P&gt;year_month, Unit, Data&lt;/P&gt;&lt;P&gt;2018_01, Unit1, 251&lt;/P&gt;&lt;P&gt;2018_01, Unit2, 718&lt;/P&gt;&lt;P&gt;2018_02, Unit1, 257&lt;/P&gt;&lt;P&gt;2018_02, Unit2, 865&lt;/P&gt;&lt;P&gt;..and so forth&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Data-column is cummulative and what I want is to add these two into one in a simle text-object.&lt;/P&gt;&lt;P&gt;I tried like this, but it wont work;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;Unit&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Unit1'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Data&lt;/SPAN&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;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Unit&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Unit2'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Data&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;) &lt;/SPAN&gt;&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>Mon, 29 Oct 2018 14:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-two-max-values/m-p/87638#M14297</guid>
      <dc:creator>t_hylander</dc:creator>
      <dc:date>2018-10-29T14:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: sum two max values</title>
      <link>https://community.qlik.com/t5/QlikView/sum-two-max-values/m-p/87639#M14298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are looking to get 257 + 865 in a text box object?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 15:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-two-max-values/m-p/87639#M14298</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-10-29T15:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: sum two max values</title>
      <link>https://community.qlik.com/t5/QlikView/sum-two-max-values/m-p/87640#M14299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you say not working, how do you mean? With your 4 lines as a dummy set I get 1122 in text box (does need an equals sign …), which does seem reasonable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 15:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-two-max-values/m-p/87640#M14299</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2018-10-29T15:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: sum two max values</title>
      <link>https://community.qlik.com/t5/QlikView/sum-two-max-values/m-p/87641#M14300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, my bad...as I said my head was blank &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;It DOES work, however if I add a text infront it just gets blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;='Total ' &amp;amp; chr(13) &amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;Unit&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Unit1'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Data&lt;/SPAN&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;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Unit&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'Unit2'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Data&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, 30 Oct 2018 08:01:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-two-max-values/m-p/87641#M14300</guid>
      <dc:creator>t_hylander</dc:creator>
      <dc:date>2018-10-30T08:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: sum two max values</title>
      <link>https://community.qlik.com/t5/QlikView/sum-two-max-values/m-p/87642#M14301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe ='Total ' &amp;amp; ( max({&amp;lt;Unit={'Unit1'}&amp;gt;}Data) + max({&amp;lt;Unit={'Unit2'}&amp;gt;}Data))?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 08:25:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-two-max-values/m-p/87642#M14301</guid>
      <dc:creator>chrismarlow</dc:creator>
      <dc:date>2018-10-30T08:25:33Z</dc:date>
    </item>
  </channel>
</rss>

