<?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: restricting the values in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558308#M1302361</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Num() function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Oct 2013 06:11:22 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2013-10-15T06:11:22Z</dc:date>
    <item>
      <title>restricting the values</title>
      <link>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558307#M1302357</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;&amp;nbsp;&amp;nbsp; My question is that I have a field called corp_grp_code which has the values as 0000000002&amp;nbsp; and 0000000001.But my requirement is that instead of full digists only single digit 1 and 2 should need to be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me on this .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sriram&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558307#M1302357</guid>
      <dc:creator>ssriramin19</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: restricting the values</title>
      <link>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558308#M1302361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Num() function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 06:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558308#M1302361</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-10-15T06:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: restricting the values</title>
      <link>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558309#M1302364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use the Num() function on &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;corp_grp_code&lt;/SPAN&gt;. That will remove the leading zeros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanxs,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 06:11:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558309#M1302364</guid>
      <dc:creator>vivek_niti</dc:creator>
      <dc:date>2013-10-15T06:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: restricting the values</title>
      <link>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558310#M1302367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which range of values would have that field? Based on your informations I sugest you two solutions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD NUM(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;corp_grp_code&lt;/SPAN&gt;) AS &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;corp_grp_code_new&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;RESIDENT Table;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This one is for 1 digit value range field:&lt;/P&gt;&lt;P&gt;LOAD right(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;corp_grp_code,1) as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;corp_grp_code_new&lt;/SPAN&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;RESIDENT Table;&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;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;Could you be more specific on the exact problem?&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;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 06:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558310#M1302367</guid>
      <dc:creator />
      <dc:date>2013-10-15T06:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: restricting the values</title>
      <link>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558311#M1302369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If the value is in text format then u could use below&lt;/P&gt;&lt;P&gt;=Num(Num#(FieldName, '#'))&lt;/P&gt;&lt;P&gt;if not simply use Num()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 06:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558311#M1302369</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-10-15T06:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: restricting the values</title>
      <link>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558312#M1302371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the Num() Function. It will help you achieve your target.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 07:07:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558312#M1302371</guid>
      <dc:creator />
      <dc:date>2013-10-15T07:07:26Z</dc:date>
    </item>
    <item>
      <title>Re: restricting the values</title>
      <link>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558313#M1302372</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;Num() is just a format function.&lt;/P&gt;&lt;P&gt;If you want to store your data without zeros, use LTrim(corp_grp_code)*1 in your load script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Oct 2013 07:40:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/restricting-the-values/m-p/558313#M1302372</guid>
      <dc:creator />
      <dc:date>2013-10-15T07:40:01Z</dc:date>
    </item>
  </channel>
</rss>

