<?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 trouble reading negative values from CSV files in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/trouble-reading-negative-values-from-CSV-files/m-p/2262600#M1776</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to load an Input CSV file into Mysql DB with two fields having numeric values. When I read the CSV file into Talend, negative values under one field are being read in brackets for eg: -100.00 as (100.00) whereas for the other field it doesn't do the same eg: -5.00 is being read as -5.00.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, in Tmap when I'm forcing these string columns to convert into float values...it's not working as they have special characters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I read negative values into my database so that later when I group the numeric column by a particular dimension it has to take a sum of -ve &amp;amp; +ve values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm thinking of using tReplace to replace "(" with "-" and ")" with "". Yet I'm not sure if I'd be able to convert "-644.00" to float datatype as it'll be still having "-" as a special character.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below I'm attaching screenshots of my tmap, job design, and input schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Praneeth Reddy Varimalla&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:37:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T04:37:17Z</dc:date>
    <item>
      <title>trouble reading negative values from CSV files</title>
      <link>https://community.qlik.com/t5/Data-Quality/trouble-reading-negative-values-from-CSV-files/m-p/2262600#M1776</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to load an Input CSV file into Mysql DB with two fields having numeric values. When I read the CSV file into Talend, negative values under one field are being read in brackets for eg: -100.00 as (100.00) whereas for the other field it doesn't do the same eg: -5.00 is being read as -5.00.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, in Tmap when I'm forcing these string columns to convert into float values...it's not working as they have special characters.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I read negative values into my database so that later when I group the numeric column by a particular dimension it has to take a sum of -ve &amp;amp; +ve values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm thinking of using tReplace to replace "(" with "-" and ")" with "". Yet I'm not sure if I'd be able to convert "-644.00" to float datatype as it'll be still having "-" as a special character.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below I'm attaching screenshots of my tmap, job design, and input schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Praneeth Reddy Varimalla&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:37:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/trouble-reading-negative-values-from-CSV-files/m-p/2262600#M1776</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: trouble reading negative values from CSV files</title>
      <link>https://community.qlik.com/t5/Data-Quality/trouble-reading-negative-values-from-CSV-files/m-p/2262601#M1777</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I think your problem just from thousands separator, you need to define it in the studio, on Advanced setting of tFileInputDelimited component&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="Screen Shot 2019-09-30 at 8.52.58 PM.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M7cr.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/147327iAE3A18BA873BCA93/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M7cr.png" alt="0683p000009M7cr.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 08:55:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/trouble-reading-negative-values-from-CSV-files/m-p/2262601#M1777</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-09-30T08:55:25Z</dc:date>
    </item>
  </channel>
</rss>

