<?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: Right returns nothing in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950794#M78352</link>
    <description>&lt;P&gt;I can't use Keepchar because I have value like H0H for example&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jul 2022 13:43:48 GMT</pubDate>
    <dc:creator>Obsyky</dc:creator>
    <dc:date>2022-07-01T13:43:48Z</dc:date>
    <item>
      <title>Right returns nothing</title>
      <link>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950677#M78334</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have a problem with the right method which returns nothing. &lt;BR /&gt;To understand, here is my input table :&lt;/P&gt;
&lt;TABLE border="1" width="25%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;VALUE&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;A15&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;B0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;C85&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;F1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;G89&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I would like to find as a table after:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;LETTER&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;NUMBER&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;15&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;C&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;85&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;F&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;G&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;89&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For this use :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;VALUELETTER:
LOAD
Left(VALUE,1) as LETTER,
If(Len(VALUE) &amp;gt; 2,Right(VALUE,2),Right(VALUE,1)) as NUMBER
Resident TABLE&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With this code I get this :&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;LETTER&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;NUMBER&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;15&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;C&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;85&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="50%" height="25px"&gt;G&lt;/TD&gt;
&lt;TD width="50%" height="25px"&gt;89&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why right returns nothing when the length is two ????&lt;/P&gt;
&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 10:19:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950677#M78334</guid>
      <dc:creator>Obsyky</dc:creator>
      <dc:date>2022-07-01T10:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Right returns nothing</title>
      <link>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950698#M78338</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/157186"&gt;@Obsyky&lt;/a&gt;&amp;nbsp; Please see below. If it has resolved your issue, kindly like and accept as your resolution.&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp:&lt;BR /&gt;Load * Inline [&lt;BR /&gt;VALUE&lt;BR /&gt;A15&lt;BR /&gt;B0&lt;BR /&gt;C85&lt;BR /&gt;F1&lt;BR /&gt;G89&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;NoConcatenate&lt;BR /&gt;Temp1:&lt;BR /&gt;Load *,&lt;BR /&gt;Left(VALUE,1) as Letter,&lt;BR /&gt;if(Len(VALUE)&amp;gt;0,Right(VALUE,len(VALUE)-1)) as Number&lt;BR /&gt;Resident Temp;&lt;BR /&gt;Drop table Temp;&lt;/P&gt;
&lt;P&gt;Exit Script;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 10:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950698#M78338</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-07-01T10:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Right returns nothing</title>
      <link>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950736#M78340</link>
      <description>&lt;P&gt;That's almost it.&lt;/P&gt;
&lt;P&gt;If I have "A1" and "A01" it turns me 01 for both&amp;nbsp;but it's not the same for me &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 11:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950736#M78340</guid>
      <dc:creator>Obsyky</dc:creator>
      <dc:date>2022-07-01T11:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Right returns nothing</title>
      <link>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950744#M78341</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/157186"&gt;@Obsyky&lt;/a&gt;&amp;nbsp; sorry I did not get that. Did it not resolve your issue yet?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 12:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950744#M78341</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-07-01T12:18:51Z</dc:date>
    </item>
    <item>
      <title>Re: Right returns nothing</title>
      <link>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950748#M78342</link>
      <description>&lt;P&gt;I get this with your code :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Obsyky_0-1656678161984.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83139iBD97D7876BCB998D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Obsyky_0-1656678161984.png" alt="Obsyky_0-1656678161984.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want this :&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;A01&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;A&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;01&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="33.333333333333336%"&gt;A1&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;A&lt;/TD&gt;
&lt;TD width="33.333333333333336%"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Fri, 01 Jul 2022 12:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950748#M78342</guid>
      <dc:creator>Obsyky</dc:creator>
      <dc:date>2022-07-01T12:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Right returns nothing</title>
      <link>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950763#M78343</link>
      <description>&lt;P&gt;The problem comes directly from Qlik which for him 01 = 1, except that not for me. I'll have to understand why&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 12:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950763#M78343</guid>
      <dc:creator>Obsyky</dc:creator>
      <dc:date>2022-07-01T12:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Right returns nothing</title>
      <link>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950777#M78346</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/157186"&gt;@Obsyky&lt;/a&gt;&amp;nbsp; Otherwise you are good with the solution right? If yes please accept it as a solution.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 13:16:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950777#M78346</guid>
      <dc:creator>sidhiq91</dc:creator>
      <dc:date>2022-07-01T13:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Right returns nothing</title>
      <link>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950786#M78348</link>
      <description>&lt;P&gt;The function Keepchar would work for you as well:&lt;/P&gt;
&lt;P&gt;VALUELETTER:&lt;BR /&gt;LOAD&lt;BR /&gt;Keepchar(VALUE,'ABCDEFGHIJKLMNOPQRSTUVWXYZ') as Letter,&lt;BR /&gt;Keepchar(VALUE,'0123456789') as Number&lt;BR /&gt;FROM Source...;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/May2022/Subsystems/Hub/Content/Sense_Hub/Scripting/StringFunctions/KeepChar.htm" target="_blank" rel="noopener"&gt;https://help.qlik.com/en-US/sense/May2022/Subsystems/Hub/Content/Sense_Hub/Scripting/StringFunctions/KeepChar.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 13:27:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950786#M78348</guid>
      <dc:creator>Gui_Approbato</dc:creator>
      <dc:date>2022-07-01T13:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Right returns nothing</title>
      <link>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950793#M78351</link>
      <description>&lt;P&gt;So my problem is not really solved &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 13:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950793#M78351</guid>
      <dc:creator>Obsyky</dc:creator>
      <dc:date>2022-07-01T13:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: Right returns nothing</title>
      <link>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950794#M78352</link>
      <description>&lt;P&gt;I can't use Keepchar because I have value like H0H for example&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 13:43:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950794#M78352</guid>
      <dc:creator>Obsyky</dc:creator>
      <dc:date>2022-07-01T13:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Right returns nothing</title>
      <link>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950798#M78353</link>
      <description>&lt;P&gt;Okay. I just added Text() so that it won't be considered as a number:&lt;/P&gt;
&lt;P&gt;text(if(Len(VALUE)&amp;gt;0,Right(VALUE,len(VALUE)-1))) as Number&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 13:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950798#M78353</guid>
      <dc:creator>Obsyky</dc:creator>
      <dc:date>2022-07-01T13:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Right returns nothing</title>
      <link>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950938#M78365</link>
      <description>&lt;P&gt;You don't need the Right() function at all in this case:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MarcoWedel_0-1656709218170.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83179iCAB76B37762ECDFC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MarcoWedel_0-1656709218170.png" alt="MarcoWedel_0-1656709218170.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;table1:
Load *,
     Left(VALUE,1) as LETTER,
     Text(Mid(VALUE,2)) as NUMBER
Inline [
VALUE
A1
A01
A15
B0
C85
F1
F01
G0
G1
G2
G01
G02
G89
];&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 21:00:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Right-returns-nothing/m-p/1950938#M78365</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-07-01T21:00:49Z</dc:date>
    </item>
  </channel>
</rss>

