<?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: Leading zeroes get vanished in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1600000#M444191</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You could try using the following just adjust it for what you need&lt;/P&gt;&lt;P&gt;RIGHT('00000' &amp;amp; field,5)&lt;/P&gt;&lt;P&gt;So this will give&lt;/P&gt;&lt;P&gt;Field&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Result&lt;/P&gt;&lt;P&gt;45&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00045&lt;/P&gt;&lt;P&gt;0675&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00675&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jul 2019 15:32:44 GMT</pubDate>
    <dc:creator>atoz1158</dc:creator>
    <dc:date>2019-07-08T15:32:44Z</dc:date>
    <item>
      <title>Leading zeroes get vanished</title>
      <link>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1599419#M444153</link>
      <description>&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;I am working on one application. In this, I extract data from SQL and store it into QVD. Now, I use this QVD to extract data into main application. But, when I load the data, for some values, the leading zeroes are vanished.&lt;/P&gt;&lt;P&gt;As a part of solution, I tried using text(); but this makes only few of the records to show leading zeroes and for rest of others, the leading zeroes are vanished.&lt;/P&gt;&lt;P&gt;Could you please help me understand this issue and resolve it?&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:05:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1599419#M444153</guid>
      <dc:creator>QV_learner</dc:creator>
      <dc:date>2024-11-16T03:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: Leading zeroes get vanished</title>
      <link>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1599496#M444156</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;if you know the lenght of the field you can use&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;text(num(field,'00000'))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so every value will have 5 positions&lt;/P&gt;&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2019 14:33:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1599496#M444156</guid>
      <dc:creator>hectormunoz</dc:creator>
      <dc:date>2019-07-05T14:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Leading zeroes get vanished</title>
      <link>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1599922#M444181</link>
      <description>&lt;P&gt;The field I am using has data type as 'Text'; sorry I didn't mention it earlier.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 13:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1599922#M444181</guid>
      <dc:creator>QV_learner</dc:creator>
      <dc:date>2019-07-08T13:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Leading zeroes get vanished</title>
      <link>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1600000#M444191</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You could try using the following just adjust it for what you need&lt;/P&gt;&lt;P&gt;RIGHT('00000' &amp;amp; field,5)&lt;/P&gt;&lt;P&gt;So this will give&lt;/P&gt;&lt;P&gt;Field&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Result&lt;/P&gt;&lt;P&gt;45&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00045&lt;/P&gt;&lt;P&gt;0675&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00675&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 15:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1600000#M444191</guid>
      <dc:creator>atoz1158</dc:creator>
      <dc:date>2019-07-08T15:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Leading zeroes get vanished</title>
      <link>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1600013#M444192</link>
      <description>&lt;P&gt;It's probably enough to wrap text around the field when loading&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Text(FieldName) as FieldName&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;FieldName,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FROM DATABASE;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2019 15:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1600013#M444192</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-07-08T15:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Leading zeroes get vanished</title>
      <link>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1608047#M444875</link>
      <description>&lt;P&gt;Just to add to Vegar's post, the real question is whether the issue is in the backend in your DB, or on the ETL into QlikView?&amp;nbsp; Potentially, there may be something going on in the ODBC/OLE DB driver you are using to connect to the DB source as well, so if things are not making sense on our side, have a look on the DB vendor forums related to the Connector/Driver you are using etc. to see if you can find any known issues with it.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2019 13:00:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1608047#M444875</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-07-31T13:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Leading zeroes get vanished</title>
      <link>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1611108#M445157</link>
      <description>&lt;P&gt;Thank you guys, for the answers.&lt;BR /&gt;I tried every one of them; but no luck.&lt;BR /&gt;Let me go with DB search option suggested by Brett, hope it will get some answer.&lt;BR /&gt;&lt;BR /&gt;Once again, Thank You All!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2019 12:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1611108#M445157</guid>
      <dc:creator>QV_learner</dc:creator>
      <dc:date>2019-08-09T12:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Leading zeroes get vanished</title>
      <link>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1611585#M445184</link>
      <description>&lt;P&gt;Hey Vivek, if you get further info, feel free to come back and post an update, and we can see if we can come up with anything else at that point...&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2019 13:36:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Leading-zeroes-get-vanished/m-p/1611585#M445184</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-08-12T13:36:54Z</dc:date>
    </item>
  </channel>
</rss>

