<?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: convert to INT Tmap fails in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206811#M6719</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;, thanks for your time !&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Actually, I have to keep the comma ! Maybe I should explain myself better.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My input column looks like :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captureinput.PNG" style="width: 87px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1Cb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154849iF1FB1738D6E1E325/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1Cb.png" alt="0683p000009M1Cb.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;And format is " number " on my excel sheet.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want it in my input as number or integer what ever. But from now on, in my output I only have 334 &amp;amp; 78. I just tried "TconvertType" components&amp;nbsp;but have the same&amp;nbsp;error :&amp;nbsp; "&amp;nbsp;For input string: "1,916"&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Dec 2018 15:26:57 GMT</pubDate>
    <dc:creator>daez</dc:creator>
    <dc:date>2018-12-03T15:26:57Z</dc:date>
    <item>
      <title>convert to INT Tmap fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206809#M6717</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have an excel input file which has number types such as : 45,34 or 1916.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have : tfileinput &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; tmap &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; tfileoutput. So in the schema i put the column type "integer " in the input/tmap/output.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want my output of this column in integer. Its all working good except for 1000+ number, they are not written. Why? 999,99 is working but 1111 is not. In the console I have this kind of error, in red : "&amp;nbsp;For input string: "1,916"? But in my input I dont have any "," except for the decimal... Help?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 14:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206809#M6717</guid>
      <dc:creator>daez</dc:creator>
      <dc:date>2018-12-03T14:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: convert to INT Tmap fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206810#M6718</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please add a replace all function to remove all commas before passing to the tconverttype?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Its working fine when the data is reaching in cleansed numerical format. Please see the screenshot below where input is string but output is integer.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 733px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1HV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128944iF375D8EC771CDD3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1HV.png" alt="0683p000009M1HV.png" /&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;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 15:06:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206810#M6718</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-03T15:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: convert to INT Tmap fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206811#M6719</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;, thanks for your time !&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Actually, I have to keep the comma ! Maybe I should explain myself better.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My input column looks like :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captureinput.PNG" style="width: 87px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1Cb.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154849iF1FB1738D6E1E325/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1Cb.png" alt="0683p000009M1Cb.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;And format is " number " on my excel sheet.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want it in my input as number or integer what ever. But from now on, in my output I only have 334 &amp;amp; 78. I just tried "TconvertType" components&amp;nbsp;but have the same&amp;nbsp;error :&amp;nbsp; "&amp;nbsp;For input string: "1,916"&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 15:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206811#M6719</guid>
      <dc:creator>daez</dc:creator>
      <dc:date>2018-12-03T15:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: convert to INT Tmap fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206812#M6720</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOMwAAO"&gt;@daez&lt;/A&gt;,since&amp;nbsp;i suggest you to read&amp;nbsp; first that column as&amp;nbsp; string and remove that "," and the convert sting to integer.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;row1.col.replace(',','')&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 04:18:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206812#M6720</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-12-04T04:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: convert to INT Tmap fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206813#M6721</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOMwAAO"&gt;@daez&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Here you go! You can use below function to clear all the commas. Please refer both input and out in below screen shots and component details.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;row1.input.replaceAll(",","")&lt;/PRE&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Job flow" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M13A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149335iE5FC7B28F6440FF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M13A.png" alt="0683p000009M13A.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Job flow&lt;/SPAN&gt;&lt;/SPAN&gt;&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-center" image-alt="tMap replace" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1Hp.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140760i1A44F9DDE1002C10/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1Hp.png" alt="0683p000009M1Hp.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;tMap replace&lt;/SPAN&gt;&lt;/SPAN&gt;&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-center" image-alt="tConvertType" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1Hz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138512iDFAFAEA135F9E2E1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1Hz.png" alt="0683p000009M1Hz.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;tConvertType&lt;/SPAN&gt;&lt;/SPAN&gt;&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-center" image-alt="yConvertType schema" style="width: 973px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1IE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136091i0E35DE236BDD6097/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1IE.png" alt="0683p000009M1IE.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;yConvertType schema&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;Could you please mark the topic as resolved since your query is answered? Kudos are also welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 04:48:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206813#M6721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-04T04:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: convert to INT Tmap fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206814#M6722</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOMwAAO"&gt;@daez&lt;/A&gt;,i sugget with&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;replay,but you no need to use tConvertype,instead of that in same tmap you can convert form sting to integer.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Integer.parseInt(row1.Coll)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 04:52:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206814#M6722</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-12-04T04:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: convert to INT Tmap fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206815#M6723</link>
      <description>&lt;P&gt;I agree with&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I added tConvertType to give a better graphical representation &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 04:57:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206815#M6723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-04T04:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: convert to INT Tmap fails</title>
      <link>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206816#M6724</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOMwAAO"&gt;@daez&lt;/A&gt;,still do you have this issue?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Dec 2018 05:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/convert-to-INT-Tmap-fails/m-p/2206816#M6724</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-12-13T05:19:43Z</dc:date>
    </item>
  </channel>
</rss>

