<?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: operation with tmap or taggregate, calculation in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/operation-with-tmap-or-taggregate-calculation/m-p/2315613#M86252</link>
    <description>An existing-function sounds good.
&lt;BR /&gt;I tried with taggregate. But the result is false. It counts the number of equal IDs, but not the number of No.1, No.2.... for each ID with it F.
&lt;BR /&gt;Could you explain taggregate to me?</description>
    <pubDate>Mon, 23 Mar 2009 14:13:38 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2009-03-23T14:13:38Z</dc:date>
    <item>
      <title>operation with tmap or taggregate, calculation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/operation-with-tmap-or-taggregate-calculation/m-p/2315610#M86249</link>
      <description>Hi&lt;BR /&gt;could anybody help?&lt;BR /&gt;I have a file like this:&lt;BR /&gt;ID    F.   No.1    No.2    No.3&lt;BR /&gt;A      3     1      1      &lt;BR /&gt;B      2             1         1&lt;BR /&gt;C      4    1       1         1&lt;BR /&gt;A      3             1         1&lt;BR /&gt;A      2             1         1&lt;BR /&gt;&lt;BR /&gt;in the end I want to have this: Rows which have the same ID and F. should go together&lt;BR /&gt;ID     F.   No.1    No.2    No.3&lt;BR /&gt;A       3      1         1     1&lt;BR /&gt;B       2                1      1&lt;BR /&gt;C       4     1         1      1&lt;BR /&gt;A       2                1      1&lt;BR /&gt;Could this be solved with t-map or taggreaterow ?</description>
      <pubDate>Sat, 16 Nov 2024 14:01:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/operation-with-tmap-or-taggregate-calculation/m-p/2315610#M86249</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T14:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: operation with tmap or taggregate, calculation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/operation-with-tmap-or-taggregate-calculation/m-p/2315611#M86250</link>
      <description>In the aggregation, which operation do you want to perform? because for ID-A, f-3, No.2 should be 2 if you sum. So, do you want a "exists" function ?</description>
      <pubDate>Mon, 23 Mar 2009 12:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/operation-with-tmap-or-taggregate-calculation/m-p/2315611#M86250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-23T12:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: operation with tmap or taggregate, calculation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/operation-with-tmap-or-taggregate-calculation/m-p/2315612#M86251</link>
      <description>Hello Ham
&lt;BR /&gt;Does the value of 'No1..NO3' always be empty or '1'? if so ,you can use the max function, here is a scenario:
&lt;BR /&gt;input file:
&lt;BR /&gt;a;3;1;1;
&lt;BR /&gt;b;2;;1;1
&lt;BR /&gt;c;4;1;1;1
&lt;BR /&gt;a;3;;1;1
&lt;BR /&gt;a;2;;1;1
&lt;BR /&gt;result;
&lt;BR /&gt;
&lt;PRE&gt;Starting job forum5928 at 21:57 23/03/2009.&lt;BR /&gt;ID: c|F: 4|NO1: 1|NO2: 1|NO3: 1&lt;BR /&gt;ID: a|F: 3|NO1: 1|NO2: 1|NO3: 1&lt;BR /&gt;ID: a|F: 2|NO1: |NO2: 1|NO3: 1&lt;BR /&gt;ID: b|F: 2|NO1: |NO2: 1|NO3: 1&lt;BR /&gt;Job forum5928 ended at 21:57 23/03/2009. &lt;/PRE&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt; 
&lt;BR /&gt; shong</description>
      <pubDate>Mon, 23 Mar 2009 14:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/operation-with-tmap-or-taggregate-calculation/m-p/2315612#M86251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-23T14:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: operation with tmap or taggregate, calculation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/operation-with-tmap-or-taggregate-calculation/m-p/2315613#M86252</link>
      <description>An existing-function sounds good.
&lt;BR /&gt;I tried with taggregate. But the result is false. It counts the number of equal IDs, but not the number of No.1, No.2.... for each ID with it F.
&lt;BR /&gt;Could you explain taggregate to me?</description>
      <pubDate>Mon, 23 Mar 2009 14:13:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/operation-with-tmap-or-taggregate-calculation/m-p/2315613#M86252</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2009-03-23T14:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: operation with tmap or taggregate, calculation</title>
      <link>https://community.qlik.com/t5/Talend-Studio/operation-with-tmap-or-taggregate-calculation/m-p/2315614#M86253</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;An existing-function sounds good.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;btlink
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Could you explain taggregate to me?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;For a description of tAggregateRow, please check the documentation user guide.
&lt;BR /&gt;Here comes an example of to perform your job, without the "exists" aggregation function, the trick is to perform a sum, and then reduce to undef or 0. The output of my job is:
&lt;BR /&gt;
&lt;PRE&gt;Starting job topic5928 at 15:03 24/03/2009.&lt;BR /&gt;.--------------------------.&lt;BR /&gt;|         tLogRow_1        |&lt;BR /&gt;+----+---+-----+-----+-----+&lt;BR /&gt;| id | f | no1 | no2 | no3 |&lt;BR /&gt;+----+---+-----+-----+-----+&lt;BR /&gt;| A  | 3 |   1 |   1 |   1 |&lt;BR /&gt;| A  | 2 |     |   1 |   1 |&lt;BR /&gt;| C  | 4 |   1 |   1 |   1 |&lt;BR /&gt;| B  | 2 |     |   1 |   1 |&lt;BR /&gt;'----+---+-----+-----+-----'&lt;BR /&gt;===&lt;BR /&gt;execution time: 15 milliseconds&lt;BR /&gt;===&lt;BR /&gt;Job topic5928 ended at 15:03 24/03/2009. &lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Mar 2009 14:15:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/operation-with-tmap-or-taggregate-calculation/m-p/2315614#M86253</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-24T14:15:28Z</dc:date>
    </item>
  </channel>
</rss>

