<?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: Why zeros are added at start in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623043#M1100911</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;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; REPLACE(LTRIM(REPLACE(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Medical Number]&lt;/SPAN&gt;, '0', ' ')), ' ', '0')as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Medical Number]&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Apr 2014 10:57:53 GMT</pubDate>
    <dc:creator>fkeuroglian</dc:creator>
    <dc:date>2014-04-10T10:57:53Z</dc:date>
    <item>
      <title>Why zeros are added at start</title>
      <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623040#M1100908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have different form of medical Numbers ( '2226' , 'MQ234' )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when i do a concat code such as&amp;nbsp;&amp;nbsp; Id &amp;amp; '-' &amp;amp; [Medical Number]&amp;nbsp; the format i receive for the ones 2226 is&amp;nbsp; 0000 2226 &lt;/P&gt;&lt;P&gt;how can i make it not do that ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 09:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623040#M1100908</guid>
      <dc:creator />
      <dc:date>2014-04-10T09:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why zeros are added at start</title>
      <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623041#M1100909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trim(id) &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;amp; '-' &amp;amp; [Medical Number]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have sample in excel then provide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also check that your field id contains only &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;2226&amp;nbsp; not &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;0000 2226&lt;/SPAN&gt; in the field.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 09:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623041#M1100909</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-10T09:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why zeros are added at start</title>
      <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623042#M1100910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;post some sample data..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 09:37:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623042#M1100910</guid>
      <dc:creator />
      <dc:date>2014-04-10T09:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Why zeros are added at start</title>
      <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623043#M1100911</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;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; REPLACE(LTRIM(REPLACE(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Medical Number]&lt;/SPAN&gt;, '0', ' ')), ' ', '0')as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Medical Number]&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 10:57:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623043#M1100911</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2014-04-10T10:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why zeros are added at start</title>
      <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623044#M1100912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Mixed of&amp;nbsp; string and int better to be use Dual Function &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-family: monospace; color: blue;"&gt;dual&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; background-color: #f7f7f7; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;( 'Id' , '&lt;STRONG style=": ; color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Medical Number&lt;/STRONG&gt;' )&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: monospace; color: blue;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;AS &lt;/SPAN&gt;&lt;SPAN style="color: #660000;"&gt;YouField&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 11:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623044#M1100912</guid>
      <dc:creator>sunilkumarqv</dc:creator>
      <dc:date>2014-04-10T11:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Why zeros are added at start</title>
      <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623045#M1100913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concat([Medical Number] ,'-')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2014 12:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623045#M1100913</guid>
      <dc:creator>rajat2392</dc:creator>
      <dc:date>2014-04-10T12:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Why zeros are added at start</title>
      <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623046#M1100914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DEar All Iam getting the following table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="249" style="width: 397px; height: 232px;" width="395"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="125"&gt;Medical Record NO.&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="159"&gt;FilterID&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;mq00937178&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;7708-mq00937178-01.17.2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;mq00949291&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;7708-mq00949291-01.23.2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;mq00969069&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;7708-mq00969069-12.19.2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;MQ00969106&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;7708-MQ00969106-12.19.2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;MQ00969309&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;7708-MQ00969309-12.20.2012&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;509&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;7708-00000509-04.25.2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;509&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;7708-00000509-06.20.2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;598&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;7708-00000598-03.20.2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="17" style="border-top: none;"&gt;602&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;7708-00000602-04.25.2013&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where i use in the script the following formula&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;LocationID &amp;amp; '-' &amp;amp; [Medical Record No. :] &amp;amp; '-' &amp;amp; Date as FilterID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I tried all the solutions mentioned but didnt get&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 10:57:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623046#M1100914</guid>
      <dc:creator />
      <dc:date>2014-04-12T10:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Why zeros are added at start</title>
      <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623047#M1100915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you provide us a sample data !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 11:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623047#M1100915</guid>
      <dc:creator>mambi</dc:creator>
      <dc:date>2014-04-12T11:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Why zeros are added at start</title>
      <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623048#M1100916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try with&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;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;LocationID &amp;amp; '-' &amp;amp; text([Medical Record No. :]) &amp;amp; '-' &amp;amp; Date as FilterID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 12:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623048#M1100916</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2014-04-12T12:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why zeros are added at start</title>
      <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623049#M1100917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If medical record no which is 00000509 and so with same length like 8 then use below code to make it NUM and then use in the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LocationID &amp;amp; '-' &amp;amp; [Medical Record No. :] &amp;amp; '-' &amp;amp; Date as FilterID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try This&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(len([Medical Record NO.])=8,Num([Medical Record NO.]),[Medical Record NO.]) as [&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Medical Record NO.&lt;/SPAN&gt;]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 13:08:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623049#M1100917</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-12T13:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why zeros are added at start</title>
      <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623050#M1100918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nothing change just try the below code with current script that yo use for concat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LocationID &amp;amp; '-' &amp;amp; [Medical Record No. :] &amp;amp; '-' &amp;amp; Date as FilterID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try This if length is 8&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LocationID &amp;amp; '-' &amp;amp;&amp;nbsp; if(len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Medical Record No. :]&lt;/SPAN&gt;)=8,NUM(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Medical Record No. :]&lt;/SPAN&gt;),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Medical Record No. :]&lt;/SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;amp; '-' &amp;amp; Date as FilterID,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 13:17:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623050#M1100918</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-12T13:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Why zeros are added at start</title>
      <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623051#M1100919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use text()&amp;nbsp; function to handle this situation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Apr 2014 13:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623051#M1100919</guid>
      <dc:creator>arsal_90</dc:creator>
      <dc:date>2014-04-12T13:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why zeros are added at start</title>
      <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623052#M1100920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView randomly added a leading zero to one of the text fields. This solution works for my situation. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 23:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623052#M1100920</guid>
      <dc:creator>marychen</dc:creator>
      <dc:date>2017-05-26T23:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Why zeros are added at start</title>
      <link>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623053#M1100921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try a Len() to indicate that values are what they appear. I mean that Len(509)=3. And if it's true you can try to use it in first iteration:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;LocationID &amp;amp; '-' &amp;amp; right([Medical Record No. :],len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Medical Record No. :]))&lt;/SPAN&gt; &amp;amp; '-' &amp;amp; Date as FilterID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;or &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;in the second iteration &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;(after you've got &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;00000509 but len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Medical Record No. :])=3):&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;subfield(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;FilterID,'-',1)&amp;amp;'-'&amp;amp;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;subfield(right(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;FilterID,len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Medical Record No. :]))&lt;/SPAN&gt;,'-',2)&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&amp;amp;'-'&amp;amp;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;subfield(&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;FilterID,'-',3)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;you can try to multiplicate &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Medical Record No. :] by 1:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LocationID &amp;amp; '-' &amp;amp; [Medical Record No. :]*1 &amp;amp; '-' &amp;amp; Date as FilterID&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;use num() function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;LocationID &amp;amp; '-' &amp;amp; num([Medical Record No. :],'#') &amp;amp; '-' &amp;amp; Date as FilterID&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;maybe some of this helps. If it wont, then we will think next&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 May 2017 15:27:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Why-zeros-are-added-at-start/m-p/623053#M1100921</guid>
      <dc:creator>Sergey_Shuklin</dc:creator>
      <dc:date>2017-05-27T15:27:54Z</dc:date>
    </item>
  </channel>
</rss>

