<?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] how can i add many bigdecimal ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352090#M118528</link>
    <description>Hi emy,
&lt;BR /&gt;Could you please give us more info about your current job situation. What's your job requirment?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
    <pubDate>Tue, 22 Jul 2014 05:27:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-07-22T05:27:25Z</dc:date>
    <item>
      <title>[resolved] how can i add many bigdecimal ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352086#M118524</link>
      <description>&lt;FONT size="3"&gt;&lt;FONT color="#222222"&gt;&lt;FONT face="arial, sans-serif"&gt;i have to do this operation but it returns exception error .&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT color="#222222"&gt;&lt;FONT face="arial, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="3"&gt;&lt;FONT color="#222222"&gt;&lt;FONT face="arial, sans-serif"&gt;row13.montant.subtract(row20.montant.add(row21.montant).add(row18.montant).add(row17.montant).add(row3.position)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT color="#222222"&gt;&lt;FONT face="arial, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="3"&gt;&lt;FONT color="#222222"&gt;&lt;FONT face="arial, sans-serif"&gt;please how can i resolve this problem?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT color="#222222"&gt;&lt;FONT face="arial, sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="3"&gt;&lt;FONT color="#222222"&gt;&lt;FONT face="arial, sans-serif"&gt;Thank you&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Mon, 21 Jul 2014 11:45:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352086#M118524</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-21T11:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how can i add many bigdecimal ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352087#M118525</link>
      <description>Hi Emy, 
&lt;BR /&gt;What error you are getting? is it null pointer? Check the post 
&lt;BR /&gt; 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCpxGCAS" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/resolved-Adding-expressions-to-tMap-component/td-p/105545&lt;/A&gt; 
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Mon, 21 Jul 2014 16:09:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352087#M118525</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-21T16:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how can i add many bigdecimal ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352088#M118526</link>
      <description>But i have to sum many values of bigdecimal so more than two values . Ho can i calculate it please</description>
      <pubDate>Mon, 21 Jul 2014 22:25:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352088#M118526</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-07-21T22:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how can i add many bigdecimal ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352089#M118527</link>
      <description>tAggregateRow will sum them for you.</description>
      <pubDate>Mon, 21 Jul 2014 23:35:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352089#M118527</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-21T23:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how can i add many bigdecimal ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352090#M118528</link>
      <description>Hi emy,
&lt;BR /&gt;Could you please give us more info about your current job situation. What's your job requirment?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 22 Jul 2014 05:27:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352090#M118528</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-22T05:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how can i add many bigdecimal ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352091#M118529</link>
      <description>&lt;FONT color="#222222"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;row13.montant.subtract(row20.montant.add(row21.montant).add(row18.montant).add(row17.montant).add(row3.position))&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#222222"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;I think you missed last close bracket... check again&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;FONT color="#222222"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Vaibhav&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Tue, 22 Jul 2014 09:12:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352091#M118529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-22T09:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how can i add many bigdecimal ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352092#M118530</link>
      <description>Yes of course ,&amp;nbsp;
&lt;BR /&gt;I'm going to show you my job to understand what i mean :
&lt;BR /&gt;and this is the SQL request :
&lt;BR /&gt;Ecart = ( Montant4 - ( Position3 + Montant22 + Montant21 + Montant20 + Montant19 + Montant18 ))
&lt;BR /&gt;and this is it on Talend :&amp;nbsp;
&lt;BR /&gt;Ecart= row4.Montant.subtract(row3.Position.add(row22.Montant).add(row21.Montant).add(row20.Montant).add(row19.Montant).add(row18.Montant))
&lt;BR /&gt;But it returns this error :&amp;nbsp;
&lt;BR /&gt;Exception in component tMap_1
&lt;BR /&gt;java.lang.NullPointerException
&lt;BR /&gt; at java.math.BigDecimal.add(Unknown Source)
&lt;BR /&gt; at myfirstproject.glob2_0_1.glob2.tMysqlInput_1Process(glob2.java:3288)
&lt;BR /&gt; at myfirstproject.glob2_0_1.glob2.runJobInTOS(glob2.java:18077)
&lt;BR /&gt; at myfirstproject.glob2_0_1.glob2.main(glob2.java:17942)
&lt;BR /&gt;i know how to sum 2 bigdecimal but in this case what can i do i have to sum 6 bigdecimal and substract them .&amp;nbsp;
&lt;BR /&gt;Thanks for ur answer please help me</description>
      <pubDate>Tue, 22 Jul 2014 18:38:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352092#M118530</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-07-22T18:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how can i add many bigdecimal ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352093#M118531</link>
      <description>Yes of course ,&amp;nbsp;
