<?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 SV:Concat and order problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concat-and-order-problem/m-p/223868#M76340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;concat can take up to 3 values. Have swedish installation but translated something like:&lt;/P&gt;&lt;P&gt;concat(expression,delimiter,sortvalue)&lt;/P&gt;&lt;P&gt;so you would use something like:&lt;/P&gt;&lt;P&gt;concat(comments,' ', [Notepad Line]) as [Concat comments]&lt;/P&gt;&lt;P&gt;You might have to fiddle around if it isn't working. Know I had some troubles before getting it to work a while ago.&lt;/P&gt;&lt;P&gt;/Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Dec 2010 11:53:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-15T11:53:00Z</dc:date>
    <item>
      <title>Concat and order problem</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-and-order-problem/m-p/223867#M76339</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 use concat in my script to fit together several comments in a notepad organized like this&lt;/P&gt;&lt;P&gt;Order N° Notepad Line Comments&lt;/P&gt;&lt;P&gt;1 5 box has&lt;/P&gt;&lt;P&gt;1 10 been damaged by postman&lt;/P&gt;&lt;P&gt;2 5 Products X missing&lt;/P&gt;&lt;P&gt;2 10 when received&lt;/P&gt;&lt;P&gt;2 15 at post office&lt;/P&gt;&lt;P&gt;3 3 Product X received an&lt;/P&gt;&lt;P&gt;3 7 Not ordered&lt;/P&gt;&lt;P&gt;My script&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD [Notepad Line],&lt;BR /&gt;[Order N°],&lt;BR /&gt;Comments;&lt;BR /&gt;ORDER BY [Notepad Line],[Order N°];&lt;/P&gt;&lt;P&gt;Table 2:&lt;/P&gt;&lt;P&gt;Load [Order N°],&lt;/P&gt;&lt;P&gt;concat(Comments,' ') as [Concat comments]&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;Group by [Order N°];&lt;/P&gt;&lt;P&gt;Drop Table1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My point: the concat is workin well, but comments are not ordered in the right way. I would like the comment to be concat in the same order as Notepad Line. For example for Order 1:&lt;/P&gt;&lt;P&gt;Order N° Comments&lt;/P&gt;&lt;P&gt;1 box has been damaged by postman&lt;/P&gt;&lt;P&gt;and not&lt;/P&gt;&lt;P&gt;Order N° Comments&lt;/P&gt;&lt;P&gt;1 been damaged by postman box has (which is more like a jedi language &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 11:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-and-order-problem/m-p/223867#M76339</guid>
      <dc:creator>alex59800</dc:creator>
      <dc:date>2010-12-15T11:40:26Z</dc:date>
    </item>
    <item>
      <title>SV:Concat and order problem</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-and-order-problem/m-p/223868#M76340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;concat can take up to 3 values. Have swedish installation but translated something like:&lt;/P&gt;&lt;P&gt;concat(expression,delimiter,sortvalue)&lt;/P&gt;&lt;P&gt;so you would use something like:&lt;/P&gt;&lt;P&gt;concat(comments,' ', [Notepad Line]) as [Concat comments]&lt;/P&gt;&lt;P&gt;You might have to fiddle around if it isn't working. Know I had some troubles before getting it to work a while ago.&lt;/P&gt;&lt;P&gt;/Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 11:53:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-and-order-problem/m-p/223868#M76340</guid>
      <dc:creator />
      <dc:date>2010-12-15T11:53:00Z</dc:date>
    </item>
    <item>
      <title>Concat and order problem</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-and-order-problem/m-p/223869#M76341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, this is the final tweak for the 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;&lt;BR /&gt;T2:&lt;BR /&gt;Load&lt;BR /&gt; [Order N°],&lt;BR /&gt; concat(Comments,' ',[Notepad Line]) as [Concat comments]&lt;BR /&gt;Resident DATA&lt;BR /&gt;Group by [Order N°]&lt;BR /&gt;;&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;And the result will be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE bgcolor="white" border="1" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR align="left"&gt;&lt;TH&gt;&lt;B&gt;Order N°&lt;/B&gt; &lt;B&gt;&lt;/B&gt;&lt;/TH&gt;&lt;TH&gt;&lt;B&gt;Concat comments&lt;/B&gt;&lt;B&gt;&lt;/B&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR align="right"&gt;&lt;TD bgcolor="white"&gt;1&lt;/TD&gt;&lt;TD align="left" bgcolor="white"&gt;box has been damaged by postman&lt;/TD&gt;&lt;/TR&gt;&lt;TR align="right"&gt;&lt;TD bgcolor="white"&gt;2&lt;/TD&gt;&lt;TD align="left" bgcolor="white"&gt;Products X missing when received at post office&lt;/TD&gt;&lt;/TR&gt;&lt;TR align="right"&gt;&lt;TD bgcolor="white"&gt;3&lt;/TD&gt;&lt;TD align="left" bgcolor="white"&gt;Product X received an Not ordered&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Rgds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Dec 2010 13:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-and-order-problem/m-p/223869#M76341</guid>
      <dc:creator>hector</dc:creator>
      <dc:date>2010-12-15T13:32:29Z</dc:date>
    </item>
  </channel>
</rss>

