<?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: How to check if a source value is &amp;gt; something? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210485#M8892</link>
    <description>&lt;P&gt;How can you achieve this in tmap?&lt;/P&gt;</description>
    <pubDate>Fri, 30 Nov 2018 17:25:32 GMT</pubDate>
    <dc:creator>rp2018</dc:creator>
    <dc:date>2018-11-30T17:25:32Z</dc:date>
    <item>
      <title>How to check if a source value is &gt; something?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210478#M8885</link>
      <description>&lt;P&gt;Have a sql server as a source database and a source field is called amt which is a Boolean field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What tool to use to check if a value for amt &amp;gt; 300000.00 then insert the entire row into another table and add comment to a field called Reason = 'Amount exceeded &lt;SPAN&gt;300000.00&lt;/SPAN&gt;' .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE:&amp;nbsp; Reason field is not coming from source, but it is in the target table.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:23:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210478#M8885</guid>
      <dc:creator>rp2018</dc:creator>
      <dc:date>2024-11-16T07:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a source value is &gt; something?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210479#M8886</link>
      <description>&lt;P&gt;Your question is a little confusing as you mention your column "amt" is defined as boolean (which should only allow true or false as values) If this is a simple mistake in the post, give the following a try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;you should be able to design a job that would look like this:&lt;BR /&gt;tDBInput ---row---&amp;gt; tDBOutput&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;in the DB input query, write something like the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"SELECT *, 'Amount Exceeded "+context.THRESHOLD_VALUE+"' as Reason FROM source_table WHERE amt &lt;BR /&gt;&amp;gt; "+context.THRESHOLD_VALUE+""&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would retrieve only the rows in the source table that have amt greater than your expected value stored in the context variable THRESHOLD_VALUE, and copy them to the target table configured in your db output component.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 19:55:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210479#M8886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-29T19:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a source value is &gt; something?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210480#M8887</link>
      <description>&lt;P&gt;Firstly, How could a boolean field contain Integer ?&lt;/P&gt; 
&lt;P&gt;If thats by mistake then you can simply create a Select query with where clause on the amount field checking if its greater than &lt;SPAN&gt;300000.00 and populate the Reason field of target with "&amp;nbsp;Amount exceeded&amp;nbsp;300000.00 ".&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Additional : If your Source and Target tables are in the same instance of MsSQL then you should go for ELT components ,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;you will surely get the performance boost in terms of time taken .&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 08:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210480#M8887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-30T08:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a source value is &gt; something?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210481#M8888</link>
      <description>&lt;P&gt;Sorry I meant to say the datatype is double.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a component in Talend to do this instead of writing the sql query?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 14:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210481#M8888</guid>
      <dc:creator>rp2018</dc:creator>
      <dc:date>2018-10-30T14:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a source value is &gt; something?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210482#M8889</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOUoAAO"&gt;@rp2018&lt;/A&gt;,you can use tFilterRows to filter the data.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 07:39:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210482#M8889</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-11-02T07:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a source value is &gt; something?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210483#M8890</link>
      <description>&lt;P&gt;yes you can choose tmap or tfilter to filter out the rows required&lt;/P&gt;&lt;P&gt;but if you are fetching data from Database the query will anyways&amp;nbsp;be generated.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Nov 2018 06:34:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210483#M8890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-05T06:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a source value is &gt; something?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210484#M8891</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOUoAAO"&gt;@rp2018&lt;/A&gt;,still do you have this issue?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 13:02:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210484#M8891</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-11-29T13:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a source value is &gt; something?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210485#M8892</link>
      <description>&lt;P&gt;How can you achieve this in tmap?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2018 17:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210485#M8892</guid>
      <dc:creator>rp2018</dc:creator>
      <dc:date>2018-11-30T17:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a source value is &gt; something?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210486#M8893</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can either use the filter available in map to filter out the rows or you can process at the column level to pass the value only if it is greater than some specific value.&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;Chandra Kant&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 07:23:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-if-a-source-value-is-gt-something/m-p/2210486#M8893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-03T07:23:14Z</dc:date>
    </item>
  </channel>
</rss>

