<?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: Sum on Max per dimension in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1667457#M50342</link>
    <description>&lt;P&gt;Clever, that works, thanks a lot! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jan 2020 16:44:34 GMT</pubDate>
    <dc:creator>SamKng</dc:creator>
    <dc:date>2020-01-20T16:44:34Z</dc:date>
    <item>
      <title>Sum on Max per dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1666470#M50185</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I have the feeling that the solution for my problem should be very easy, I however did not find any solution in several related threads yet.&lt;/P&gt;&lt;P&gt;Please have a look at the following data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot.jpg" style="width: 736px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/27017i9859EC7E60ACD7C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot.jpg" alt="screenshot.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;What I'd like to see is:&lt;/P&gt;&lt;P&gt;- Yield per Order and Operation in each row&lt;/P&gt;&lt;P&gt;- Sum of Max(Yield) per Order in the total row&lt;/P&gt;&lt;P&gt;The above simple approach basically suits to my needs, however with one important exception: the 0 in the second row&amp;nbsp; should be 500 and the 0 in row 4 should be 1000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope my explanations are clear, otherwise let me know.&lt;/P&gt;&lt;P&gt;Any input is highly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards, jovie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:38:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1666470#M50185</guid>
      <dc:creator>SamKng</dc:creator>
      <dc:date>2021-12-20T21:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sum on Max per dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1666472#M50186</link>
      <description>&lt;P&gt;how about sum(aggr(max(Yield),Order,Operation))&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 21:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1666472#M50186</guid>
      <dc:creator>jochem_zw</dc:creator>
      <dc:date>2020-01-16T21:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sum on Max per dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1666479#M50187</link>
      <description>&lt;P&gt;Looks like both Yield and Max Yield gives same output. Can you please elaborate more?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 21:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1666479#M50187</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-16T21:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sum on Max per dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1666575#M50198</link>
      <description>&lt;P&gt;Thanks for your idea. That helps for the rows, but the the total is then wrong:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screenshot1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/27050iD1BD3BCE97C91C37/image-size/large?v=v2&amp;amp;px=999" role="button" title="screenshot1.jpg" alt="screenshot1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;The total should show the sum of the max&amp;nbsp;&lt;STRONG&gt;per order&amp;nbsp;&lt;/STRONG&gt;(accross operations), which means:&lt;/P&gt;&lt;P&gt;Max of order A: 1'500&lt;/P&gt;&lt;P&gt;Max of order B: 2'000&lt;/P&gt;&lt;P&gt;---------------------------&lt;/P&gt;&lt;P&gt;Sum of both: 3'500&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 17 Jan 2020 07:03:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1666575#M50198</guid>
      <dc:creator>SamKng</dc:creator>
      <dc:date>2020-01-17T07:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sum on Max per dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1667170#M50302</link>
      <description>&lt;P&gt;sum(distinct aggr(Max(Total &amp;lt;Order&amp;gt; Yield),Order,Operation))&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 08:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1667170#M50302</guid>
      <dc:creator>jochem_zw</dc:creator>
      <dc:date>2020-01-20T08:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sum on Max per dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1667373#M50333</link>
      <description>&lt;P&gt;Thanks for this new idea. The result is a bit closer to what I need, but not 100% there yet:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-01-20_153807.jpg" style="width: 923px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/27161i09BF0F96E84A2730/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-01-20_153807.jpg" alt="2020-01-20_153807.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 14:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1667373#M50333</guid>
      <dc:creator>SamKng</dc:creator>
      <dc:date>2020-01-20T14:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sum on Max per dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1667398#M50336</link>
      <description>&lt;P&gt;try this&lt;/P&gt;&lt;LI-CODE lang="css"&gt;=if(sum(aggr(max(Yield),Order))=0,sum(Yield),sum(aggr(max(Yield),Order)))&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 20 Jan 2020 15:02:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1667398#M50336</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-01-20T15:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sum on Max per dimension</title>
      <link>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1667457#M50342</link>
      <description>&lt;P&gt;Clever, that works, thanks a lot! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 16:44:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Sum-on-Max-per-dimension/m-p/1667457#M50342</guid>
      <dc:creator>SamKng</dc:creator>
      <dc:date>2020-01-20T16:44:34Z</dc:date>
    </item>
  </channel>
</rss>

