<?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: Only getting last value in Job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274488#M51146</link>
    <description>&lt;P&gt;if you add a tjava with the following:&lt;/P&gt;&lt;P&gt;System.out.println((String)globalMap.get("fiinst"));&lt;/P&gt;&lt;P&gt;What do you see for the contents of your variable?&lt;/P&gt;</description>
    <pubDate>Mon, 30 Mar 2020 17:28:53 GMT</pubDate>
    <dc:creator>billimmer</dc:creator>
    <dc:date>2020-03-30T17:28:53Z</dc:date>
    <item>
      <title>Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274483#M51141</link>
      <description>&lt;P&gt;Good Morning Community,&lt;/P&gt; 
&lt;P&gt;Can anyone see why I am only getting the last value in a list of 170 products?&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So for example, in the list below, I am only getting the X.&lt;/P&gt; 
&lt;P&gt;A&lt;/P&gt; 
&lt;P&gt;B&lt;/P&gt; 
&lt;P&gt;C&lt;/P&gt; 
&lt;P&gt;...&lt;/P&gt; 
&lt;P&gt;X&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Please anyone, this is a blocker on a deadline.&amp;nbsp; Thank you Community!&amp;nbsp;&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;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&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="2020-03-30_0557.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9Zm.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155096i7DB9E568458749EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9Zm.png" alt="0683p000009M9Zm.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 12:14:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274483#M51141</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2020-03-30T12:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274484#M51142</link>
      <description>&lt;P&gt;It's because you have a "component ok" connecting your tjava instead of an iterate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 15:44:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274484#M51142</guid>
      <dc:creator>billimmer</dc:creator>
      <dc:date>2020-03-30T15:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274485#M51143</link>
      <description>&lt;P&gt;HI billimmer!&lt;/P&gt; 
&lt;P&gt;Thank you.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAqE.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135904iF8EAA2E88827FAD5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAqE.png" alt="0683p000009MAqE.png" /&gt;&lt;/span&gt; &amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Yes, I actually found that shortly after posting that using iterate allowed all 170 products to pass through to my tjava.&lt;/P&gt; 
&lt;P&gt;However, now I have another issue.&amp;nbsp; I have an input component that needs to recognize these 170 products in its SQL query, however, it is not.&amp;nbsp; It's still only recognizing that last product again in my 32 row output file.&lt;/P&gt; 
&lt;P&gt;Thoughts?&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAG7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137542i6D6BBF7D6EC1E945/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAG7.png" alt="0683p000009MAG7.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;Here is the query in the blue highlighted input component:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;select a, b, c&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;from table&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;where&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;fiinst in '" + globalMap.get("fiinst") + "'&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;group by a, b, c&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-03-30_0953.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9Xl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146995i73A77E9AC6482992/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9Xl.png" alt="0683p000009M9Xl.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 16:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274485#M51143</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2020-03-30T16:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274486#M51144</link>
      <description>are the other lookup's limiting the data? What exactly is stored in globalMap.get("fiinst")? If you run just the query by itself does it return the expected result?</description>
      <pubDate>Mon, 30 Mar 2020 16:20:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274486#M51144</guid>
      <dc:creator>billimmer</dc:creator>
      <dc:date>2020-03-30T16:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274487#M51145</link>
      <description>&lt;P&gt;The lookups are not limiting the data because if I remove the global variable syntax and hard code one of the product values (bolded below), I get the expected results.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For example:&lt;/P&gt; 
