<?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 How can I format numbers so that leading zeros are preserved when exported to Excel? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-can-I-format-numbers-so-that-leading-zeros-are-preserved/m-p/187016#M50853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I havea series of plant numbers most of which have 4 digits but some have 3 digits and 1 letter. All have 4 characters and some have 1,2 or 3 leading zeros. When exported to Excel the leading zeros are dropped except for those entries which contain a letter as they are formatted as text. For example 0010 is displayed as just 10 but with 001F the leading zeros are preserved when exported to Excel. Is there any way that all the numbers can be formatted as text or is there some other way of preserving the leading zeros when the data is exported to Excel? Any advice would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Mar 2010 18:24:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-03-19T18:24:37Z</dc:date>
    <item>
      <title>How can I format numbers so that leading zeros are preserved when exported to Excel?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-format-numbers-so-that-leading-zeros-are-preserved/m-p/187016#M50853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I havea series of plant numbers most of which have 4 digits but some have 3 digits and 1 letter. All have 4 characters and some have 1,2 or 3 leading zeros. When exported to Excel the leading zeros are dropped except for those entries which contain a letter as they are formatted as text. For example 0010 is displayed as just 10 but with 001F the leading zeros are preserved when exported to Excel. Is there any way that all the numbers can be formatted as text or is there some other way of preserving the leading zeros when the data is exported to Excel? Any advice would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 18:24:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-format-numbers-so-that-leading-zeros-are-preserved/m-p/187016#M50853</guid>
      <dc:creator />
      <dc:date>2010-03-19T18:24:37Z</dc:date>
    </item>
    <item>
      <title>How can I format numbers so that leading zeros are preserved when exported to Excel?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-format-numbers-so-that-leading-zeros-are-preserved/m-p/187017#M50854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having the same exact problem. Anyone find a resolution to this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 22:36:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-format-numbers-so-that-leading-zeros-are-preserved/m-p/187017#M50854</guid>
      <dc:creator />
      <dc:date>2010-11-22T22:36:03Z</dc:date>
    </item>
    <item>
      <title>How can I format numbers so that leading zeros are preserved when exported to Excel?</title>
      <link>https://community.qlik.com/t5/QlikView/How-can-I-format-numbers-so-that-leading-zeros-are-preserved/m-p/187018#M50855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Take a look at &lt;A href="http://community.qlik.com/forums/p/36953/144943.aspx" target="_blank" title="Data corruption? in Qlikview"&gt;this thread&lt;/A&gt;, which seems to be related to what you are telling.&lt;/P&gt;&lt;P&gt;Use the sample code in that post. Tip: use the Text() function to represent it as string.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 23:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-can-I-format-numbers-so-that-leading-zeros-are-preserved/m-p/187018#M50855</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2010-11-22T23:12:35Z</dc:date>
    </item>
  </channel>
</rss>

