<?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: Tmap assigns the same value to different variables in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348024#M115207</link>
    <description>&lt;P&gt;I replied to my own comment instead of replying to yours. Please find my response in the thread.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jun 2023 07:47:41 GMT</pubDate>
    <dc:creator>AlSalvC</dc:creator>
    <dc:date>2023-06-08T07:47:41Z</dc:date>
    <item>
      <title>Tmap assigns the same value to different variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348017#M115200</link>
      <description>&lt;P&gt;Hi everyone, I'm trying to assign different values to some variables but I get the same result in the 3 of them. The expression structure is the same but the input columns change. The expression is this one: &lt;/P&gt;&lt;P&gt;out2.Delta01 == null ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;P&gt;:&lt;/P&gt;&lt;P&gt;String.valueOf(Float.parseFloat(out2.Delta01)/Float.parseFloat(out2.DestinationSum01))&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the 3 variables get the same result which isnt even correct for any of them. It is a simple division, so I dont know where is the problem. The input rows are strings, thats why the conversion. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I have verified that the expression variables are set on the correct output columns.&lt;/P&gt;&lt;P&gt;The results I get are in the attached photo.&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348017#M115200</guid>
      <dc:creator>AlSalvC</dc:creator>
      <dc:date>2024-11-15T21:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap assigns the same value to different variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348018#M115201</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Elaborating your case with an example with input and expected output values will be helpful for us to understand your requirement and situation.&lt;/P&gt;&lt;P&gt;And please post your tMap Map Editor screenshot with If/else statement here.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 03:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348018#M115201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-07T03:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap assigns the same value to different variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348019#M115202</link>
      <description>&lt;P&gt;I read your Question so I think that is like Verify the input data: Double-check that the input data in out2.Delta01 and out2.DestinationSum01 is as expected. Make sure they are valid numbers represented as strings. Check for null values: Ensure that there are no null values in out2.Delta01 or out2.DestinationSum01, as this can lead to unexpected results. You have already handled the case where out2.Delta01 is null in your expression, but it's important to confirm that both variables have non-null values for the division to work correctly. Debug the expression: Print or log the values of out2.Delta01 and out2.DestinationSum01 before performing the division to verify that they are indeed different for each variable. This will help identify if there's an issue with the assignment of values to the variables. Review the output columns: Ensure that the output columns for each variable are set correctly. It's possible that the values are being assigned to the same output column instead of separate ones, resulting in the same value for all variables. &lt;A href="https://www.myccpay.vip/" alt="https://www.myccpay.vip/" target="_blank"&gt;MyCCPay Login&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 06:00:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348019#M115202</guid>
      <dc:creator>pablo125</dc:creator>
      <dc:date>2023-06-07T06:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap assigns the same value to different variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348020#M115203</link>
      <description>&lt;P&gt;Hi, this is my tmap configuration. I believe this is set up correctly.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 08:59:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348020#M115203</guid>
      <dc:creator>AlSalvC</dc:creator>
      <dc:date>2023-06-07T08:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap assigns the same value to different variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348021#M115204</link>
      <description>&lt;P&gt;this is the code&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 09:00:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348021#M115204</guid>
      <dc:creator>AlSalvC</dc:creator>
      <dc:date>2023-06-07T09:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap assigns the same value to different variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348022#M115205</link>
      <description>&lt;P&gt;same for Delta02&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 09:01:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348022#M115205</guid>
      <dc:creator>AlSalvC</dc:creator>
      <dc:date>2023-06-07T09:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap assigns the same value to different variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348023#M115206</link>
      <description>&lt;P&gt;I have already checked all of that. This are the values of the Sum, Delta and Rates. &lt;/P&gt;&lt;P&gt;Please find the code and tmap configuration that I used in the response to other comment. Thank you much for your help&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 09:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348023#M115206</guid>
      <dc:creator>AlSalvC</dc:creator>
      <dc:date>2023-06-07T09:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Tmap assigns the same value to different variables</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348024#M115207</link>
      <description>&lt;P&gt;I replied to my own comment instead of replying to yours. Please find my response in the thread.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 07:47:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Tmap-assigns-the-same-value-to-different-variables/m-p/2348024#M115207</guid>
      <dc:creator>AlSalvC</dc:creator>
      <dc:date>2023-06-08T07:47:41Z</dc:date>
    </item>
  </channel>
</rss>

