<?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() / LEFT() Function not working in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736528#M670391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SID is a new rename which will be not available for qlikview until the load is complete. It is not the issue where u create SID. U R tryng to use SID in same table pull. which is not supported.&lt;/P&gt;&lt;P&gt;Replace it with right(fieldname,6) for the paricular table alone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sundar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Sep 2014 04:00:34 GMT</pubDate>
    <dc:creator>sundarakumar</dc:creator>
    <dc:date>2014-09-19T04:00:34Z</dc:date>
    <item>
      <title>RIGHT() / LEFT() Function not working in load script</title>
      <link>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736525#M670388</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 am trying to load a column using the RIGHT() function to only take the 6 right-most characters from it's data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For some reason, when i try to load the script, the column can't be found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the code i am using for the column:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Right([Functional loc.],6) as SID"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the column in excel:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/67152_pastedImage_0.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thew error that i'm getting:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" src="https://community.qlik.com/legacyfs/online/67153_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not want to make a new column in the excel spreadsheet, because i want it to be automated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 03:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736525#M670388</guid>
      <dc:creator />
      <dc:date>2014-09-19T03:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: RIGHT() / LEFT() Function not working in load script</title>
      <link>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736526#M670389</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 think its not getting error due to right () function.&lt;/P&gt;&lt;P&gt;In ApplyMap, you are using SID field Name which was created in same load. you can't use it in the same load like above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 03:57:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736526#M670389</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2014-09-19T03:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: RIGHT() / LEFT() Function not working in load script</title>
      <link>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736527#M670390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i THINK the error may pertain to the next row which is an applymap function that references SID.&amp;nbsp; you can't refer to SID in the applymap because its an alias, you need to do that in a preceding load or change the reference from SID to the expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 04:00:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736527#M670390</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-19T04:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: RIGHT() / LEFT() Function not working in load script</title>
      <link>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736528#M670391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SID is a new rename which will be not available for qlikview until the load is complete. It is not the issue where u create SID. U R tryng to use SID in same table pull. which is not supported.&lt;/P&gt;&lt;P&gt;Replace it with right(fieldname,6) for the paricular table alone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sundar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 04:00:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736528#M670391</guid>
      <dc:creator>sundarakumar</dc:creator>
      <dc:date>2014-09-19T04:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: RIGHT() / LEFT() Function not working in load script</title>
      <link>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736529#M670392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, that was the issue. I put them into separate loads, but now the load time has doubled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way i can avoid loading the one table twice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="right issue.PNG" class="jive-image" src="/legacyfs/online/67163_right issue.PNG" style="width: 620px; height: 388px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 04:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736529#M670392</guid>
      <dc:creator />
      <dc:date>2014-09-19T04:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: RIGHT() / LEFT() Function not working in load script</title>
      <link>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736530#M670393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think so ... instead of using SID in the 2nd arguement of applymap() try just putting Right([Functional loc.],6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can do it in 1 load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or maybe a&amp;nbsp; preceding load to keep your right() expression written in only 1 place&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; applymap( &amp;lt;argument1&amp;gt;, SID,&amp;nbsp; etc...)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;yourfields&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Right([Functional loc.],6) as SID&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;&amp;lt;source&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 04:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736530#M670393</guid>
      <dc:creator>JonnyPoole</dc:creator>
      <dc:date>2014-09-19T04:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re: RIGHT() / LEFT() Function not working in load script</title>
      <link>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736531#M670394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with &lt;A href="https://community.qlik.com/qlik-users/57513"&gt;Jonathan Poole&lt;/A&gt; , using a preceding load is an elegant way to do it in 1 load!&lt;/P&gt;&lt;P&gt;It looks like you're trying to split [Functional loc.] using '-' as delimiter so you can use &lt;EM&gt;Subfield()&lt;/EM&gt; instead of &lt;EM&gt;Right()&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14111043613697152" jivemacro_uid="_14111043613697152" modifiedtitle="true"&gt;
&lt;P&gt;Subfield([Functional loc.],'-',2) as SID,&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Sep 2014 05:32:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/RIGHT-LEFT-Function-not-working-in-load-script/m-p/736531#M670394</guid>
      <dc:creator>jemancilla</dc:creator>
      <dc:date>2014-09-19T05:32:19Z</dc:date>
    </item>
  </channel>
</rss>

