<?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: Logic Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086132#M929640</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: arial, sans-serif; font-size: 13px;"&gt;Hi Guys ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: arial, sans-serif; font-size: 13px;"&gt;below also working for me &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: arial, sans-serif; font-size: 13px;"&gt;LEFT('0000000000', 10 - LEN(CUSTOMER)) &amp;amp; CUSTOMER&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Mar 2016 10:15:38 GMT</pubDate>
    <dc:creator>abhaysingh</dc:creator>
    <dc:date>2016-03-16T10:15:38Z</dc:date>
    <item>
      <title>Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086127#M929635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one scenario in which i need to do below transformation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have customer data like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer&lt;/P&gt;&lt;P&gt;0000012234&lt;/P&gt;&lt;P&gt;0000043210&lt;/P&gt;&lt;P&gt;00000REPLU&lt;/P&gt;&lt;P&gt;67890&lt;/P&gt;&lt;P&gt;123445&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Total length of the customer is 10 always, what i need to do is if the length is less than than it will automatically add zeros before the number,&lt;/P&gt;&lt;P&gt;e.g. in my case &lt;SPAN style="font-size: 13.3333px;"&gt;67890 shud be 00000&lt;SPAN style="font-size: 13.3333px;"&gt;67890&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and &lt;SPAN style="font-size: 13.3333px;"&gt;123445 shud be&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0000&lt;SPAN style="font-size: 13.3333px;"&gt;123445&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086127#M929635</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086128#M929636</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; font-size: 13px;"&gt;Num(customer,'0000')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 10:04:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086128#M929636</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2016-03-16T10:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086129#M929637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load Num(Customer,'0000000000') as Customer Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Customer&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0000012234&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0000043210&lt;/P&gt;&lt;P&gt;&amp;nbsp; 00000REPLU&lt;/P&gt;&lt;P&gt;&amp;nbsp; 67890&lt;/P&gt;&lt;P&gt;&amp;nbsp; 123445&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 10:04:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086129#M929637</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-03-16T10:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086130#M929638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;TAB1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; If(Len(Customer) &amp;lt; 10, Repeat(0, 10 - Len(Customer)) &amp;amp; Customer, Customer) as CUS;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD * INLINE&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Customer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;0000012234&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;0000043210&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;00000REPLU&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;67890&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;123445&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;];&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118214_Capture.PNG" style="height: auto;" /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 10:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086130#M929638</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-16T10:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086131#M929639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; If(Len(Customer) &amp;lt; 10, Text(Repeat(0,10-Len(Customer)))&amp;amp;Customer,Customer) as Customer&lt;/P&gt;&lt;P&gt;Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;&amp;nbsp; Customer&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0000012234&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0000043210&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0000REPLU&lt;/P&gt;&lt;P&gt;&amp;nbsp; 67890&lt;/P&gt;&lt;P&gt;&amp;nbsp; 123445&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ohhh... &lt;A _jive_internal="true" data-avatarid="10792" data-externalid="" data-online="false" data-presence="null" data-userid="171708" data-username="sunindia" href="https://community.qlik.com/people/sunindia" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; background-color: #f2f2f2;"&gt;Sunny T&lt;/A&gt; already replied the same...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 10:09:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086131#M929639</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2016-03-16T10:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086132#M929640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: arial, sans-serif; font-size: 13px;"&gt;Hi Guys ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: arial, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: arial, sans-serif; font-size: 13px;"&gt;below also working for me &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #263238; font-family: arial, sans-serif; font-size: 13px;"&gt;LEFT('0000000000', 10 - LEN(CUSTOMER)) &amp;amp; CUSTOMER&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 10:15:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086132#M929640</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2016-03-16T10:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086133#M929641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use the repeat function&lt;/P&gt;&lt;P&gt;Load repeat('0',10-Len(Customer) &amp;amp; Customer as Customer &lt;/P&gt;&lt;P&gt;from your_data_source&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 10:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086133#M929641</guid>
      <dc:creator>ali_hijazi</dc:creator>
      <dc:date>2016-03-16T10:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086134#M929642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tried but not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 10:45:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086134#M929642</guid>
      <dc:creator>abhaysingh</dc:creator>
      <dc:date>2016-03-16T10:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086135#M929643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there is missing parenthesis, try this:&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; font-size: 13px;"&gt;&lt;STRONG&gt;LOAD Repeat('0',10-Len(Customer)&lt;SPAN style="color: #ff0000;"&gt;)&lt;/SPAN&gt; &amp;amp; Customer as Customer&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 10:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086135#M929643</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-16T10:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Logic Help</title>
      <link>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086136#M929644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Customer&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0000012234&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0000043210&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0000REPLU&lt;/P&gt;&lt;P&gt;&amp;nbsp; 67890&lt;/P&gt;&lt;P&gt;&amp;nbsp; 123445&lt;/P&gt;&lt;P&gt;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T2:&lt;/P&gt;&lt;P&gt;NoConcatenate Load&lt;/P&gt;&lt;P&gt;Customer,&lt;/P&gt;&lt;P&gt;Repeat('0',10-len(Customer))&amp;amp;Customer as New&lt;/P&gt;&lt;P&gt;Resident T1;&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;IMG alt="Img1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/118240_Img1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 11:58:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Logic-Help/m-p/1086136#M929644</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-16T11:58:31Z</dc:date>
    </item>
  </channel>
</rss>

