<?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: Group By Max amount in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Group-By-Max-amount/m-p/1639327#M595489</link>
    <description>&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;InputTable:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Load * From &amp;lt;&amp;gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Join&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Output:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NumInvoice,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;FirstSortedValue&lt;/STRONG&gt;(CodeSystem, -Amount) as NewCodeSystem&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Resident InputTable Group By NumInvoice; &lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2019 07:42:26 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2019-10-24T07:42:26Z</dc:date>
    <item>
      <title>Group By Max amount</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By-Max-amount/m-p/1639320#M595488</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I'm facing a problem with the logic behind my script.&lt;/P&gt;&lt;P&gt;I would like to create a new column "NewCodeSystem".&lt;/P&gt;&lt;P&gt;This new column is equal to the result of the value CodeSystem which has the maximum Amount and grouped by invoice number.&lt;/P&gt;&lt;P&gt;To explain this logic below an example:&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Current table:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;NumInvoice&amp;nbsp; |&amp;nbsp; &amp;nbsp;Amount&amp;nbsp; &amp;nbsp;|&amp;nbsp; CodeSystem&lt;/P&gt;&lt;P&gt;19105&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;200&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;10&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;19105&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; 11&lt;/P&gt;&lt;P&gt;19105&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;6&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;18106&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;50&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; 52&lt;/P&gt;&lt;P&gt;18106&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;600&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;51&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Result expected:&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;NumInvoice&amp;nbsp; |&amp;nbsp; &amp;nbsp;Amount&amp;nbsp; &amp;nbsp;|&amp;nbsp; NewCodeSystem&lt;/P&gt;&lt;P&gt;19105&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;200&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;10&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;19105&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;19105&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;6&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; 10&lt;/P&gt;&lt;P&gt;18106&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;50&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp; 51&lt;/P&gt;&lt;P&gt;18106&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|&amp;nbsp; &amp;nbsp; &amp;nbsp;600&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |&amp;nbsp; &amp;nbsp;51&lt;/P&gt;&lt;P&gt;I don't know if it's possible to do that in QVW.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please could you tell me if it's possible.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By-Max-amount/m-p/1639320#M595488</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2024-11-16T02:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Group By Max amount</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By-Max-amount/m-p/1639327#M595489</link>
      <description>&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;InputTable:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Load * From &amp;lt;&amp;gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;Join&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Output:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Load&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NumInvoice,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;STRONG&gt;FirstSortedValue&lt;/STRONG&gt;(CodeSystem, -Amount) as NewCodeSystem&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Resident InputTable Group By NumInvoice; &lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 07:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By-Max-amount/m-p/1639327#M595489</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-10-24T07:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Group By Max amount</title>
      <link>https://community.qlik.com/t5/QlikView/Group-By-Max-amount/m-p/1639476#M595491</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Excellent! I tried it and I find the expected result.&lt;/P&gt;&lt;P&gt;I didn't know this function, until your reply, I will keep it preciously in my mind.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2019 12:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Group-By-Max-amount/m-p/1639476#M595491</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2019-10-24T12:19:32Z</dc:date>
    </item>
  </channel>
</rss>

