<?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: [resolved] tmap / tfilter and float in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299229#M71598</link>
    <description>i have genric filter( emp_id=5 ). I can do the same filtering in tmap and tfilter also. But which is prefered in filtering and why?</description>
    <pubDate>Thu, 25 Apr 2013 15:37:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-04-25T15:37:15Z</dc:date>
    <item>
      <title>[resolved] tmap / tfilter and float</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299223#M71592</link>
      <description>Hi,
&lt;BR /&gt;Im am trying to filter on my column "Account_number" which is type float(10,2).
&lt;BR /&gt;I then in the tfilter add "Account_number" as inputColumn, function is empty, operator is "Equals" and value 30000 as that is the number I would like to filter upon. 
&lt;BR /&gt;I then get the error "The method compareTo(Float) in the type Float is not applicable for the arguments (int).
&lt;BR /&gt;What am I doing wrong?</description>
      <pubDate>Tue, 23 Apr 2013 11:22:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299223#M71592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-23T11:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap / tfilter and float</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299224#M71593</link>
      <description>Hi, 
&lt;BR /&gt;Could you please elaborate your case with an example with input and expected output values? As we known that you cannot compare two different data type. The expression should be: compareTo(String anotherString) 
&lt;BR /&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 23 Apr 2013 11:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299224#M71593</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-23T11:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap / tfilter and float</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299225#M71594</link>
      <description>Hi,
&lt;BR /&gt;What I would like to do is that I would like an interval of accounts between 30000 and 30900 to be mapped as "Revenue" and all other accounts to be mapped as "Costs". 
&lt;BR /&gt;Meaning I have a charts of accounts table where the accounts go from 30000 to 79000, I would then like to split them into two - a revenue part (30000 to 30900) and Costs (the rest of the accounts). 
&lt;BR /&gt;My idea was to either use the tfilter to split accounts into two - or use the tmap and to the same while adding a new column on the two outputs stating either "Revenue" or "Costs". But then I get the problem that I have the accounts in the format float, but it seems like the tfilter would like them to be integer. 
&lt;BR /&gt;Can I get around that somehow?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Morten</description>
      <pubDate>Tue, 23 Apr 2013 11:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299225#M71594</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-23T11:59:04Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap / tfilter and float</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299226#M71595</link>
      <description>Hi 
&lt;BR /&gt;You can filter the rows on tMap, please see my screenshot. 
&lt;BR /&gt;Shong 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEKH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153129iAB07B24D6811D1CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEKH.png" alt="0683p000009MEKH.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 23 Apr 2013 13:51:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299226#M71595</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-23T13:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap / tfilter and float</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299227#M71596</link>
      <description>That works great, thanks a lot</description>
      <pubDate>Tue, 23 Apr 2013 16:01:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299227#M71596</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-23T16:01:46Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap / tfilter and float</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299228#M71597</link>
      <description>You need to ensure that the fixed value you're comparing to is the same type as your column.  30000 is treated by Java as an int but your column is a float, so instead you should use the fixed float value 30000f.</description>
      <pubDate>Wed, 24 Apr 2013 00:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299228#M71597</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2013-04-24T00:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap / tfilter and float</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299229#M71598</link>
      <description>i have genric filter( emp_id=5 ). I can do the same filtering in tmap and tfilter also. But which is prefered in filtering and why?</description>
      <pubDate>Thu, 25 Apr 2013 15:37:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299229#M71598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-25T15:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap / tfilter and float</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299230#M71599</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;i have genric filter( emp_id=5 ). I can do the same filtering in tmap and tfilter also. But which is prefered in filtering and why?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;If you just only want to filter data, use tfilterrow, if you still need to do other processing like minus/add columns, use tmap.
&lt;BR /&gt;
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 25 Apr 2013 17:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299230#M71599</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-25T17:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap / tfilter and float</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299231#M71600</link>
      <description>I understand that, what is the difference if we use filter in tfilter and tmap..Please share your thoughts</description>
      <pubDate>Thu, 25 Apr 2013 18:33:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299231#M71600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-25T18:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tmap / tfilter and float</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299232#M71601</link>
      <description>If you use the advanced mode of tFilterRow, your filter expression is used in the code exactly as written. There is then no difference to the filtering that tMap would do, which also uses the filter expression exactly as written. However, tMap has a lot more overhead as it can do so much more than just filter rows. 
&lt;BR /&gt;If you use the normal mode in tFilterRow, the settings you choose are translated into a Java expression in the code that might not be the same as if you had written it yourself. The difference in that case will depend on which expression is more efficient and appropriate to your purpose.</description>
      <pubDate>Fri, 26 Apr 2013 02:31:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tmap-tfilter-and-float/m-p/2299232#M71601</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2013-04-26T02:31:45Z</dc:date>
    </item>
  </channel>
</rss>

