<?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: Loading data is time consuming when used text() in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1862919#M71205</link>
    <description>&lt;P&gt;Why not use text(...) in the earlier load when you create qvd?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Nov 2021 08:33:17 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2021-11-24T08:33:17Z</dc:date>
    <item>
      <title>Loading data is time consuming when used text()</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1862878#M71197</link>
      <description>&lt;P&gt;Loading data is time consuming when used text(). This is because of the text() method used while reading data.&lt;/P&gt;
&lt;P&gt;Can this be optimised or done it better way.&lt;/P&gt;
&lt;P&gt;My Code :&lt;/P&gt;
&lt;P&gt;Data:&lt;/P&gt;
&lt;P&gt;Load col1,col2,col3,text(col4) as col4&lt;/P&gt;
&lt;P&gt;from D:/abc.qvd (qvd);&lt;/P&gt;
&lt;P&gt;Is there any other solution. Have couple of such qvds from where we read data.&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Qlik DataMarket" id="qlikDataMarket"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp; &lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 08:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1862878#M71197</guid>
      <dc:creator>SRT10</dc:creator>
      <dc:date>2021-11-24T08:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data is time consuming when used text()</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1862886#M71199</link>
      <description>&lt;P&gt;Create the new column in the qvd itself, i.e. - when you create the qvd in that load statement itself. Then you could be able to load the qvd without transformation and it becomes optimized load which would much faster.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 07:20:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1862886#M71199</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2021-11-24T07:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data is time consuming when used text()</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1862902#M71201</link>
      <description>&lt;P&gt;Column is already present in souce qvd. but considering data issue we are using it in text method. Above code has * and so it looked like we are creating new column. Code seems to be below one :&lt;/P&gt;
&lt;P&gt;Data:&lt;/P&gt;
&lt;P&gt;Load col1,col2,text(col3) as col3&lt;/P&gt;
&lt;P&gt;from d:/abc.qvd (qvd);&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 08:07:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1862902#M71201</guid>
      <dc:creator>SRT10</dc:creator>
      <dc:date>2021-11-24T08:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data is time consuming when used text()</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1862919#M71205</link>
      <description>&lt;P&gt;Why not use text(...) in the earlier load when you create qvd?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 08:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1862919#M71205</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2021-11-24T08:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data is time consuming when used text()</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1863095#M71222</link>
      <description>&lt;P&gt;To keep the load optimized you may apply a &lt;A href="https://qlikviewcookbook.com/2016/07/touchless-formatting/" target="_blank"&gt;Touchless Formatting | Qlikview Cookbook&lt;/A&gt;. But I suggest to follow the suggestion from &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;because in most cases it's more suitable to apply a transformation as near as possible to the source and in your case the text() may come here too late because the qvd-data may have already lost their exact information.&lt;/P&gt;
&lt;P&gt;- Marcus&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 13:02:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1863095#M71222</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-11-24T13:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data is time consuming when used text()</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1863280#M71232</link>
      <description>&lt;P&gt;I did went throught he touchless link but it has mentioned that it is not applicable for text().&lt;/P&gt;
&lt;P&gt;if we use text() while generating source qvd then &lt;BR /&gt;1. there will be lot of work as there are 11 different qvd's&lt;BR /&gt;2. These qvd's are also used by other qvw so they will have impact if we do text() during their generation.&lt;/P&gt;
&lt;P&gt;Our column will have data like -&lt;/P&gt;
&lt;P&gt;000013123&lt;/P&gt;
&lt;P&gt;C013121&lt;/P&gt;
&lt;P&gt;123&lt;/P&gt;
&lt;P&gt;1-A456&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 19:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1863280#M71232</guid>
      <dc:creator>SRT10</dc:creator>
      <dc:date>2021-11-24T19:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data is time consuming when used text()</title>
      <link>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1863487#M71261</link>
      <description>&lt;P&gt;Within a very narrow interpretation it's true that there happens not a text() implementation. But within many scenarios you could apply the touchless-formatting approach also for an interpretation. Important is that the loaded values needs already to be strings within the qvd. If they are numeric you will loose the information already within the qvd.&lt;/P&gt;
&lt;P&gt;To see what is meant and also to play a bit with the functionalities you may try the following within a test-application:&lt;/P&gt;
&lt;P&gt;//t: load F as F1, text(F)as F2 inline [&lt;BR /&gt;//F&lt;BR /&gt;//000013123&lt;BR /&gt;//C013121&lt;BR /&gt;//123&lt;BR /&gt;//0123&lt;BR /&gt;//1-A456&lt;BR /&gt;//13123&lt;BR /&gt;//013123&lt;BR /&gt;//0013123&lt;BR /&gt;//];&lt;BR /&gt;//store t into t.qvd (qvd);&lt;/P&gt;
&lt;P&gt;t0: load '0' as F1, '0' as F2 autogenerate 1;&lt;BR /&gt;t1: noconcatenate load * from t.qvd (qvd);&lt;BR /&gt;store t1 into t1.qvd (qvd);&lt;BR /&gt;drop tables t0;&lt;/P&gt;
&lt;P&gt;exit script;&lt;/P&gt;
&lt;P&gt;and commenting in/out the relevant script-parts. For me it results in:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marcus_sommer_0-1637834357533.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/67416i2C904ADDFA7E2735/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marcus_sommer_0-1637834357533.png" alt="marcus_sommer_0-1637834357533.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;To conclude - I suggest to transfer the text() already to the qvd-creation layer and to apply the logic to 11 cases seems not to be to cause too much efforts. If other processes also load from these qvd's you could double those fields and then each process takes those fields which it needs. Of course the qvd's will be then a bit larger but in regard to the effect it's probably not a high price to pay.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 10:12:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Loading-data-is-time-consuming-when-used-text/m-p/1863487#M71261</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-11-25T10:12:22Z</dc:date>
    </item>
  </channel>
</rss>

