<?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: Using concat() in load script? in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-concat-in-load-script/m-p/1454618#M3356</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it may have just been a processing time issue...I ran for 2 hrs (I know, I know) and no progress, so then I tried mixing up the order a bit and got the load to work relatively quickly with the following script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PlacementsTable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; text("TDLINX Code") as "TDLINX Code",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Capitalize("Marque Description") as "Marque Description",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Placement Type"&lt;/P&gt;&lt;P&gt; FROM [lib://Master Data Source Location (ws-na_singhvi)/MH SF PLACEMENT.QVD]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concat1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD "TDLINX Code",Concat("Placement Type",',') as Placements Resident PlacementsTable Group By "TDLINX Code";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NewPlacements:&lt;/P&gt;&lt;P&gt;left join (MainTable)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "TDLINX Code",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "Marque Description",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "Placement Type"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident PlacementsTable;&lt;/P&gt;&lt;P&gt;Drop table PlacementsTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The concatenation is pulling in far more values than I anticipated, but I suppose that is something else entirely. Thanks for the help Petter, I will mark this as closed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Jan 2018 18:11:03 GMT</pubDate>
    <dc:creator>bschnug</dc:creator>
    <dc:date>2018-01-11T18:11:03Z</dc:date>
    <item>
      <title>Using concat() in load script?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-concat-in-load-script/m-p/1454615#M3353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to concat a field by another field in my load script, but am running into an issue where the load stops when it gets to this portion. PlacementsTable appears to load fine, then after showing the lines fetched the load just seems to be processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is an example of my code, one complication is that I am trying to do this after a left join. Is it possible the resident table should be PlacementsTable instead of MainTable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately I cant attach any data for proprietary reasons, so hopefully this is enough for someone to help! &lt;/P&gt;&lt;P&gt;PlacementsTable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;left join (MainTable)&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;text("TDLINX Code") as "TDLINX Code",&lt;/P&gt;&lt;P&gt;Capitalize("Marque Description") as &lt;SPAN style="font-size: 13.3333px;"&gt;"Marque Description",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;"Placement Type"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;From *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Concat1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load "TDLINX Code", Concat("Placement Type",',') as Placements Resident MainTable Group By "TDLINX Code";&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 16:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-concat-in-load-script/m-p/1454615#M3353</guid>
      <dc:creator>bschnug</dc:creator>
      <dc:date>2018-01-11T16:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using concat() in load script?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-concat-in-load-script/m-p/1454616#M3354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At first glance this looks perfectly normal and valid. How many rows are there in the two tables? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you leave out the concat operation how long does the join take? Are you running this in Qlik Sense Desktop or in Qlik Sense Enterprise?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 16:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-concat-in-load-script/m-p/1454616#M3354</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-01-11T16:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using concat() in load script?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-concat-in-load-script/m-p/1454617#M3355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Petter, MainTable has 13.7M rows and PlacementsTable has 6.7M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose this could just be something that will take a very long time? It only takes approx 10-12 mins to load the join without the concat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is enterprise, pointing to two QVDs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 16:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-concat-in-load-script/m-p/1454617#M3355</guid>
      <dc:creator>bschnug</dc:creator>
      <dc:date>2018-01-11T16:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Using concat() in load script?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-concat-in-load-script/m-p/1454618#M3356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it may have just been a processing time issue...I ran for 2 hrs (I know, I know) and no progress, so then I tried mixing up the order a bit and got the load to work relatively quickly with the following script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PlacementsTable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; text("TDLINX Code") as "TDLINX Code",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Capitalize("Marque Description") as "Marque Description",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Placement Type"&lt;/P&gt;&lt;P&gt; FROM [lib://Master Data Source Location (ws-na_singhvi)/MH SF PLACEMENT.QVD]&lt;/P&gt;&lt;P&gt;(qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concat1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD "TDLINX Code",Concat("Placement Type",',') as Placements Resident PlacementsTable Group By "TDLINX Code";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NewPlacements:&lt;/P&gt;&lt;P&gt;left join (MainTable)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "TDLINX Code",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "Marque Description",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; "Placement Type"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Resident PlacementsTable;&lt;/P&gt;&lt;P&gt;Drop table PlacementsTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The concatenation is pulling in far more values than I anticipated, but I suppose that is something else entirely. Thanks for the help Petter, I will mark this as closed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 18:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-concat-in-load-script/m-p/1454618#M3356</guid>
      <dc:creator>bschnug</dc:creator>
      <dc:date>2018-01-11T18:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using concat() in load script?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-concat-in-load-script/m-p/1454619#M3357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bryan, maybe it's trying to creting a really long strings because after the Join each TDLINX code has many rows. In this case you can try adding Distinct:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Concat1:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;Load "TDLINX Code", Concat(&lt;STRONG&gt;Distinct&lt;/STRONG&gt; "Placement Type",',') &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 18:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-concat-in-load-script/m-p/1454619#M3357</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2018-01-11T18:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using concat() in load script?</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-concat-in-load-script/m-p/1454620#M3358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EDIT: Ruben, this worked great, thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Ruben, I will try this to solve the issue of my concatenation being far too many values!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jan 2018 18:15:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Using-concat-in-load-script/m-p/1454620#M3358</guid>
      <dc:creator>bschnug</dc:creator>
      <dc:date>2018-01-11T18:15:37Z</dc:date>
    </item>
  </channel>
</rss>

