<?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 LOAD with GROUP BY with MAX in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/LOAD-with-GROUP-BY-with-MAX/m-p/1750971#M720184</link>
    <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I have a problem with a load with group by:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Year,&lt;/P&gt;&lt;P&gt;Month,&lt;/P&gt;&lt;P&gt;A,&lt;/P&gt;&lt;P&gt;max(B)&lt;/P&gt;&lt;P&gt;RESIDENT SomeOtherTable&lt;/P&gt;&lt;P&gt;GROUP BY Year, Month;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to group by Year and Month, and I want my A to show only in a case where B=max(B).&lt;/P&gt;&lt;P&gt;How can I achieve this?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>qliknonsense</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>LOAD with GROUP BY with MAX</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-with-GROUP-BY-with-MAX/m-p/1750971#M720184</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I have a problem with a load with group by:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Year,&lt;/P&gt;&lt;P&gt;Month,&lt;/P&gt;&lt;P&gt;A,&lt;/P&gt;&lt;P&gt;max(B)&lt;/P&gt;&lt;P&gt;RESIDENT SomeOtherTable&lt;/P&gt;&lt;P&gt;GROUP BY Year, Month;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to group by Year and Month, and I want my A to show only in a case where B=max(B).&lt;/P&gt;&lt;P&gt;How can I achieve this?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-with-GROUP-BY-with-MAX/m-p/1750971#M720184</guid>
      <dc:creator>qliknonsense</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: LOAD with GROUP BY with MAX</title>
      <link>https://community.qlik.com/t5/QlikView/LOAD-with-GROUP-BY-with-MAX/m-p/1750983#M720185</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/127305"&gt;@qliknonsense&lt;/a&gt;&amp;nbsp; try below&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;SomeOtherTable:
LOAD
Year,
Month,
B
FROM table;

inner join(SomeOtherTable)
LOAD
Year,
Month,
max(B) as B
RESIDENT SomeOtherTable
GROUP BY Year,Month;&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 09 Oct 2020 09:38:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/LOAD-with-GROUP-BY-with-MAX/m-p/1750983#M720185</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-10-09T09:38:35Z</dc:date>
    </item>
  </channel>
</rss>

