<?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, different rows into one row in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073247#M927631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon&lt;/P&gt;&lt;P&gt;We transport different kind of goods. All those types of goods are shown in QV with one row per type, as in the prinstcreen below. E.g ordernumber 1 is a consignment with 2 pallets + 4 rolls + 6 bundles. Because of the 3 types in 1 consignment, I get 3 rows in QV.&lt;/P&gt;&lt;P&gt;I 'd like to have 1 row, but with all the kinds of goods shown, as at the bottem of the printscreen below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I have to use concat.&lt;/P&gt;&lt;P&gt;Until now I have: &lt;SPAN style="font-size: 12pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt; ({$} &lt;SPAN style="color: #800000;"&gt;[Colli]&lt;/SPAN&gt;) &amp;amp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;concat&lt;/SPAN&gt;([kind of goods]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, ',') .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But what I get is:&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 12pt;"&gt;12pallet,roll,bundle&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I like to get: 2x pallet, 4x roll, 6x bundle (or 2pallet, 4roll, 6 bundle. So without "x" is also good)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="119410" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119410_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Het bericht is bewerkt door: J Harke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>jharke</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Concat, different rows into one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073247#M927631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon&lt;/P&gt;&lt;P&gt;We transport different kind of goods. All those types of goods are shown in QV with one row per type, as in the prinstcreen below. E.g ordernumber 1 is a consignment with 2 pallets + 4 rolls + 6 bundles. Because of the 3 types in 1 consignment, I get 3 rows in QV.&lt;/P&gt;&lt;P&gt;I 'd like to have 1 row, but with all the kinds of goods shown, as at the bottem of the printscreen below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I have to use concat.&lt;/P&gt;&lt;P&gt;Until now I have: &lt;SPAN style="font-size: 12pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt; ({$} &lt;SPAN style="color: #800000;"&gt;[Colli]&lt;/SPAN&gt;) &amp;amp;&amp;nbsp; &lt;SPAN style="color: #0000ff;"&gt;concat&lt;/SPAN&gt;([kind of goods]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;, ',') .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But what I get is:&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 12pt;"&gt;12pallet,roll,bundle&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I like to get: 2x pallet, 4x roll, 6x bundle (or 2pallet, 4roll, 6 bundle. So without "x" is also good)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="119410" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119410_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Het bericht is bewerkt door: J Harke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073247#M927631</guid>
      <dc:creator>jharke</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Concat, different rows info one rowConcat, different rows info one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073248#M927632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try =concat( Colli &amp;amp; 'x ' &amp;amp; [kind of goods], ', ')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Mar 2016 16:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073248#M927632</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-03-25T16:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Concat, different rows info one rowConcat, different rows info one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073249#M927633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also apply Gysbert's expression in the script also:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * Inline [&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;order nr, Colli, kind of goods&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1, 2, pallet&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1, 4, roll&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1, 6, bundle&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2, 1, bale&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2, 4, crate&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2, 3, pallet&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3, 2, box&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4, 4, box&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5, 6, roll&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5, 1, bale&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Join (Table)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD [order nr],&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Concat(Colli &amp;amp; 'x ' &amp;amp; [kind of goods], ', ') as [Order Detail]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident Table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Group By [order nr];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119499_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Mar 2016 23:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073249#M927633</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-27T23:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Concat, different rows info one rowConcat, different rows info one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073250#M927634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(concat(Colli&amp;amp;'x'&amp;amp;[Kinds of Goods],','), OrderNo)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 06:30:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073250#M927634</guid>
      <dc:creator>tyagishaila</dc:creator>
      <dc:date>2016-03-28T06:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Concat, different rows info one rowConcat, different rows info one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073251#M927635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Gysbert and Tyagishaila.&lt;/P&gt;&lt;P&gt;Both will do a bit.&lt;/P&gt;&lt;P&gt;I have got also orders like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119624_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;P&gt;Also, with each item a row (as it is given to us by our customer per EDI per row), and I want to have a Sum of this --&amp;gt; ordernr 4= 6x pallet, 2x box &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 06:45:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073251#M927635</guid>
      <dc:creator>jharke</dc:creator>
      <dc:date>2016-03-29T06:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Concat, different rows info one rowConcat, different rows info one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073252#M927636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Tyagishaila.&lt;/P&gt;&lt;P&gt;Your solution will do a bit, but...&lt;/P&gt;&lt;P&gt;I have got also orders like this:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/servlet/JiveServlet/showImage/2-1006914-119624/pastedImage_0.png"&gt;&lt;IMG class="jive-image image-1" height="165" src="https://community.qlik.com/legacyfs/online/120105_pastedImage_0.png" width="176" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also, with each single item one row (as it is given to us by our customer by EDI per row, with references and information per single item etc), and I want to have a Sum of this --&amp;gt; ordernr 4= 6x pallet, 2x box. Is that possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 06:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073252#M927636</guid>
      <dc:creator>jharke</dc:creator>
      <dc:date>2016-04-01T06:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Concat, different rows info one rowConcat, different rows info one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073253#M927637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Try,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LOAD Orderno,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Kind of goods] as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Kind of goods 1] &lt;/SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(Colli) as ColliNew&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; Resident YourTable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;group by&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Orderno,&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;[Kind of goods];&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;concat( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ColliNew &lt;/SPAN&gt;&amp;amp; 'x ' &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Kind of goods 1]&lt;/SPAN&gt;, ', ')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 07:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073253#M927637</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2016-04-01T07:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Concat, different rows info one rowConcat, different rows info one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073254#M927638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goodmorning Gysbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are coming closer:&lt;/P&gt;&lt;P&gt;Now I got:&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120144_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt; &lt;/P&gt;&lt;P&gt;So, the sum is OK, but I don't want to see the 'empty' Euro pallet or Rol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 07:59:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073254#M927638</guid>
      <dc:creator>jharke</dc:creator>
      <dc:date>2016-04-01T07:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Concat, different rows info one rowConcat, different rows info one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073255#M927639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;concat(distinct aggr(nodistinct sum(Colli) &amp;amp; 'x ' , [order nr], [kind of goods]) &amp;amp;&amp;nbsp; [kind of goods],', ',[kind of goods])&lt;/P&gt;&lt;P&gt;&lt;IMG alt="comm210938.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120164_comm210938.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 08:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073255#M927639</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-04-01T08:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Concat, different rows info one rowConcat, different rows info one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073256#M927640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;almost &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/120155_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Apr 2016 08:13:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-different-rows-into-one-row/m-p/1073256#M927640</guid>
      <dc:creator>jharke</dc:creator>
      <dc:date>2016-04-01T08:13:32Z</dc:date>
    </item>
  </channel>
</rss>

