<?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: Problem with &amp;quot;right&amp;quot; function in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419973#M611200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding a text() function to prevent QV from using number representation:&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;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; font-size: 13px;"&gt;text(num(right(MYFIELD,5),'00000'))as Field&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: 13px;"&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; font-size: 13px;"&gt;-Roob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Nov 2017 02:25:26 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2017-11-07T02:25:26Z</dc:date>
    <item>
      <title>Problem with "right" function in script</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419970#M611197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i'm facing a strange bug with the "right" function in my script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wan't to get the last five characters in a string with letters and numbers (XX00000000 or more numbers) ,so i use this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;num(right(MYFIELD,5),'00000') as Field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is when the string contain some "0", the function not works properly. The function get only characters before the "0", example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DE60831584 -&amp;gt; 31584 -&amp;gt; correct&lt;/P&gt;&lt;P&gt;DE24708585 -&amp;gt; 8585 instead of 08585&lt;/P&gt;&lt;P&gt;DE0344700003 -&amp;gt; 0003 instead of 00003&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems the function delete a "0" in the position 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i'm using the function in a text box, that works perfectly (see attachment), i don't understand why this is not working in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We using QV 11.20 SR15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 13:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419970#M611197</guid>
      <dc:creator>mgolinvaux</dc:creator>
      <dc:date>2017-11-06T13:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "right" function in script</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419971#M611198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not facing any issue. Using QV12.10&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182233_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 16:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419971#M611198</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-11-06T16:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "right" function in script</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419972#M611199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've tested in Qv 11.2 SR12 version and it's working fine. may be double check your end if the issue still exists try to raise ticket with Qlik support.&amp;nbsp; Thanks &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/182302_Capture.JPG" style="height: 352px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 01:34:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419972#M611199</guid>
      <dc:creator>devarasu07</dc:creator>
      <dc:date>2017-11-07T01:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "right" function in script</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419973#M611200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try adding a text() function to prevent QV from using number representation:&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;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; font-size: 13px;"&gt;text(num(right(MYFIELD,5),'00000'))as Field&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: 13px;"&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; font-size: 13px;"&gt;-Roob&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 02:25:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419973#M611200</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-11-07T02:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "right" function in script</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419974#M611201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for this, it works perfectly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a nice day,&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 12:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419974#M611201</guid>
      <dc:creator>mgolinvaux</dc:creator>
      <dc:date>2017-11-07T12:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "right" function in script</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419975#M611202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Devarasu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, i don't wan't to change version of Qlikview on our serveur because it will cause some bugs, that's why we have changed to SR15 préviously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob found a solution for me, thank you your answer by the way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 12:19:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419975#M611202</guid>
      <dc:creator>mgolinvaux</dc:creator>
      <dc:date>2017-11-07T12:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with "right" function in script</title>
      <link>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419976#M611203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your asnwer but we can't change version of Qlikview actually, our serveur is not ready for a migration yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 12:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Problem-with-quot-right-quot-function-in-script/m-p/1419976#M611203</guid>
      <dc:creator>mgolinvaux</dc:creator>
      <dc:date>2017-11-07T12:20:59Z</dc:date>
    </item>
  </channel>
</rss>

