<?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: Remove Last 3 characters in load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-Last-3-characters-in-load-script/m-p/1620730#M445779</link>
    <description>&lt;P&gt;May be this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD "Related Id",
     "Status",
     "Comment",
     Left(Trim("Related Id"), Len(Trim("Related Id"))-3) as NewField
FROM [lib://TrackWise Reports/Workflow History Cancelled 9-5-2019.csv]
(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Sep 2019 19:51:17 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-09-05T19:51:17Z</dc:date>
    <item>
      <title>Remove Last 3 characters in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Last-3-characters-in-load-script/m-p/1620726#M445778</link>
      <description>&lt;P&gt;I have a field "Related Id" that I need to remove the last 3 characters from all the values. My load script currently looks like this. I have tried several variations of trim but nothing seems to work:&lt;/P&gt;&lt;P&gt;LOAD&lt;BR /&gt;"Related Id",&lt;BR /&gt;Status,&lt;BR /&gt;"Comment",&lt;BR /&gt;left("Related Id",len(trim("Related Id"))-3)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;FROM [lib://TrackWise Reports/Workflow History Cancelled 9-5-2019.csv]&lt;BR /&gt;(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 19:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Last-3-characters-in-load-script/m-p/1620726#M445778</guid>
      <dc:creator>davekski</dc:creator>
      <dc:date>2019-09-05T19:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Last 3 characters in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Last-3-characters-in-load-script/m-p/1620730#M445779</link>
      <description>&lt;P&gt;May be this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LOAD "Related Id",
     "Status",
     "Comment",
     Left(Trim("Related Id"), Len(Trim("Related Id"))-3) as NewField
FROM [lib://TrackWise Reports/Workflow History Cancelled 9-5-2019.csv]
(txt, codepage is 28591, embedded labels, delimiter is ',', msq);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 19:51:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Last-3-characters-in-load-script/m-p/1620730#M445779</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-09-05T19:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Last 3 characters in load script</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-Last-3-characters-in-load-script/m-p/1620731#M445780</link>
      <description>&lt;P&gt;That worked, thank you!!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 19:57:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-Last-3-characters-in-load-script/m-p/1620731#M445780</guid>
      <dc:creator>davekski</dc:creator>
      <dc:date>2019-09-05T19:57:12Z</dc:date>
    </item>
  </channel>
</rss>