&lt;BR /&gt;I'm going to show you my job to understand what i mean :
&lt;BR /&gt;
&lt;BR /&gt;and this is the SQL request :
&lt;BR /&gt;Ecart = ( Montant4 - ( Position3 + Montant22 + Montant21 + Montant20 + Montant19 + Montant18 ))
&lt;BR /&gt;and this is it on Talend :&amp;nbsp;
&lt;BR /&gt;Ecart=row4.Montant.subtract(row3.Position.add(row22.Montant).add(row21.Montant).add(row20.Montant).add(row19.Montant).add(row18.Montant))
&lt;BR /&gt;But it returns this error :&amp;nbsp;
&lt;BR /&gt;Exception in component tMap_1
&lt;BR /&gt;java.lang.NullPointerException
&lt;BR /&gt;at java.math.BigDecimal.add(Unknown Source)
&lt;BR /&gt;at myfirstproject.glob2_0_1.glob2.tMysqlInput_1Process(glob2.java:3288)
&lt;BR /&gt;at myfirstproject.glob2_0_1.glob2.runJobInTOS(glob2.java:18077)
&lt;BR /&gt;at myfirstproject.glob2_0_1.glob2.main(glob2.java:17942)
&lt;BR /&gt;i know how to sum 2 bigdecimal but in this case what can i do i have to sum 6 bigdecimal and substract them .&amp;nbsp;
&lt;BR /&gt;Thanks for ur answer please help me</description>
      <pubDate>Tue, 22 Jul 2014 18:41:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352093#M118531</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-07-22T18:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how can i add many bigdecimal ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352094#M118532</link>
      <description>Hi Emy,
&lt;BR /&gt;You have null pointer exception... it means some of your column contains null value...
&lt;BR /&gt;You will have to handle null for each column like - check the post -&amp;nbsp;http://www.talendforge.org/forum/viewtopic.php?id=7782
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;row2.Price2==null?row1.Price1:row1.Price1.add(row2.Price2)&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;This is going to be a two to three line code if you do it in single tMap... but if you prefer, you can use tJavaRow to make it more simple and add it column wise..
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Wed, 23 Jul 2014 09:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352094#M118532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-23T09:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how can i add many bigdecimal ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352095#M118533</link>
      <description>hi all, 
&lt;BR /&gt;my question is "is it normal that you have null value" ? 
&lt;BR /&gt;manage null value is a tecnical issue but what's your business rule when application 's encountering null value espacially when you're doing calculation ?&amp;nbsp; 
&lt;BR /&gt;how many null value do you have from sources ? 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Could it be null ? 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent</description>
      <pubDate>Wed, 23 Jul 2014 09:11:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352095#M118533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-23T09:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how can i add many bigdecimal ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352096#M118534</link>
      <description>&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;sanvaibhav : how can i write this line &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;row2.Price2==null?row1.Price1:row1.Price1.add(row2.Price2)&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;for three or four bigdecimal . it does'nt work !!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;&lt;FONT color="#5b5b5d"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;kzone :&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;yes all of them can be null .</description>
      <pubDate>Wed, 23 Jul 2014 10:32:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352096#M118534</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-07-23T10:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how can i add many bigdecimal ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352097#M118535</link>
      <description>thank you alll , i have found a solution 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt;&amp;nbsp;</description>
      <pubDate>Wed, 23 Jul 2014 13:39:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352097#M118535</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-07-23T13:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how can i add many bigdecimal ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352098#M118536</link>
      <description>Emy,&lt;BR /&gt;Please let us know your solution... it seems you are very happy...&lt;BR /&gt;Vaibhav</description>
      <pubDate>Wed, 23 Jul 2014 14:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352098#M118536</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-23T14:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] how can i add many bigdecimal ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352099#M118537</link>
      <description>&lt;P&gt;Please, what the solution that did you find ?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 15:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-how-can-i-add-many-bigdecimal/m-p/2352099#M118537</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-25T15:45:54Z</dc:date>
    </item>
  </channel>
</rss>

