<?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: Aggregation expressions required by group by Clause in Applymap function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aggregation-expressions-required-by-group-by-Clause-in-Applymap/m-p/2075330#M1223797</link>
    <description>&lt;P&gt;Hi, if there is a group by you need an aggreation expression for the fields not included in the group by clause, like:&lt;/P&gt;
&lt;P&gt;Mapping Load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;po_number,&lt;/P&gt;
&lt;P&gt;If(IsNull(Max(Voidind)),'not voided','voided') as voidstatus,&lt;/P&gt;
&lt;P&gt;Resident Oder&lt;/P&gt;
&lt;P&gt;Group by po_number;&lt;/P&gt;
&lt;P&gt;You can also use maxstring if Voidind is a text.&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 18:40:07 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2023-05-24T18:40:07Z</dc:date>
    <item>
      <title>Aggregation expressions required by group by Clause in Applymap function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-expressions-required-by-group-by-Clause-in-Applymap/m-p/2075325#M1223796</link>
      <description>&lt;P&gt;Order:&lt;/P&gt;
&lt;P&gt;Load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Locationnumber,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ordernumber,&lt;/P&gt;
&lt;P&gt;Locationnumber &amp;amp;'-'&amp;amp;Ordernumber as po_number,&lt;/P&gt;
&lt;P&gt;Itemnumber,&lt;/P&gt;
&lt;P&gt;Voidind&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From qvd;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VoidMap:&lt;/P&gt;
&lt;P&gt;Mapping Load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;po_number,&lt;/P&gt;
&lt;P&gt;If(IsNull(Voidind),'not voided','voided') as voidstatus,&lt;/P&gt;
&lt;P&gt;Resident Oder&lt;/P&gt;
&lt;P&gt;Group by po_number;&lt;/P&gt;
&lt;P&gt;Order1:&lt;/P&gt;
&lt;P&gt;LOAD&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*,&lt;/P&gt;
&lt;P&gt;ApplyMap('VoidMap',po_number,'Not voided') as orderstatus&lt;/P&gt;
&lt;P&gt;Resident Order;&lt;/P&gt;
&lt;P&gt;Drop table Order&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 18:36:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-expressions-required-by-group-by-Clause-in-Applymap/m-p/2075325#M1223796</guid>
      <dc:creator>Vinni2000</dc:creator>
      <dc:date>2023-05-24T18:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregation expressions required by group by Clause in Applymap function</title>
      <link>https://community.qlik.com/t5/QlikView/Aggregation-expressions-required-by-group-by-Clause-in-Applymap/m-p/2075330#M1223797</link>
      <description>&lt;P&gt;Hi, if there is a group by you need an aggreation expression for the fields not included in the group by clause, like:&lt;/P&gt;
&lt;P&gt;Mapping Load&amp;nbsp;&lt;/P&gt;
&lt;P&gt;po_number,&lt;/P&gt;
&lt;P&gt;If(IsNull(Max(Voidind)),'not voided','voided') as voidstatus,&lt;/P&gt;
&lt;P&gt;Resident Oder&lt;/P&gt;
&lt;P&gt;Group by po_number;&lt;/P&gt;
&lt;P&gt;You can also use maxstring if Voidind is a text.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 18:40:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aggregation-expressions-required-by-group-by-Clause-in-Applymap/m-p/2075330#M1223797</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2023-05-24T18:40:07Z</dc:date>
    </item>
  </channel>
</rss>

