<?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: How to apply 'Prefix' in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663913#M241804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tresseco and all ...Its working.But am getting the 15 digits as zero's even though the SEC_ACCT_NO&amp;nbsp; having '-'.i have to show if its as itself like '-'.&lt;/P&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;Dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jun 2014 05:53:24 GMT</pubDate>
    <dc:creator>dhanu_today</dc:creator>
    <dc:date>2014-06-13T05:53:24Z</dc:date>
    <item>
      <title>How to apply 'Prefix'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663906#M241797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I have field SEC_ACCT_NO which contains more than 15 digits and less than 15 digits. We have to show last 15 digits for that am using the ‘RIGHT’&amp;nbsp; function to get the 15 digits only.But how we can put Prefix’Zeros’ which are having less than 15 gitits.&lt;/P&gt;&lt;P&gt;Is their any function available in QV like Lpad,rpad in oracle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The same has been attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 05:04:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663906#M241797</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2014-06-12T05:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply 'Prefix'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663907#M241798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dhanu,&lt;/P&gt;&lt;P&gt;As I understood you need a result like everything in the same format without zeroes.&lt;/P&gt;&lt;P&gt;If so, you can use simple IF in the load script like&lt;/P&gt;&lt;P&gt;IF(len(SEC_ACCT_NO)&amp;gt;15,RIGHT(SEC_ACCT_NO,15),SEC_ACCT_NO) AS YourField&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 05:12:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663907#M241798</guid>
      <dc:creator>SergeyMak</dc:creator>
      <dc:date>2014-06-12T05:12:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply 'Prefix'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663908#M241799</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;Repeat('0',15-Len(SEC_ACCT_NO))&amp;amp;Right(SEC_ACCT_NO,15)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 05:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663908#M241799</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-12T05:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to apply 'Prefix'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663909#M241800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, probably I caught your idea try this in your load script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA an example. I've done it for a dimension.&lt;/P&gt;&lt;P&gt;IF(len(SEC_ACCT_NO)&amp;gt;15,RIGHT(SEC_ACCT_NO,15),REPEAT('0',15-LEN(SEC_ACCT_NO))&amp;amp;SEC_ACCT_NO) AS YourField&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 05:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663909#M241800</guid>
      <dc:creator>SergeyMak</dc:creator>
      <dc:date>2014-06-12T05:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply 'Prefix'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663910#M241801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi may be like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ASHFAQ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 05:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663910#M241801</guid>
      <dc:creator>ashfaq_haseeb</dc:creator>
      <dc:date>2014-06-12T05:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply 'Prefix'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663911#M241802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Repeat('0',15&lt;/SPAN&gt;) &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SEC_ACCT_NO&lt;/SPAN&gt;,15)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 05:41:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663911#M241802</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-06-12T05:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply 'Prefix'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663912#M241803</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;I would use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right(Repeat('0',15) &amp;amp; Text(SEC_ACCT_NO) ,15)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 05:44:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663912#M241803</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-06-12T05:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply 'Prefix'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663913#M241804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tresseco and all ...Its working.But am getting the 15 digits as zero's even though the SEC_ACCT_NO&amp;nbsp; having '-'.i have to show if its as itself like '-'.&lt;/P&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;Dhanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 05:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663913#M241804</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2014-06-13T05:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply 'Prefix'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663914#M241805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you post a sample that demonstrates the issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 05:57:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663914#M241805</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-13T05:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to apply 'Prefix'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663915#M241806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats True.Any how am adding the sample app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 06:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663915#M241806</guid>
      <dc:creator>dhanu_today</dc:creator>
      <dc:date>2014-06-13T06:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply 'Prefix'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663916#M241807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi dhanu i think u need this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=num(right(trim(SEC_ACCT_NO),15),'000000000000000')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 06:21:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663916#M241807</guid>
      <dc:creator>preminqlik</dc:creator>
      <dc:date>2014-06-13T06:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to apply 'Prefix'</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663917#M241808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;BR /&gt;If(Len(SEC_ACCT_NO)&amp;gt;0, Repeat('0',15-Len(SEC_ACCT_NO))&amp;amp;Right(SEC_ACCT_NO,15) ,SEC_ACCT_NO)&amp;nbsp; AS SEC_ACCT_NO_DERIVED&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 06:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-apply-Prefix/m-p/663917#M241808</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-13T06:26:55Z</dc:date>
    </item>
  </channel>
</rss>