&lt;P&gt;select a, b, c&lt;/P&gt; 
&lt;P&gt;from table&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;where&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;fiinst in (‘06M’,’07M’)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;group by a, b, c&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm trying to creating a global variable so that the sql query only produces data for the 170 products which has a column name of fiinst.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So my&amp;nbsp;tflowtoiterate looks like this:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-03-30_1021.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9FJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150406i832F96F27312A955/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9FJ.png" alt="0683p000009M9FJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Something is preventing my input step to recognize all 170 products....&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 16:31:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274487#M51145</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2020-03-30T16:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274488#M51146</link>
      <description>&lt;P&gt;if you add a tjava with the following:&lt;/P&gt;&lt;P&gt;System.out.println((String)globalMap.get("fiinst"));&lt;/P&gt;&lt;P&gt;What do you see for the contents of your variable?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 17:28:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274488#M51146</guid>
      <dc:creator>billimmer</dc:creator>
      <dc:date>2020-03-30T17:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274489#M51147</link>
      <description>&lt;P&gt;Just getting dups of each of the products.&amp;nbsp; So now I have 340 variables in the print screen area.&amp;nbsp; But it says 170 execs on the iterate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 17:57:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274489#M51147</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2020-03-30T17:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274490#M51148</link>
      <description>did you put System.out.println((String)globalMap.get("fiinst")); in it's own tJava component? or did you put it in tJavaRow?&lt;BR /&gt;&lt;BR /&gt;It should be in tJava. does it show 170 different values in a single string, with each product separated by a comma?&lt;BR /&gt;&lt;BR /&gt;It would help if you posted the code in your tJavaRow also...</description>
      <pubDate>Mon, 30 Mar 2020 20:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274490#M51148</guid>
      <dc:creator>billimmer</dc:creator>
      <dc:date>2020-03-30T20:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274491#M51149</link>
      <description>&lt;P&gt;I put the code in the tjava component like below.&lt;/P&gt; 
&lt;P&gt;Then a cross section of my results are below.&lt;/P&gt; 
&lt;P&gt;There are no commas separating the products.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-03-30_1620.png" style="width: 724px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9c1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144390i9876DB336BBD3E08/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9c1.png" alt="0683p000009M9c1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&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="2020-03-30_1619.png" style="width: 52px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9c6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130961iF992CD4ECBBF0E53/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9c6.png" alt="0683p000009M9c6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 22:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274491#M51149</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2020-03-30T22:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274492#M51150</link>
      <description>&lt;P&gt;In your query you had:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;select a, b, c&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;from table&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;where&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;fiinst in '" + globalMap.get("fiinst") + "'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;group by a, b, c&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;which doesn't work... And you had&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;select a, b, c&lt;/P&gt;
&lt;P&gt;from table&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;where&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;fiinst in (‘06M’,’07M’)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;group by a, b, c&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which does work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So your variable&amp;nbsp;&lt;STRONG&gt;globalMap.get("fiinst")&lt;/STRONG&gt;&amp;nbsp;should contain opening an closing&amp;nbsp;parentheses, and single quotes around each part number, and include a comma between each part number or your query won't work - correct?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 14:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274492#M51150</guid>
      <dc:creator>billimmer</dc:creator>
      <dc:date>2020-03-31T14:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274493#M51151</link>
      <description>&lt;P&gt;I've never had to call a global variable like this, so let me try your suggestions and advise.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 15:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274493#M51151</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2020-03-31T15:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274494#M51152</link>
      <description>&lt;P&gt;Forgive me if I'm not understanding, but with your suggestion, how would I put single quotes around each part number when fiinst is supposed to represent the 170 products?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;--So your variable&amp;nbsp;&lt;STRONG&gt;globalMap.get("fiinst")&lt;/STRONG&gt;&amp;nbsp;should contain opening an closing&amp;nbsp;parentheses, &lt;STRONG&gt;and single quotes around each part number, and include a comma between each part number&lt;/STRONG&gt; or your query won't work - correct?&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Sorry I'm not understanding!&amp;nbsp; I thank you for being so helpful.&amp;nbsp;&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;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 16:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274494#M51152</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2020-03-31T16:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274495#M51153</link>
      <description>&lt;P&gt;I would use a &lt;STRONG&gt;row#-&amp;gt;tJavaFlex&lt;/STRONG&gt; instead of&lt;STRONG&gt; iterate-&amp;gt;tJava&lt;/STRONG&gt;. It has a Start/End code section.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;In the Start Code use:&lt;/STRONG&gt;&lt;BR /&gt;// Initialize string variable called "parts"&lt;BR /&gt;String parts = "";&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;In the Main code use:&lt;/STRONG&gt;&lt;BR /&gt;// Add each part to the "parts" string. Include single quotes and comma.&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;// REPLACE THE # CHARACTER WITH YOUR CONNECTION NUMBER&lt;/P&gt; 
