<?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: Re: prefix avoid zeros in dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620739#M228508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would think one of the solutions here would work. I have attached an example of using num and num#(). If none of the solutions listed here work, I would suggest uploading your app or an example of the problem you are facing (might be more complex than we thought).&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2014 18:43:16 GMT</pubDate>
    <dc:creator>jerem1234</dc:creator>
    <dc:date>2014-03-10T18:43:16Z</dc:date>
    <item>
      <title>prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620725#M228494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before Avoid zeros in My dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you resole ASAP..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="448"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="448"&gt;000000000000001613&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001614&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001615&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001616&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001617&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001618&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001619&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001620&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001621&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001622&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001623&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001624&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001625&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001626&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001627&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001628&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="17"&gt;000000000000001629&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 16:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620725#M228494</guid>
      <dc:creator>Srinivas</dc:creator>
      <dc:date>2014-03-10T16:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620726#M228495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if it is always 4 digits then right(YourField, 4) would do it.&lt;/P&gt;&lt;P&gt;Or num# function to make it appear as number, eliminating leading zero's&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 16:12:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620726#M228495</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2014-03-10T16:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620727#M228496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Munna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would use the functions&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rangemin&lt;/STRONG&gt;() to get a minimum between two data&amp;nbsp; (we are not sure it will always begin with 0)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mid&lt;/STRONG&gt;() to extract part of a string&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;findoneof&lt;/STRONG&gt;() to know where to find one letter in a string&lt;/P&gt;&lt;P&gt;Please try this (I did not test myself):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mid(MyField, rangemin(findoneof(MyField, '123456789'), 1)) as MyField&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabrice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 16:14:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620727#M228496</guid>
      <dc:creator />
      <dc:date>2014-03-10T16:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620728#M228497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(FIELD) or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(num#(Field))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 16:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620728#M228497</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-03-10T16:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620729#M228498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Findoneof() is a good option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right(&amp;lt;Field Name&amp;gt;, Len(&amp;lt;Field Name&amp;gt;) - FindOneOf(&amp;lt;Field Name&amp;gt;,'123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ`~!@#$%^&amp;amp;*()-=_+[]{}\|;:,.&amp;lt;&amp;gt;/?')+1) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 16:19:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620729#M228498</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2014-03-10T16:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620730#M228499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUPPOSE THIS DATA COMES UNDER FIELDAME COLOUMN. THEN USE FOLLOWS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MID(FIELDNAME,FINDONEOF(FIELDNAME,'123456789'),lEN(FIELDNAME)-1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HOPE THIS HELPS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 16:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620730#M228499</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2014-03-10T16:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620731#M228500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the simple one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(num#(replace(NumberExpression,'00000','')),'0000')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for some reason Num# doesn't work directly with this data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 16:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620731#M228500</guid>
      <dc:creator>bgerchikov</dc:creator>
      <dc:date>2014-03-10T16:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620732#M228501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Easiest I can think of:&lt;/P&gt;&lt;P&gt;Its its in number format:&lt;/P&gt;&lt;P&gt;num(Field,'0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In String format:&lt;/P&gt;&lt;P&gt;num(num#(Field),'0')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 16:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620732#M228501</guid>
      <dc:creator />
      <dc:date>2014-03-10T16:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620733#M228502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fabrice,&lt;/P&gt;&lt;P&gt;It's not working can you do another solution it would be great help full....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp; Advance&lt;/P&gt;&lt;P&gt;Munna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 18:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620733#M228502</guid>
      <dc:creator>Srinivas</dc:creator>
      <dc:date>2014-03-10T18:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620734#M228503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;My Dear Friend,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I tried but,It's not working can you do another solution it would be great help full....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks&amp;amp; Advance&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Munna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 18:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620734#M228503</guid>
      <dc:creator>Srinivas</dc:creator>
      <dc:date>2014-03-10T18:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620735#M228504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;My Dear Friend,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I tried but,It's not working can you do another solution it would be great help full....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks&amp;amp; Advance&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Munna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 18:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620735#M228504</guid>
      <dc:creator>Srinivas</dc:creator>
      <dc:date>2014-03-10T18:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620736#M228505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;My Dear Friend,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I tried but,It's not working can you do another solution it would be great help full....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks&amp;amp; Advance&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Munna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 18:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620736#M228505</guid>
      <dc:creator>Srinivas</dc:creator>
      <dc:date>2014-03-10T18:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620737#M228506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my fields not fixed always some time 4 digits and some times 5 digits.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 18:33:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620737#M228506</guid>
      <dc:creator>Srinivas</dc:creator>
      <dc:date>2014-03-10T18:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620738#M228507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Attached with answer. Can you check it out.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 18:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620738#M228507</guid>
      <dc:creator />
      <dc:date>2014-03-10T18:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620739#M228508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would think one of the solutions here would work. I have attached an example of using num and num#(). If none of the solutions listed here work, I would suggest uploading your app or an example of the problem you are facing (might be more complex than we thought).&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 18:43:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620739#M228508</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-03-10T18:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620740#M228509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NUM(Evaluate(YourFieldName),'#0') as YourFieldName&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 19:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620740#M228509</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-10T19:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620741#M228510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Munna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I loaded your data with leading zeros into QV and found this solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD RawData,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;STRONG&gt;replace(ltrim(replace(RawData,'0',' ')),' ','0') as NumData&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="2051" data-containertype="14" data-objectid="110099" data-objecttype="1" href="http://community.qlik.com/thread/110099"&gt;http://community.qlik.com/thread/110099&lt;/A&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This expression in a first step replaces &lt;STRONG&gt;all &lt;/STRONG&gt;zeros with spaces, then the ltrim function eleminates all leading zeros. At last zeros which have been replaced in the relevant number with spaces, too are again switched to zeros.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Leading Zeros.jpg" class="jive-image" src="/legacyfs/online/54666_Leading Zeros.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Burkhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 19:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620741#M228510</guid>
      <dc:creator>veidlburkhard</dc:creator>
      <dc:date>2014-03-10T19:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620742#M228511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like I provided an example that probably exemplifies why it doesn't work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like num and num# has problems when the number exceeds 14 digits. I believe some of the new solutions provided below should solve the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 19:51:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620742#M228511</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-03-10T19:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: prefix avoid zeros in dimension</title>
      <link>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620743#M228512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's working only for numeric only but not string and numeric.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like..&lt;/P&gt;&lt;P&gt;200N17000&lt;/P&gt;&lt;P&gt;200P30IF0&lt;/P&gt;&lt;P&gt;200P30000&lt;/P&gt;&lt;P&gt;000000000000001613&lt;/P&gt;&lt;P&gt;000000000000001614&lt;/P&gt;&lt;P&gt;000000000000001616&lt;/P&gt;&lt;P&gt;000000000000001618&lt;/P&gt;&lt;P&gt;000000000000001619&lt;/P&gt;&lt;P&gt;000000000000001621&lt;/P&gt;&lt;P&gt;000000000000001623&lt;/P&gt;&lt;P&gt;000000000000001624&lt;/P&gt;&lt;P&gt;000000000000001626&lt;/P&gt;&lt;P&gt;1681J1400N&lt;/P&gt;&lt;P&gt;000000000000001705&lt;/P&gt;&lt;P&gt;000000000000001718&lt;/P&gt;&lt;P&gt;1872E01000&lt;/P&gt;&lt;P&gt;2260V02000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advance&lt;/P&gt;&lt;P&gt;Munna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 04:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/prefix-avoid-zeros-in-dimension/m-p/620743#M228512</guid>
      <dc:creator>Srinivas</dc:creator>
      <dc:date>2014-03-11T04:05:56Z</dc:date>
    </item>
  </channel>
</rss>

