<?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 Concatenate aggregated field in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Concatenate-aggregated-field/m-p/1707195#M54226</link>
    <description>&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;having de following data:&lt;/P&gt;&lt;TABLE border="0" width="240" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="59.0476px" height="15px"&gt;Group&lt;/TD&gt;&lt;TD width="77.1429px" height="15px"&gt;Company&lt;/TD&gt;&lt;TD width="101.905px" height="15px"&gt;Consumption&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.0476px" height="15px"&gt;1&lt;/TD&gt;&lt;TD width="77.1429px" height="15px"&gt;A&lt;/TD&gt;&lt;TD width="101.905px" height="15px"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.0476px" height="15px"&gt;1&lt;/TD&gt;&lt;TD width="77.1429px" height="15px"&gt;B&lt;/TD&gt;&lt;TD width="101.905px" height="15px"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.0476px" height="15px"&gt;1&lt;/TD&gt;&lt;TD width="77.1429px" height="15px"&gt;C&lt;/TD&gt;&lt;TD width="101.905px" height="15px"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.0476px" height="15px"&gt;2&lt;/TD&gt;&lt;TD width="77.1429px" height="15px"&gt;D&lt;/TD&gt;&lt;TD width="101.905px" height="15px"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.0476px" height="15px"&gt;2&lt;/TD&gt;&lt;TD width="77.1429px" height="15px"&gt;E&lt;/TD&gt;&lt;TD width="101.905px" height="15px"&gt;3000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.0476px" height="15px"&gt;2&lt;/TD&gt;&lt;TD width="77.1429px" height="15px"&gt;F&lt;/TD&gt;&lt;TD width="101.905px" height="15px"&gt;4000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" width="160" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="80" height="20"&gt;Group 1&lt;/TD&gt;&lt;TD width="80"&gt;4000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Group 2&lt;/TD&gt;&lt;TD&gt;8000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to concatenate the field Company based on a condition in the Consumption of the GROUP they belong. I've been able to get all the Companies concatenated when I aggregate them by Company:&lt;/P&gt;&lt;P&gt;CONCAT(IF(AGGR(sum(Consumption),Company)&amp;gt; 2000,Company),'|')&lt;/P&gt;&lt;P&gt;E|F&lt;/P&gt;&lt;P&gt;But when I try to get the Companies based on a Group agregation it doesn't work. I would expect&amp;nbsp;D|E|F&lt;/P&gt;&lt;P&gt;CONCAT(IF(AGGR(sum(Consumption),Group)&amp;gt; 5000 ,Company),'|')&lt;/P&gt;&lt;P&gt;Could someone explain me why this is happening?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 02:16:40 GMT</pubDate>
    <dc:creator>ruben_moya</dc:creator>
    <dc:date>2024-11-16T02:16:40Z</dc:date>
    <item>
      <title>Concatenate aggregated field</title>
      <link>https://community.qlik.com/t5/App-Development/Concatenate-aggregated-field/m-p/1707195#M54226</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;having de following data:&lt;/P&gt;&lt;TABLE border="0" width="240" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="59.0476px" height="15px"&gt;Group&lt;/TD&gt;&lt;TD width="77.1429px" height="15px"&gt;Company&lt;/TD&gt;&lt;TD width="101.905px" height="15px"&gt;Consumption&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.0476px" height="15px"&gt;1&lt;/TD&gt;&lt;TD width="77.1429px" height="15px"&gt;A&lt;/TD&gt;&lt;TD width="101.905px" height="15px"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.0476px" height="15px"&gt;1&lt;/TD&gt;&lt;TD width="77.1429px" height="15px"&gt;B&lt;/TD&gt;&lt;TD width="101.905px" height="15px"&gt;2000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.0476px" height="15px"&gt;1&lt;/TD&gt;&lt;TD width="77.1429px" height="15px"&gt;C&lt;/TD&gt;&lt;TD width="101.905px" height="15px"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.0476px" height="15px"&gt;2&lt;/TD&gt;&lt;TD width="77.1429px" height="15px"&gt;D&lt;/TD&gt;&lt;TD width="101.905px" height="15px"&gt;1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.0476px" height="15px"&gt;2&lt;/TD&gt;&lt;TD width="77.1429px" height="15px"&gt;E&lt;/TD&gt;&lt;TD width="101.905px" height="15px"&gt;3000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="59.0476px" height="15px"&gt;2&lt;/TD&gt;&lt;TD width="77.1429px" height="15px"&gt;F&lt;/TD&gt;&lt;TD width="101.905px" height="15px"&gt;4000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" width="160" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="80" height="20"&gt;Group 1&lt;/TD&gt;&lt;TD width="80"&gt;4000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="20"&gt;Group 2&lt;/TD&gt;&lt;TD&gt;8000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to concatenate the field Company based on a condition in the Consumption of the GROUP they belong. I've been able to get all the Companies concatenated when I aggregate them by Company:&lt;/P&gt;&lt;P&gt;CONCAT(IF(AGGR(sum(Consumption),Company)&amp;gt; 2000,Company),'|')&lt;/P&gt;&lt;P&gt;E|F&lt;/P&gt;&lt;P&gt;But when I try to get the Companies based on a Group agregation it doesn't work. I would expect&amp;nbsp;D|E|F&lt;/P&gt;&lt;P&gt;CONCAT(IF(AGGR(sum(Consumption),Group)&amp;gt; 5000 ,Company),'|')&lt;/P&gt;&lt;P&gt;Could someone explain me why this is happening?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Concatenate-aggregated-field/m-p/1707195#M54226</guid>
      <dc:creator>ruben_moya</dc:creator>
      <dc:date>2024-11-16T02:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate aggregated field</title>
      <link>https://community.qlik.com/t5/App-Development/Concatenate-aggregated-field/m-p/1708584#M54369</link>
      <description>&lt;P&gt;Hi Ruben,&lt;/P&gt;&lt;P&gt;You have to use NODISTINCT parameter in Aggr() function.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CONCAT(IF(AGGR(NODISTINCT sum(Consumption),Group)&amp;gt; 5000 ,Company),'|')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2020 14:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Concatenate-aggregated-field/m-p/1708584#M54369</guid>
      <dc:creator>SerhanKaraer</dc:creator>
      <dc:date>2020-06-05T14:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate aggregated field</title>
      <link>https://community.qlik.com/t5/App-Development/Concatenate-aggregated-field/m-p/1708987#M54416</link>
      <description>&lt;P&gt;That worked perfectñy, thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just curious, what is the logic behind the need of needing nodistinct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 10:46:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Concatenate-aggregated-field/m-p/1708987#M54416</guid>
      <dc:creator>ruben_moya</dc:creator>
      <dc:date>2020-06-08T10:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate aggregated field</title>
      <link>https://community.qlik.com/t5/App-Development/Concatenate-aggregated-field/m-p/1709001#M54419</link>
      <description>&lt;P&gt;Aggr's temp table does not fit your current table Ruben.&lt;/P&gt;&lt;P&gt;Here is an explanation with data:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-App-Development/What-NODISTINCT-parameter-does-in-AGGR-function/m-p/368156" target="_blank"&gt;https://community.qlik.com/t5/QlikView-App-Development/What-NODISTINCT-parameter-does-in-AGGR-function/m-p/368156&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 11:07:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Concatenate-aggregated-field/m-p/1709001#M54419</guid>
      <dc:creator>SerhanKaraer</dc:creator>
      <dc:date>2020-06-08T11:07:05Z</dc:date>
    </item>
  </channel>
</rss>