&lt;P&gt;// NOTE:&amp;nbsp; Also, include logic to skip parts you don't want.&lt;BR /&gt;parts = parts + "'" + row#.part + "',"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;In the End Code use:&lt;/STRONG&gt;&lt;BR /&gt;// We are done, so remove the last comma.&lt;BR /&gt;if (parts.length() &amp;gt; 0) {&lt;BR /&gt;parts = parts.substring(0, parts.length() - 1);&lt;BR /&gt;}&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;// Now add the parentheses&lt;BR /&gt;parts = "(" + parts + ")"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;// Check your work to make sure it's correct. Comment out for production&lt;BR /&gt;System.out.println("My parts string: " + parts);&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;// Put the result in a global variable for use later in your query&lt;BR /&gt;globalMap.put("fiinst"", parts);&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 16:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274495#M51153</guid>
      <dc:creator>billimmer</dc:creator>
      <dc:date>2020-03-31T16:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274496#M51154</link>
      <description>&lt;P&gt;mmmmm ok, thanks so much billimmer!&amp;nbsp; tjavaflex is also new to me so let me give it a try!&lt;/P&gt; 
&lt;P&gt;Again thank you, I would give you an elbow bump if I could right now.&amp;nbsp;&amp;nbsp;&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;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 16:51:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274496#M51154</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2020-03-31T16:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274497#M51155</link>
      <description>&lt;P&gt;Thanks hope it works for you.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This will get what you asked for, but you might also want to instead try writing the list of parts to a file or DB temporary table.&amp;nbsp; This would be a more scalable solution, as there is a limit to the number of values that can be put into the "IN" statement of your query.&amp;nbsp; So for example you would use:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;tFilterRow, with the "Advanced" option and put your filter java code there.&amp;nbsp; Then connect the tFilter to a tFileOoutputDelimited, or DB component.&amp;nbsp; Then you can use this with a join or lookup later in the job.&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 17:09:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274497#M51155</guid>
      <dc:creator>billimmer</dc:creator>
      <dc:date>2020-03-31T17:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274498#M51156</link>
      <description>&lt;P&gt;mmmm this looks doable as well.&amp;nbsp; I feel like I've gone crazy trying to get this to work!&lt;/P&gt; 
&lt;P&gt;Thank you again for your suggestions and quick responses.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MI7i.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129469iD4C4646A3F9A94C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MI7i.png" alt="0683p000009MI7i.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MI9i.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142082i9F9E810CE206F4FE/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MI9i.png" alt="0683p000009MI9i.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 17:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274498#M51156</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2020-03-31T17:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Only getting last value in Job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274499#M51157</link>
      <description>&lt;P&gt;Well billimmer&lt;/P&gt; 
&lt;P&gt;I have figured out the culprit and almost embarrassed to share.&amp;nbsp; But want to help out the community if anyone else runs into this issue.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Maybe I've been cooped up for too long!&lt;/P&gt; 
&lt;P&gt;You were on the right path in your original suggestion.&amp;nbsp; I had a pipe delimiter in my filtered .txt file, so therefore, the global variable was not reading the separation of the 170 products (only the last one in the list).&amp;nbsp; I changed the pipe delimiter to a comma and voila!, my output is coming through as expected.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks again for all your help!&lt;/P&gt; 
&lt;P&gt;Michelle&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 19:05:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Only-getting-last-value-in-Job/m-p/2274499#M51157</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2020-03-31T19:05:36Z</dc:date>
    </item>
  </channel>
</rss>

