<?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: Concatenate two rows to one row in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229093#M861878</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barbara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tried a work around with two rows in a table of data from the image you provided, hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;SAPDATA:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;[&lt;BR /&gt; MATNR, TANUM, LGORP, BDATU, BZEIT, VLTYP, VLENR, NLTYP, NLENR, NLBER, VLBER, VSOLM, VISTM, %VON, %NACH&lt;BR /&gt; 31-110, 0005883680, 006, 04-02-2015, 22:41:15, 901,, 006, 00000000000210183625, 001, 001, 18000, 18000, 901, 006&lt;BR /&gt; 31-110, 0005892344, 006, 06-02-2015, 11:05:53, 006, 00000000000210183625, 921,, 001, 001, 18000, 18000, 006, 921&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;QUALIFY&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; *;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;UNQUALIFY&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;MATNR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;LGORP&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;;&lt;BR /&gt; T1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;VLENR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;MATNR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; ,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;LGORP&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;BDATU&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;BZEIT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%VON&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%NACH&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; SAPDATA&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;VLENR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;))&amp;lt;&amp;gt;0;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp; &lt;BR /&gt; T2:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;NLENR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;MATNR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;LGORP&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;BDATU&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;BZEIT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%VON&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%NACH&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; SAPDATA&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;NLENR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;))&amp;lt;&amp;gt;0;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;UNQUALIFY&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt;*;&lt;BR /&gt; FINAL:&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;MATNR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;LGORP&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T1.BDATU&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T2.BDATU&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T1.BZEIT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T2.BZEIT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T2.%VON&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;amp;'/'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T1.%VON&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%VON&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T2.%NACH&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;amp;'/'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T1.%NACH&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%NACH&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; T1;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;DROP&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; SAPDATA,T1; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Ganesh&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jan 2017 07:15:19 GMT</pubDate>
    <dc:creator>ganeshsvm</dc:creator>
    <dc:date>2017-01-12T07:15:19Z</dc:date>
    <item>
      <title>Concatenate two rows to one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229086#M861871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for some ideas how to solve the following issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table looks like this at the moment:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot.jpg" class="jive-image image-1" height="57" src="https://community.qlik.com/legacyfs/online/149061_Screenshot.jpg" style="height: 57px; width: 1262.14px;" width="1262" /&gt;&lt;/P&gt;&lt;P&gt;Where I am struggling at the moment is to get both line into one line --&amp;gt; as you can see, the number in VLENR.LTAP and NLENR.LTAP is the same - so this is the "key" for combining both lines. And I need two more columns where the BDATU.LTAK and BZEIT.LTAK of the second line is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the table should be as followed:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="11-01-2017 08-22-46.jpg" class="jive-image image-2" src="/legacyfs/online/149062_11-01-2017 08-22-46.jpg" style="height: 50px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need it this way to be able to calculate the duration (time) of this process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you a lot for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Barbara&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/Concatenate-two-rows-to-one-row/m-p/1229086#M861871</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate two rows to one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229087#M861872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should try like this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Comment&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,' ') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NewComment &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;use this with resident load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;example&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;load&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Comment&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,' ') &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;NewComment&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; Data&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Group&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;by&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Date&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 08:45:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229087#M861872</guid>
      <dc:creator>dsharmaqv</dc:creator>
      <dc:date>2017-01-11T08:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate two rows to one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229088#M861873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barbara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Two questions.&lt;/P&gt;&lt;P&gt;1. Is it always the result table row is obtained from the two rows of the source table or the rows of the &lt;SPAN style="font-size: 13.3333px;"&gt;source &lt;/SPAN&gt;table can be more than two?&lt;/P&gt;&lt;P&gt;2. Which fields in the source table is determined that the rows moving in one row of the result table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Adrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 12:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229088#M861873</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-01-11T12:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate two rows to one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229089#M861874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrey!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; there are always two lines in the source table because I am only interested in two specific material movements (first: location 901 to 006 and second: location 006 to 921)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) VLENR.LTAP and NLENR.LTAP determine which two rows belong toegether - both columns have the same number.. maybe it's possible combining these two fields --&amp;gt; VLENR.LTAP &amp;amp;'/'&amp;amp; NLENR.LTAP...&lt;BR /&gt;I tried this in the dimensions of the table, but there it was not appropriate.. this should happen in the script part, when loading the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Barbara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 12:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229089#M861874</guid>
      <dc:creator />
      <dc:date>2017-01-11T12:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate two rows to one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229090#M861875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your idea - I saw this one in another post already... But I am not sure if it is the same data basis as in my example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the actual loading statement, when loading the table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LTAP:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;* ,&lt;/P&gt;&lt;P&gt;TANUM.LTAP as %TANUM&lt;/P&gt;&lt;P&gt;FROM $(Data)\LTAP.QVD (qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you would include your statement part in there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Barbara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jan 2017 12:50:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229090#M861875</guid>
      <dc:creator />
      <dc:date>2017-01-11T12:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate two rows to one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229091#M861876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barbara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think what you're looking for is called&amp;nbsp; "slowly changing dimension". &lt;/P&gt;&lt;P&gt;I'm no expert, so i wont be able to give you an example off the top of my head. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will get you on track however.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Bon.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 03:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229091#M861876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-12T03:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate two rows to one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229092#M861877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Create two tables from the same QVD. First one with where isnull(VLENR.LTAP) and second one with isnull(NLENR.LTAP). Then rename the fields accordingly and join two tables based on the common data which NLENR.LTAP or VLENR.LTAP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 05:03:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229092#M861877</guid>
      <dc:creator>parimikittu</dc:creator>
      <dc:date>2017-01-12T05:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate two rows to one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229093#M861878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barbara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tried a work around with two rows in a table of data from the image you provided, hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;SAPDATA:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; * &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Inline&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;[&lt;BR /&gt; MATNR, TANUM, LGORP, BDATU, BZEIT, VLTYP, VLENR, NLTYP, NLENR, NLBER, VLBER, VSOLM, VISTM, %VON, %NACH&lt;BR /&gt; 31-110, 0005883680, 006, 04-02-2015, 22:41:15, 901,, 006, 00000000000210183625, 001, 001, 18000, 18000, 901, 006&lt;BR /&gt; 31-110, 0005892344, 006, 06-02-2015, 11:05:53, 006, 00000000000210183625, 921,, 001, 001, 18000, 18000, 006, 921&lt;BR /&gt; ]&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;QUALIFY&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; *;&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;UNQUALIFY&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;MATNR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;LGORP&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;;&lt;BR /&gt; T1:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;VLENR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;MATNR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; ,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;LGORP&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;BDATU&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;BZEIT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%VON&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%NACH&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; SAPDATA&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;VLENR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;))&amp;lt;&amp;gt;0;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Join&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp; &lt;BR /&gt; T2:&lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;NLENR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;MATNR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;LGORP&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;BDATU&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;BZEIT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%VON&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%NACH&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; SAPDATA&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Where&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Len&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Trim&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;NLENR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;))&amp;lt;&amp;gt;0;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;UNQUALIFY&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt;*;&lt;BR /&gt; FINAL:&amp;nbsp; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%KEY&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;MATNR&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;LGORP&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T1.BDATU&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T2.BDATU&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T1.BZEIT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T2.BZEIT&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T2.%VON&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;amp;'/'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T1.%VON&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%VON&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T2.%NACH&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;amp;'/'&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;T1.%NACH&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;AS&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 12pt;"&gt;%NACH&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Resident&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; T1;&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 12pt;"&gt;DROP&lt;/STRONG&gt;&lt;SPAN style="font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 12pt;"&gt;Table&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; SAPDATA,T1; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Ganesh&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 07:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229093#M861878</guid>
      <dc:creator>ganeshsvm</dc:creator>
      <dc:date>2017-01-12T07:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate two rows to one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229094#M861879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barbara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand you correctly, the solution may be as follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source data (marked with yellow lines that should be loaded and convert to a single line)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/149280_1.jpg" style="height: 180px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;First, load the whole table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//First, load the whole table&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD MATNR.LTAP, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TANUM.I, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LGORT.LTAP, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BDATU.LTAK, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BZEIT.I.TAK, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VLTYP.LTAP, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VLENR.LTAP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NLENR.LTAP&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.jpg" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/149281_2.jpg" style="height: 173px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overload the table, selecting only the rows and ordering on the basis of identical lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate &lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD*,&lt;/P&gt;&lt;P&gt;If(Peek('VLENR.LTAP') &amp;lt;&amp;gt; VLENR.LTAP Or RowNo() = 1, 0, 1) as Flag &lt;SPAN style="color: #8cbb00;"&gt;//0 - new item 1 - the previous item&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;Where (LGORT.LTAP = '921' And VLTYP.LTAP = '006') Or (LGORT.LTAP = '006' And VLTYP.LTAP = '901') &lt;SPAN style="color: #99cc00;"&gt;//We select only the rows by values LGORT.LTAP and VLTYP.LTAP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Order by VLENR.LTAP, NLENR.LTAP; &lt;SPAN style="color: #99cc00;"&gt;//Sort the table on the basis of identical lines&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Drop Table Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.jpg" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/149288_3.jpg" style="height: 138px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Once overload table, reading only lines with Flag=1 and adding the desired values of the previous&amp;nbsp; rows (&lt;SPAN style="font-size: 13.3333px;"&gt;Flag=0&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Table3:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;MATNR.LTAP,&lt;/P&gt;&lt;P&gt;Previous(LGORT.LTAP) as LGORT.LTAP,&lt;/P&gt;&lt;P&gt;Previous(BDATU.LTAK) as BDATU.LTAK_1,&lt;/P&gt;&lt;P&gt;Previous(BZEIT.I.TAK) as BZEIT.I.TAK_1,&lt;/P&gt;&lt;P&gt;BDATU.LTAK as BDATU.LTAK_2,&lt;/P&gt;&lt;P&gt;BZEIT.I.TAK as BZEIT.I.TAK_2,&lt;/P&gt;&lt;P&gt;Previous(VLTYP.LTAP) &amp;amp; '/' &amp;amp; Previous(LGORT.LTAP) as from_to_1,&lt;/P&gt;&lt;P&gt;VLTYP.LTAP &amp;amp; '/' &amp;amp; LGORT.LTAP as from_to_2&lt;/P&gt;&lt;P&gt;Resident Table2&lt;/P&gt;&lt;P&gt;Where Flag = 1&lt;/P&gt;&lt;P&gt;Order by VLENR.LTAP, NLENR.LTAP;&lt;/P&gt;&lt;P&gt;DROP Table Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="4.jpg" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/149289_4.jpg" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps your source data is organized a little differently. I hope that the detailed description will help you to solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example is shown in the attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 13:49:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229094#M861879</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-01-12T13:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate two rows to one row</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229095#M861880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Barbara,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This too might help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1:&lt;BR /&gt;LOAD *,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(MATNR=Peek(MATNR) and VLENR&amp;lt;&amp;gt;Peek(VLENR) and NLENR&amp;lt;&amp;gt;Peek(NLENR),Peek(Key1),VLENR&amp;amp;NLENR) as Key1;&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;MATNR, TANUM, LGORP, BDATU, BZEIT, VLTYP, VLENR, NLTYP, NLENR, NLBER, VLBER, VSOLM, VISTM, %VON, %NACH&lt;BR /&gt;31-110, 0005883680, 006, 04-02-2015, 22:41:15, 901,, 006, 00000000000210183625, 001, 001, 18000, 18000, 901, 006&lt;BR /&gt;31-110, 0005892344, 006, 06-02-2015, 11:05:53, 006, 00000000000210183625, 921,, 001, 001, 18000, 18000, 006, 921&lt;BR /&gt;31-111, 0005883681, 006, 04-02-2015, 22:41:15, 901,, 006, 00000000000210183626, 001, 001, 18000, 18000, 901, 006&lt;BR /&gt;31-111, 0005892345, 006, 06-02-2015, 11:05:53, 006, 00000000000210183626, 921,, 001, 001, 18000, 18000, 006, 921&lt;BR /&gt;31-112, 0005883682, 006, 04-02-2015, 22:41:15, 901,, 006, 00000000000210183627, 001, 001, 18000, 18000, 901, 006&lt;BR /&gt;31-112, 0005892346, 006, 06-02-2015, 11:05:53, 006, 00000000000210183627, 921,, 001, 001, 18000, 18000, 006, 921&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;2:&lt;BR /&gt;LOAD *,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(MATNR=Peek(MATNR) and BDATU&amp;lt;&amp;gt;0,Peek(BDATU2),BDATU) as BDATU2,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(MATNR=Peek(MATNR) and BZEIT&amp;lt;&amp;gt;0,Peek(BZEIT),BZEIT) as BZEIT2,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(MATNR=Peek(MATNR) and %VON&amp;lt;&amp;gt;0,%VON&amp;amp;'/'&amp;amp;Peek(%VON2),%VON) as %VON2,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(MATNR=Peek(MATNR) and %NACH&amp;lt;&amp;gt;0,%NACH&amp;amp;'/'&amp;amp;Peek(%NACH2),%NACH) as %NACH2,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '1' as junk&lt;BR /&gt;Resident 1 Order By&amp;nbsp; MATNR asc,BDATU desc,%VON desc&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;3:&lt;BR /&gt;LOAD *,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '1' as junk1&lt;BR /&gt;Resident 2 Where NLENR&amp;lt;&amp;gt;'' ;&lt;/P&gt;&lt;P&gt;DROP Table 1;&lt;BR /&gt;DROP Field junk From 2;&lt;BR /&gt;DROP Table 2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 14:57:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-two-rows-to-one-row/m-p/1229095#M861880</guid>
      <dc:creator>nitin_01</dc:creator>
      <dc:date>2017-01-12T14:57:26Z</dc:date>
    </item>
  </channel>
</rss>

