<?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: QlikSense script change content of csv file upon loading in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1556362#M3709</link>
    <description>&lt;P&gt;OK, I checked the article after posting, so text() is the solution, my only concern being : does it suppress 0 in 044. So far it seems ok.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Mar 2019 07:51:40 GMT</pubDate>
    <dc:creator>SebastienPreau</dc:creator>
    <dc:date>2019-03-14T07:51:40Z</dc:date>
    <item>
      <title>QlikSense script change content of csv file upon loading</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1554076#M3672</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;We have a very strange issue&lt;/P&gt;&lt;P&gt;We try to import in QlikSense a csv file (around 500.000 fields)&lt;/P&gt;&lt;P&gt;Here are the data as shown by Notepad++&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="one.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/7574i90B7DDF1CEC86E43/image-size/large?v=v2&amp;amp;px=999" role="button" title="one.PNG" alt="one.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the script&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;NFRN_ID_INT,&lt;BR /&gt;NFRN_TYPE,&lt;BR /&gt;NFRN_MOTF_CODE,&lt;BR /&gt;NFRN_FRNS_CODE,&lt;BR /&gt;NFRN_FORC,&lt;BR /&gt;NFRN_NIVE,&lt;BR /&gt;NFRN_NIVP,&lt;BR /&gt;NFRN_CODE,&lt;BR /&gt;NFRN_COD1,&lt;BR /&gt;NFRN_COD2,&lt;BR /&gt;NFRN_COD3,&lt;BR /&gt;NFRN_COD4,&lt;BR /&gt;NFRN_COD5,&lt;BR /&gt;NFRN_LIBE,&lt;BR /&gt;NFRN_APPL,&lt;BR /&gt;NFRN_DFIN&lt;BR /&gt;FROM [lib://Data/Share\FR\REFERENTIELS\PRODUITS\PFRN\NFRN.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ';', msq);&lt;/P&gt;&lt;P&gt;And here is what we get :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="two.PNG" style="width: 933px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/7575i47276B9FDAB60C3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="two.PNG" alt="two.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can't figure out how the extra 0 in front of 44 just appeared out of the blue&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;PS : tested on versions September 2018 and November 2018&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 18:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1554076#M3672</guid>
      <dc:creator>SebastienPreau</dc:creator>
      <dc:date>2021-12-15T18:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense script change content of csv file upon loading</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1554237#M3674</link>
      <description>&lt;P&gt;I think I would add a recno() and isnum(NFRN_COD1) and len(NFRN_COD1) to the load-statement to check the records and the values a bit more closely. Further thoughts go to the codepage and the msq-statement within the fileformat which might not working like expected.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2019 12:58:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1554237#M3674</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-03-08T12:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense script change content of csv file upon loading</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1554494#M3680</link>
      <description>Sebastien do you mind sending me a csv with a couple of lines so I can check it here, and what Qlik Sense version you are using there?</description>
      <pubDate>Fri, 08 Mar 2019 22:12:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1554494#M3680</guid>
      <dc:creator>Wlad_Masi</dc:creator>
      <dc:date>2019-03-08T22:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense script change content of csv file upon loading</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1556077#M3704</link>
      <description>Hi Sebastien,&lt;BR /&gt;Check if value "044" does appear in field NFRN_COD1 before line 81 in your csv file. &lt;BR /&gt;There is a known behavior that when multiple rows having the same numerical value appears in the same column (for example 044, 44, 00044), Qlik engine will take whatever appears first to be the display value. &lt;BR /&gt;Check this article for more discussion: &lt;A href="https://support.qlik.com/articles/000003759" target="_blank"&gt;https://support.qlik.com/articles/000003759&lt;/A&gt;&lt;BR /&gt;Hope this helps!</description>
      <pubDate>Wed, 13 Mar 2019 15:08:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1556077#M3704</guid>
      <dc:creator>Vu_Nguyen</dc:creator>
      <dc:date>2019-03-13T15:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense script change content of csv file upon loading</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1556361#M3708</link>
      <description>&lt;P&gt;Hy,&lt;/P&gt;&lt;P&gt;I think you have fund the reason&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="01.png" style="width: 587px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/7975iC87B98E3C3457752/image-size/large?v=v2&amp;amp;px=999" role="button" title="01.png" alt="01.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="02.png" style="width: 571px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/7976i4355650C561C11EC/image-size/large?v=v2&amp;amp;px=999" role="button" title="02.png" alt="02.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;044 appears upstream of the 47881th record in the same column&lt;/P&gt;&lt;P&gt;44 appears upstream (36717th records) but never in this column before 47881.&lt;/P&gt;&lt;P&gt;If it does solve the issue, at least it explain the pb.&lt;/P&gt;&lt;P&gt;Meanwhile, we seems to have found the work around :&lt;/P&gt;&lt;P&gt;text(NFRN_COD1) AS NFRN_COD1&lt;/P&gt;&lt;P&gt;seems to avoid the pb. But I'm not sure yet that there is no side effect...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 07:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1556361#M3708</guid>
      <dc:creator>SebastienPreau</dc:creator>
      <dc:date>2019-03-14T07:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense script change content of csv file upon loading</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1556362#M3709</link>
      <description>&lt;P&gt;OK, I checked the article after posting, so text() is the solution, my only concern being : does it suppress 0 in 044. So far it seems ok.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 07:51:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1556362#M3709</guid>
      <dc:creator>SebastienPreau</dc:creator>
      <dc:date>2019-03-14T07:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense script change content of csv file upon loading</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1556364#M3710</link>
      <description>The file was big so i was looking for a solution for file transfer, but as it is resolved, i won't send it.&lt;BR /&gt;Thanks anyway for the proposal</description>
      <pubDate>Thu, 14 Mar 2019 07:53:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-script-change-content-of-csv-file-upon-loading/m-p/1556364#M3710</guid>
      <dc:creator>SebastienPreau</dc:creator>
      <dc:date>2019-03-14T07:53:42Z</dc:date>
    </item>
  </channel>
</rss>

