<?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 field in script or in object? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenate-field-in-script-or-in-object/m-p/1207038#M1251471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be more efficient from a memory standpoint to concatenate the strings in the front.&amp;nbsp; However, you will be using CPU doing it in the front end.&amp;nbsp; The decision is a trade off. &lt;/P&gt;&lt;P&gt;1. If you are displaying the combined string frequently, it makes sense to do the concatenate in the script -- if you hacve available RAM. .&lt;/P&gt;&lt;P&gt;2. If you are displaying the string infrequently, it makes sense to reclaim the RAM in exchange for an occasional use of CPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Nov 2016 21:06:50 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2016-11-09T21:06:50Z</dc:date>
    <item>
      <title>Concatenate field in script or in object?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-in-script-or-in-object/m-p/1207036#M1251469</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'm starting to leverage on the tons of things the QV Document Analyzer by Master Rob Wunderlich offers.&lt;/P&gt;&lt;P&gt;The Count, Size &amp;amp; Bytes columns in the Memory tab in particular is starting to make me think on the approaches I took with my existing projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently in one of my projects, I'm loading the following in the script: a numeric &lt;STRONG&gt;Materials&lt;/STRONG&gt; field, a separate string &lt;STRONG&gt;Description&lt;/STRONG&gt; field, and another &lt;STRONG&gt;Materials - Description&lt;/STRONG&gt; field which is a concatenation of the 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid #000000; width: 423px; height: 77px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Materials&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Materials - Description&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;12345&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sample 1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12345 - Sample 1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;12346&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sample 2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12346 - Sample 2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;12347&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Sample 3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12347 - Sample 3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From an ease of use standpoint, loading &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Materials - Description&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;means that I wouldn't need to Concatenate in the application layer and would just need to call the field directly. But after seeing that the memory consumption was almost doubled, would it be more efficient if I just loaded the &lt;STRONG&gt;Materials&lt;/STRONG&gt; and &lt;STRONG&gt;Descriptions&lt;/STRONG&gt; field and concatenate instead in the application layer for a &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Materials - Description &lt;/STRONG&gt;&lt;/SPAN&gt;at the expense of probably CPU time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would appreciate your inputs on this.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-in-script-or-in-object/m-p/1207036#M1251469</guid>
      <dc:creator>mpbtejada</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field in script or in object?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-in-script-or-in-object/m-p/1207037#M1251470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will depend on various things (available CPU + RAM, exists already any performance issue, kind of data-structure, fields comes from one or more tables, are key-fields, in which way use within the gui and some more ...) which way might be more suitable in your case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 07:17:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-in-script-or-in-object/m-p/1207037#M1251470</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-10-21T07:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field in script or in object?</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-in-script-or-in-object/m-p/1207038#M1251471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be more efficient from a memory standpoint to concatenate the strings in the front.&amp;nbsp; However, you will be using CPU doing it in the front end.&amp;nbsp; The decision is a trade off. &lt;/P&gt;&lt;P&gt;1. If you are displaying the combined string frequently, it makes sense to do the concatenate in the script -- if you hacve available RAM. .&lt;/P&gt;&lt;P&gt;2. If you are displaying the string infrequently, it makes sense to reclaim the RAM in exchange for an occasional use of CPU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 21:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-in-script-or-in-object/m-p/1207038#M1251471</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-11-09T21:06:50Z</dc:date>
    </item>
  </channel>
</rss>

