<?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 I can remove leading zeroes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214151#M67706</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, colleagues.I have a small problem, which I can't resolve elegant.&lt;BR /&gt;&lt;BR /&gt;I want to remove leading zeroes from my Data.&lt;BR /&gt;&lt;BR /&gt;I tried to do some text / num converting, but it didn't help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Apr 2010 08:37:44 GMT</pubDate>
    <dc:creator>sparur</dc:creator>
    <dc:date>2010-04-14T08:37:44Z</dc:date>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214151#M67706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, colleagues.I have a small problem, which I can't resolve elegant.&lt;BR /&gt;&lt;BR /&gt;I want to remove leading zeroes from my Data.&lt;BR /&gt;&lt;BR /&gt;I tried to do some text / num converting, but it didn't help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached file&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 08:37:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214151#M67706</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-04-14T08:37:44Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214152#M67707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I resolved my problem, but I do not like my solution. I believe that this problem can resolve more elegant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;somebody has any ideas? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 08:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214152#M67707</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-04-14T08:51:39Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214153#M67708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Apparently, your column MATNR has string characters (alphabets). So its not a number in string format. This is why the num() is returning a NULL. You should first make MATNR a number only column, then apply a num() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 09:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214153#M67708</guid>
      <dc:creator>vupen</dc:creator>
      <dc:date>2010-04-14T09:02:23Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214154#M67709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anatoly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried different things, but seams like you solved it in almost shortest way. You can little simplify this code by using UPPER() and APPLYCODEPAGE() to get free of special letters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Konstantins&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 09:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214154#M67709</guid>
      <dc:creator>skaredovs</dc:creator>
      <dc:date>2010-04-14T09:03:12Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214155#M67710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Upendra.&lt;/P&gt;&lt;P&gt;Thank for your reply, but I know why function num() is returning null value. I tried different converting variants &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 09:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214155#M67710</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-04-14T09:11:29Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214156#M67711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Konstantins.&lt;BR /&gt;&lt;BR /&gt;Thank you for your idea with UPPER() function. I will apply it. but I don't understand how I can apply second function (applycodepage). How it will help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 09:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214156#M67711</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-04-14T09:13:47Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214157#M67712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi, Anatoly.&lt;/P&gt;&lt;P&gt;I thought to use applycodepage() to get free of special characters, but it works not the way I want.&lt;/P&gt;&lt;P&gt;So, if you don't have special characters, then no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Konstantins&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 09:37:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214157#M67712</guid>
      <dc:creator>skaredovs</dc:creator>
      <dc:date>2010-04-14T09:37:45Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214158#M67713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this is what you are looking for. I have written a Macro function which takes the column value as the paramter and trims all the leading zeros.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 09:51:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214158#M67713</guid>
      <dc:creator>vupen</dc:creator>
      <dc:date>2010-04-14T09:51:55Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214159#M67714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Upendra, Thank you for your suggestion, but I don't like to use a macro. I use it only when I can't resolve problem without it. But your approach is solution also. Thank.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 10:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214159#M67714</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-04-14T10:12:35Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214160#M67715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MATNR - you mean SAP I guess..?&lt;/P&gt;&lt;P&gt;if so.. the Characters that define MATNR (in the R3 system) is MIX with Numbers &amp;amp; Text&lt;/P&gt;&lt;P&gt;one solution is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TEXT(IF(INDEX(TEXT(Material_MATNR),'0000')=1,&lt;/P&gt;&lt;P&gt;NUM(RIGHT(TEXT(Material_MATNR),LEN(TEXT(Material_MATNR))-4)),TEXT(Material_MATNR))) &lt;B&gt;as&lt;/B&gt; Material,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 08:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214160#M67715</guid>
      <dc:creator>guytzumer</dc:creator>
      <dc:date>2010-04-15T08:34:01Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214161#M67716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Yes I Load data from SAP, but not R3, I Use SAP BW.&lt;/P&gt;&lt;P&gt;Ufortunally, I can't use your approach because I don't Know how much zeroes are leading in each Material.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 10:07:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214161#M67716</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-04-15T10:07:15Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214162#M67717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at the enclosed where leading zeros are removed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 10:58:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214162#M67717</guid>
      <dc:creator />
      <dc:date>2010-04-15T10:58:45Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214163#M67718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, DK_ASN&lt;/P&gt;&lt;P&gt;That's a great. Thank you for your suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 11:37:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214163#M67718</guid>
      <dc:creator>sparur</dc:creator>
      <dc:date>2010-04-15T11:37:28Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214164#M67719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have had great success with &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;evaluate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;OriginalField&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &amp;amp; '* 1') &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;MyStrippedField&lt;/SPAN&gt;; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Evaluate to force the field to be evaluated as a numeric the &lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;&amp;amp; '* 1' portion makes that evaluation against algebraic identity.&amp;nbsp; if I need to also format a decimal point such as a string with leading zeros that also needs a decimal point placed as money &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;evaluate&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;OriginalField&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt; &amp;amp; '* .01') &lt;/SPAN&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;MyStrippedField&lt;/SPAN&gt;; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or whatever the number of characters you need the field moved .1 .01 .001 etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps. &lt;/P&gt;&lt;P&gt;Nick Dighera &lt;/P&gt;&lt;P&gt;WIT Inc Troy Michigan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 23:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214164#M67719</guid>
      <dc:creator />
      <dc:date>2011-05-09T23:25:55Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214165#M67720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This always worked great for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;replace(ltrim(replace(MATNR, '0', ' ')), ' ', 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 23:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214165#M67720</guid>
      <dc:creator>disqr_rm</dc:creator>
      <dc:date>2011-05-09T23:44:47Z</dc:date>
    </item>
    <item>
      <title>How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214166#M67721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the following code &lt;/P&gt;&lt;P&gt;may be this can help you out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mid(MATNR,FindOneOf(MATNR,'123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2011 05:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214166#M67721</guid>
      <dc:creator>lalitinmbd</dc:creator>
      <dc:date>2011-05-10T05:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214167#M67722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rakesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very elegant &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 13:42:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214167#M67722</guid>
      <dc:creator />
      <dc:date>2012-06-15T13:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214168#M67723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked great!&amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 02:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214168#M67723</guid>
      <dc:creator>lkartchner</dc:creator>
      <dc:date>2014-04-01T02:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214169#M67724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! far more simple than what I've been using up to now!&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 17:57:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214169#M67724</guid>
      <dc:creator />
      <dc:date>2014-12-03T17:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: How I can remove leading zeroes</title>
      <link>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214170#M67725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Than you very much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 16:57:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-I-can-remove-leading-zeroes/m-p/214170#M67725</guid>
      <dc:creator />
      <dc:date>2015-02-02T16:57:54Z</dc:date>
    </item>
  </channel>
</rss>

