<?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: Row aggregations in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Row-aggregations/m-p/2299509#M71849</link>
    <description>Hi,&lt;BR /&gt;Your explaination is not clear at all.&lt;BR /&gt;When you said "If the subcategory is a,b,c..." but subcategory cannot be a,b,c at the same time as these values appear on different rows.&lt;BR /&gt;Can you show us the expected result based on your data sample?</description>
    <pubDate>Fri, 20 Oct 2017 22:23:35 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2017-10-20T22:23:35Z</dc:date>
    <item>
      <title>Row aggregations</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Row-aggregations/m-p/2299507#M71847</link>
      <description>Hi , 
&lt;BR /&gt;I want some solution to my problem ..I have a table and that should be converted to the final table through talend ...I have a input table like subcategory|review|amountbudget 
&lt;BR /&gt;A|xxxxxx|100 
&lt;BR /&gt;B|iuuuuuu|200 
&lt;BR /&gt;C|kkkkkk|300 
&lt;BR /&gt;D|llllllllh|400 
&lt;BR /&gt;E|iiiiiiii|500 
&lt;BR /&gt;F|ooooooo|600 
&lt;BR /&gt;G|qqqqqq|700 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;My final tabel I have 
&lt;BR /&gt;Subcategory |amount|offamt|onamt 
&lt;BR /&gt;Totalcor| 
&lt;BR /&gt;Pat| 
&lt;BR /&gt;Pbt| 
&lt;BR /&gt;Grossmargin| 
&lt;BR /&gt; 
&lt;BR /&gt;If the subcategory is a,b,c then the amount should be calculated for that and give in the offamt in the row totalcor 
&lt;BR /&gt;If the subcategory is a,b,d the amount should be calculated for that and give in the off AMT in the row Pat 
&lt;BR /&gt;If the subcategory is a,e,f the amount should be calculated for that and give in the off AMT in the row Pbt.... 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;.. 
&lt;BR /&gt;.. 
&lt;BR /&gt;So the row level calculations should be done based on the subcategory and based on that in that particular row the amount should be reflected ... Could anyone please help me in solving this</description>
      <pubDate>Fri, 20 Oct 2017 08:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Row-aggregations/m-p/2299507#M71847</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-20T08:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: Row aggregations</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Row-aggregations/m-p/2299508#M71848</link>
      <description>Please help me anyone&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;.</description>
      <pubDate>Fri, 20 Oct 2017 09:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Row-aggregations/m-p/2299508#M71848</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-20T09:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: Row aggregations</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Row-aggregations/m-p/2299509#M71849</link>
      <description>Hi,&lt;BR /&gt;Your explaination is not clear at all.&lt;BR /&gt;When you said "If the subcategory is a,b,c..." but subcategory cannot be a,b,c at the same time as these values appear on different rows.&lt;BR /&gt;Can you show us the expected result based on your data sample?</description>
      <pubDate>Fri, 20 Oct 2017 22:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Row-aggregations/m-p/2299509#M71849</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-10-20T22:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Row aggregations</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Row-aggregations/m-p/2299510#M71850</link>
      <description>Hi sir ,, Actually I have an existing table with a columns like ... I vil give one example in the below ..my existing table is :
&lt;BR /&gt;S no|Subcategory| cost|amount
&lt;BR /&gt;1|team outing|100|200
&lt;BR /&gt;2|revenue|300|440
&lt;BR /&gt;3|depreciation itis|450|600
&lt;BR /&gt;4|depreciation erp|700|800
&lt;BR /&gt;5| other facility costs|600|900
&lt;BR /&gt;And so on.... This is my existing table ..and in this still more columns are there
&lt;BR /&gt;Now I want a final table like For example
&lt;BR /&gt;Sno|subcategory|offshoreamount|onshoreamount
&lt;BR /&gt;The above are the column names And I want some calculations based on the existing table like
&lt;BR /&gt;
&lt;BR /&gt;The below us my final table:
&lt;BR /&gt;Subcategory|offamnt|onamnt
&lt;BR /&gt;Total cor|900|1000
&lt;BR /&gt;Gross margin|1100|1200
&lt;BR /&gt;Pat|1090|2000
&lt;BR /&gt;pbt|4000|567
&lt;BR /&gt;(above amount values are just an example values not the results from the formula )
&lt;BR /&gt;And so on ...
&lt;BR /&gt;The final table is like the above And Calculations are
&lt;BR /&gt;'Total cor' as subcategory
&lt;BR /&gt;1)If subcategory in (teamouting,depreciation itis) then the cost as offamnt
&lt;BR /&gt;2)If sum(subcategory in (teamouting,depreciation itis) then the cost+1 ) as onamnt
&lt;BR /&gt;
&lt;BR /&gt;'Gross margin' as subcategory
&lt;BR /&gt;3) If sum(subcategory in (teamouting,depreciation itis,depreciation erp) then the cost-1 ) as offamnt
&lt;BR /&gt;4)If sum(subcategory in (teamouting,depreciation itis,depreciation erp) then the cost-1 ) as onamnt
&lt;BR /&gt;And for every subcategory row ...the calculation columns offamnt and onamnt are taken based on the subcategory of the existing table ...
&lt;BR /&gt;I got a requirement as existing table and now my target is to achieve the final table ....Please help me in this ...thanks..
&lt;BR /&gt;</description>
      <pubDate>Sat, 21 Oct 2017 05:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Row-aggregations/m-p/2299510#M71850</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-21T05:00:45Z</dc:date>
    </item>
  </channel>
</rss>

