<?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: Formatting Issue in removing decimal points in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Formatting-Issue-in-removing-decimal-points/m-p/2283800#M3880</link>
    <description>&lt;P&gt;Do all values of ACCT_LEVEL_1 contain a decimal point? If not you will receive this error as StringHandling.INDEX will return -1 if the value is not found.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jan 2018 15:45:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-19T15:45:27Z</dc:date>
    <item>
      <title>Formatting Issue in removing decimal points</title>
      <link>https://community.qlik.com/t5/Data-Quality/Formatting-Issue-in-removing-decimal-points/m-p/2283799#M3879</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have an input file in that the variable data is like below,&lt;/P&gt; 
&lt;P&gt;3038604370221.23&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In tMap, the mapping is like below, and for the variable ACCT_LEVEL_1 I want to transform to remove the decimal point. And keep the number as&amp;nbsp;&lt;SPAN&gt;3038604370221. But when I run the expression like below I am receiving the error as&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;'java.lang.StringIndexOutOfBoundsException: String index out of range: -1&lt;BR /&gt;at java.lang.String.substring(Unknown Source)&lt;BR /&gt;at routines.StringHandling.LEFT(StringHandling.java:229)'&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Expression:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;StringHandling.LEFT(row1.ACCT_LEVEL_1,StringHandling.INDEX(row1.ACCT_LEVEL_1,"."))&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="format.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ls39.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148784i95DA09DB9128D92A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ls39.png" alt="0683p000009Ls39.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Formatting-Issue-in-removing-decimal-points/m-p/2283799#M3879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Issue in removing decimal points</title>
      <link>https://community.qlik.com/t5/Data-Quality/Formatting-Issue-in-removing-decimal-points/m-p/2283800#M3880</link>
      <description>&lt;P&gt;Do all values of ACCT_LEVEL_1 contain a decimal point? If not you will receive this error as StringHandling.INDEX will return -1 if the value is not found.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 15:45:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Formatting-Issue-in-removing-decimal-points/m-p/2283800#M3880</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-19T15:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Formatting Issue in removing decimal points</title>
      <link>https://community.qlik.com/t5/Data-Quality/Formatting-Issue-in-removing-decimal-points/m-p/2283801#M3881</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What about something like this?&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Captur.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lrz8.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135083iD3A15E8D4FFF5F1F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lrz8.jpg" alt="0683p000009Lrz8.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt; 
&lt;P&gt;lojdr&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2018 16:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Formatting-Issue-in-removing-decimal-points/m-p/2283801#M3881</guid>
      <dc:creator>lojdr</dc:creator>
      <dc:date>2018-01-19T16:27:35Z</dc:date>
    </item>
  </channel>
</rss>

