<?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 Concat and relative values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concat-and-relative-values/m-p/214225#M67780</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a table:&lt;/P&gt;&lt;P&gt;Company 1&lt;/P&gt;&lt;P&gt;Company 1&lt;/P&gt;&lt;P&gt;Company 2&lt;/P&gt;&lt;P&gt;Company 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like it to be aggregated in a following way:&lt;/P&gt;&lt;P&gt;[Company 1]2;[Company 2]1;[Company 3]1&lt;/P&gt;&lt;P&gt;Is there any possibility to add values to concat() function? Or maybe anyone could give a hint which function can be used instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Dec 2010 20:47:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-06T20:47:32Z</dc:date>
    <item>
      <title>Concat and relative values</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-and-relative-values/m-p/214225#M67780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a table:&lt;/P&gt;&lt;P&gt;Company 1&lt;/P&gt;&lt;P&gt;Company 1&lt;/P&gt;&lt;P&gt;Company 2&lt;/P&gt;&lt;P&gt;Company 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like it to be aggregated in a following way:&lt;/P&gt;&lt;P&gt;[Company 1]2;[Company 2]1;[Company 3]1&lt;/P&gt;&lt;P&gt;Is there any possibility to add values to concat() function? Or maybe anyone could give a hint which function can be used instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 20:47:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-and-relative-values/m-p/214225#M67780</guid>
      <dc:creator />
      <dc:date>2010-12-06T20:47:32Z</dc:date>
    </item>
    <item>
      <title>Concat and relative values</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-and-relative-values/m-p/214226#M67781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, for this script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt;TMP_DATA:&lt;BR /&gt;LOAD&lt;BR /&gt; *&lt;BR /&gt;INLINE [&lt;BR /&gt;F0, F1&lt;BR /&gt;All Companies, Company 1&lt;BR /&gt;All Companies, Company 1&lt;BR /&gt;All Companies, Company 2&lt;BR /&gt;All Companies, Company 3&lt;BR /&gt;];&lt;BR /&gt;&lt;BR /&gt;DATA:&lt;BR /&gt;Load&lt;BR /&gt; F0,&lt;BR /&gt; concat(distinct '['&amp;amp; F1 &amp;amp; ']' &amp;amp; C,';') as F1_Concat&lt;BR /&gt;group by&lt;BR /&gt; F0&lt;BR /&gt;;&lt;BR /&gt;Load&lt;BR /&gt; F0,&lt;BR /&gt; F1,&lt;BR /&gt; count(F1) as C&lt;BR /&gt;resident TMP_DATA&lt;BR /&gt;group by&lt;BR /&gt; F0,&lt;BR /&gt; F1&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;drop table TMP_DATA;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;This is my result&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Dec 2010 21:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-and-relative-values/m-p/214226#M67781</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2010-12-06T21:29:15Z</dc:date>
    </item>
  </channel>
</rss>

