<?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 Fields in LOAD command in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Concatenate-Fields-in-LOAD-command/m-p/1894167#M73751</link>
    <description>&lt;LI-CODE lang="markup"&gt;Table:
Load
  OBJID,
  Concat(TLINE, ',')  as newField
resident HRV1002A1
order by OBJID;&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 17 Feb 2022 09:02:30 GMT</pubDate>
    <dc:creator>chris_djih</dc:creator>
    <dc:date>2022-02-17T09:02:30Z</dc:date>
    <item>
      <title>Concatenate Fields in LOAD command</title>
      <link>https://community.qlik.com/t5/App-Development/Concatenate-Fields-in-LOAD-command/m-p/1893706#M73706</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;
&lt;P&gt;I have a task which might seems trivial for you, but for me as a rookie, is a kind of challange.&lt;/P&gt;
&lt;P&gt;I have following file as input:&lt;/P&gt;
&lt;P&gt;OBJID;TABSEQNR;TLINE&lt;BR /&gt;30001517;000001;Teamleitung, Betreuung personalwirtschaflticher EDV-Systeme&lt;BR /&gt;30001517;000002;SAP-HCM, E-Recruiting, Elektronische Personalakte.&lt;BR /&gt;30001517;000003;Arbeitszeitfragen, Personalhaushalt, Budgets, Controlling.&lt;BR /&gt;30001520;000001;Betreuung personalwirtschaflticher EDV-Systeme, Schwerpunkt SAP-HCM.&lt;BR /&gt;30001520;000002;Arbeitszeitrechtliche Fragestellungen.&lt;BR /&gt;30001520;000003;Aufstellung/šberwachung des Personalhaushaltes, Budgetierung.&lt;BR /&gt;30126423;000001;Betreuung personalwirtschaflticher EDV-Systeme, Schwerpunkt SAP-HCM.&lt;BR /&gt;30126423;000002;Aufstellung/šberwachung des Personalhaushaltes, Budgetierung.&lt;BR /&gt;30146451;000001;Betreuung personalwirtschaflticher EDV-Systeme, Schwerpunkt SAP-HCM.&lt;BR /&gt;30146451;000002;Aufstellung/šberwachung des Personalhaushaltes, Budgetierung.&lt;BR /&gt;30126424;000001;Betreuung personalwirtschaflticher EDV-Systeme, Schwerpunkt E-Recruiting,&lt;BR /&gt;30126424;000002;Elektronische Personalakte.&lt;BR /&gt;30126424;000003;Arbeitszeitrechtliche Fragestellungen.&lt;BR /&gt;30098733;000001;Betreuung personalwirtschaflticher EDV-Systeme, Schwerpunkt SAP-HCM.&lt;BR /&gt;30098733;000002;Auswertungen und Statistiken&lt;BR /&gt;30122059;000001;Organisationsstellenplan SAP-HCM, Statistiken&lt;BR /&gt;30138961;000001;Betreuung personalwirtschaflticher EDV-Systeme, Schwerpunkt E-Recruiting,&lt;BR /&gt;30138961;000002;Elektronische Personalakte.&lt;BR /&gt;30138961;000003;Arbeitszeitrechtliche Fragestellungen.&lt;BR /&gt;30146488;000001;Betreuung personalwirtschaflticher EDV-Systeme, Schwerpunkt SAP-HCM.&lt;BR /&gt;30146488;000002;Aufstellung/šberwachung des Personalhaushaltes, Budgetierung.&lt;/P&gt;
&lt;P&gt;My goal is to concatenate the text in the column TLINE for all OBJID. For example for 30001517 I want to get a new field which is the result of the concatenation of the following texts&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Teamleitung, Betreuung personalwirtschaflticher EDV-Systeme&lt;/LI&gt;
&lt;LI&gt;SAP-HCM, E-Recruiting, Elektronische Personalakte.&lt;/LI&gt;
&lt;LI&gt;Arbeitszeitfragen, Personalhaushalt, Budgets, Controlling.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried the following code, which is not complete hence it just not get all three parts of the field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HRV1002A1:&lt;BR /&gt;LOAD OBJID, &lt;BR /&gt;TABSEQNR, &lt;BR /&gt;TLINE&lt;BR /&gt;FROM&lt;BR /&gt;[..\DATA\HRV1002A.csv]&lt;BR /&gt;(txt, utf8, embedded labels, delimiter is ';', msq);&lt;/P&gt;
&lt;P&gt;HRV1002ACC:&lt;BR /&gt;LOAD&lt;BR /&gt;OBJID,&lt;/P&gt;
&lt;P&gt;if (RowNo() = 1, Text(TLINE), &lt;BR /&gt;if ((Previous(OBJID) = OBJID),&lt;BR /&gt;(Text(Previous(TLINE)) &amp;amp; ' ' &amp;amp; Text(TLINE)), &lt;BR /&gt;Text(TLINE))) AS Bezeichnung &lt;BR /&gt;Resident HRV1002A1&lt;BR /&gt;Order by OBJID;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I might use a variable, yet I did not figure how to use a variable in a loop (load).&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 13:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Concatenate-Fields-in-LOAD-command/m-p/1893706#M73706</guid>
      <dc:creator>draghici1109</dc:creator>
      <dc:date>2022-02-16T13:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate Fields in LOAD command</title>
      <link>https://community.qlik.com/t5/App-Development/Concatenate-Fields-in-LOAD-command/m-p/1894167#M73751</link>
      <description>&lt;LI-CODE lang="markup"&gt;Table:
Load
  OBJID,
  Concat(TLINE, ',')  as newField
resident HRV1002A1
order by OBJID;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 17 Feb 2022 09:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Concatenate-Fields-in-LOAD-command/m-p/1894167#M73751</guid>
      <dc:creator>chris_djih</dc:creator>
      <dc:date>2022-02-17T09:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate Fields in LOAD command</title>
      <link>https://community.qlik.com/t5/App-Development/Concatenate-Fields-in-LOAD-command/m-p/1894661#M73804</link>
      <description>&lt;P&gt;yet not order by but &lt;STRONG&gt;group by&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 07:53:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Concatenate-Fields-in-LOAD-command/m-p/1894661#M73804</guid>
      <dc:creator>draghici1109</dc:creator>
      <dc:date>2022-02-18T07:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate Fields in LOAD command</title>
      <link>https://community.qlik.com/t5/App-Development/Concatenate-Fields-in-LOAD-command/m-p/1894684#M73807</link>
      <description>&lt;P&gt;of ccourse, i sometimes mix them up, when in a hurry &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 08:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Concatenate-Fields-in-LOAD-command/m-p/1894684#M73807</guid>
      <dc:creator>chris_djih</dc:creator>
      <dc:date>2022-02-18T08:29:43Z</dc:date>
    </item>
  </channel>
</rss>

