<?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 delete rows based on aggregate condition in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-delete-rows-based-on-aggregate-condition/m-p/2249353#M33922</link>
    <description>&lt;P&gt;ALso, I used tJoin in place of tMap for inner join reject condition to take out tAggregateRow/tFilterRow results from main data set.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Mar 2020 15:34:30 GMT</pubDate>
    <dc:creator>dattasud</dc:creator>
    <dc:date>2020-03-13T15:34:30Z</dc:date>
    <item>
      <title>How to delete rows based on aggregate condition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-delete-rows-based-on-aggregate-condition/m-p/2249351#M33920</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In my use case, I have to remove rows from my data set based on an aggregate condition (if the aggregate count is &amp;gt; 20 then remove those items from the data set). Below is my job flow.&lt;/P&gt; 
&lt;P&gt;From the tMap_1 I have two same output. Main order: 1 - will then passed to taggregaterow_1 on one column and tfilterrow_1 will return the column with count &amp;gt;20.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;On the Main order:2 - I have a unique row check criteria. After that I want to take out all the filteredrow_1 results(row4) from the row5 results.&lt;/P&gt; 
&lt;P&gt;I tried to achieve this by storing data in tHashoutputs and getting it back in tHashinputs and used tMap_2 with left outer join to take only main rows without the rows having count &amp;gt;20. With this I am getting below error:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Exception in component tHashInput_2 
java.lang.RuntimeException: The hash is not initialized : The hash must exist before you read from it&lt;/PRE&gt; 
&lt;P&gt;I have three question from here:&lt;/P&gt; 
&lt;P&gt;1. How can I execute Main order:1 first then Main order:2 of tMap_1?&lt;/P&gt; 
&lt;P&gt;2. Can I do a wait to initialize tHashInput_3 and tHashInput_2 untill corresponding tHashOutput_1 &amp;amp; _2 has the values ?&lt;/P&gt; 
&lt;P&gt;3. Is my approach correct to solve the problem?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please note, I checked the tAggregateRow/tFilterRow results, with the condition it will have 26(count) results.&lt;/P&gt; 
&lt;P&gt;Please help!&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="Capture.JPG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9iT.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140797i838BA0BE641C0973/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9iT.jpg" alt="0683p000009M9iT.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:59:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-delete-rows-based-on-aggregate-condition/m-p/2249351#M33920</guid>
      <dc:creator>dattasud</dc:creator>
      <dc:date>2024-11-16T02:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete rows based on aggregate condition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-delete-rows-based-on-aggregate-condition/m-p/2249352#M33921</link>
      <description>&lt;PRE&gt;Exception in component tHashInput_2 
java.lang.RuntimeException: The hash is not initialized : The hash must exist before you read from it&lt;/PRE&gt;
&lt;P&gt;Above error, I am able to resolve by removing the '&lt;SPAN&gt;OnComponentOK&amp;nbsp;&lt;/SPAN&gt;' to tHashInput_3 from&amp;nbsp; tDBInput as it was on priority to execute.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 15:05:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-delete-rows-based-on-aggregate-condition/m-p/2249352#M33921</guid>
      <dc:creator>dattasud</dc:creator>
      <dc:date>2020-03-13T15:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete rows based on aggregate condition</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-delete-rows-based-on-aggregate-condition/m-p/2249353#M33922</link>
      <description>&lt;P&gt;ALso, I used tJoin in place of tMap for inner join reject condition to take out tAggregateRow/tFilterRow results from main data set.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 15:34:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-delete-rows-based-on-aggregate-condition/m-p/2249353#M33922</guid>
      <dc:creator>dattasud</dc:creator>
      <dc:date>2020-03-13T15:34:30Z</dc:date>
    </item>
  </channel>
</rss>

