<?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: Is this possible to store values with leading zero in csv and xls in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399107#M798923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus Thanks for ur revert by exporting through GUI its working fine but how to interpret such things its challenge for me now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Dec 2017 15:54:48 GMT</pubDate>
    <dc:creator>Karim_Khan</dc:creator>
    <dc:date>2017-12-13T15:54:48Z</dc:date>
    <item>
      <title>Is this possible to store values with leading zero in csv and xls</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399104#M798920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I have tried every attempt to store the value with leading zeros in qlik view but all got wasted same is working fine in front end of qlik view.But while am trying to store it in &lt;STRONG&gt;.excel or .csv&lt;/STRONG&gt; format it getting removed.If I will open the same with &lt;STRONG&gt;notepad&lt;/STRONG&gt; its taking leading zero can somebody is it possible or shall i drop my hope and ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFB attempts have tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt;"&gt;1. Text((Repeat('0',5-len(EMP_NO))))AS EMP_NO,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;2. if(LEN(EMP_NO)&amp;gt;3,TEXT((Repeat('0',5-len(EMP_NO))&amp;amp;EMP_NO))) AS NEW_NO,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;STRONG&gt;3. replace(ltrim(replace(EMP_NO, '0', ' ')), ' ', 0) as NewMaterial,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt;"&gt;4 . IF (LEN(TRIM(EMP_NO))= 5 , '0' &amp;amp; EMP_NO, EMP_NO) AS LEN_NBR,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KK&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/space/2003" target="_blank"&gt;New to QlikView&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399104#M798920</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is this possible to store values with leading zero in csv and xls</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399105#M798921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x:&lt;/P&gt;&lt;P&gt;Load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Data&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;000001&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store x into x.txt (txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gets me the attached file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share what you're doing and some sample data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 15:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399105#M798921</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2017-12-13T15:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is this possible to store values with leading zero in csv and xls</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399106#M798922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It has nothing to do with Qlik else it's a special excel-feature demonstrating it's very high level intelligence to interpret the content - unfortunately it's not customizable or could be disabled (at least as I know).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a workaround you could try it with a leading zero-white-space like chr(8203) or the excel own string-interpreter of chr(39) or something similar. By exporting objects from the gui to excel the chr(8203) worked well and I think the logic should work by storings, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 15:50:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399106#M798922</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-12-13T15:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is this possible to store values with leading zero in csv and xls</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399107#M798923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus Thanks for ur revert by exporting through GUI its working fine but how to interpret such things its challenge for me now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 15:54:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399107#M798923</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2017-12-13T15:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is this possible to store values with leading zero in csv and xls</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399108#M798924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Extending the example from Felip I meant the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x:&lt;/P&gt;&lt;P&gt;Load &lt;STRONG&gt;chr(8203) &amp;amp; Data as Data&lt;/STRONG&gt; Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Data&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;000001&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;store x into x.txt (txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 16:03:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399108#M798924</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-12-13T16:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is this possible to store values with leading zero in csv and xls</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399109#M798925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot man its done.....&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Dec 2017 16:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399109#M798925</guid>
      <dc:creator>Karim_Khan</dc:creator>
      <dc:date>2017-12-13T16:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is this possible to store values with leading zero in csv and xls</title>
      <link>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399110#M798926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo Marcus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;und wieder einmal hattest du den entscheidenden Tipp: Chr(8203) vor die Nummer setzen bewirkt tatsächlich, dass in Excel die führende Null bestehen bleibt und kein Zeichen davor sichtbar / erkennbar / vorhanden ist. Genauso sollte es sein, super.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Danke dir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gruß,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jens Krüger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2018 20:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-this-possible-to-store-values-with-leading-zero-in-csv-and/m-p/1399110#M798926</guid>
      <dc:creator>jenskrueger</dc:creator>
      <dc:date>2018-01-10T20:57:53Z</dc:date>
    </item>
  </channel>
</rss>

