<?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 count and group by in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/count-and-group-by/m-p/2267540#M46392</link>
    <description>&lt;P&gt;Hi Talend experts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to perform something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;I need to make Fact table which shows how many students visited and posted comments on portal.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The fact table structure would be like this:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Student_key, region_key, disability_key, date_key, portal_page_view_count, portal_comment_count&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have got Portal_event table which will have data like this:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;id, user_id, name (i need to capture where name='posted_comment' and where name='page_visited') and these counts will go to page_view_count and portal_comment_count in fact table&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;id .&amp;nbsp; User_id .&amp;nbsp; Count&lt;/DIV&gt;&lt;DIV&gt;1 .&amp;nbsp; &amp;nbsp; 100 .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/DIV&gt;&lt;DIV&gt;2 .&amp;nbsp; &amp;nbsp; 100 .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/DIV&gt;&lt;DIV&gt;3 .&amp;nbsp; &amp;nbsp; &amp;nbsp;200 .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/DIV&gt;&lt;DIV&gt;4 .&amp;nbsp; &amp;nbsp; &amp;nbsp;300 .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/DIV&gt;&lt;DIV&gt;5 .&amp;nbsp; &amp;nbsp; &amp;nbsp; 300 .&amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;based on such data i will get count for page_visited student count and posted_comment count.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Another table is portal_user_history which captures which students logged into portal&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;id, studentid&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Basically based on join of id.portal_event=id.portal_user_history i will get studentid which i will pass it to next one to next component.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then I get Student_key etc later...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;But mainly how do i organise getting studentid detail from both table portal_event and portal_user_history table and pass it to next flow?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;Harshal.&lt;/DIV&gt;</description>
    <pubDate>Sat, 16 Nov 2024 07:42:14 GMT</pubDate>
    <dc:creator>Parikhharshal</dc:creator>
    <dc:date>2024-11-16T07:42:14Z</dc:date>
    <item>
      <title>count and group by</title>
      <link>https://community.qlik.com/t5/Talend-Studio/count-and-group-by/m-p/2267540#M46392</link>
      <description>&lt;P&gt;Hi Talend experts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to perform something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;I need to make Fact table which shows how many students visited and posted comments on portal.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The fact table structure would be like this:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Student_key, region_key, disability_key, date_key, portal_page_view_count, portal_comment_count&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have got Portal_event table which will have data like this:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;id, user_id, name (i need to capture where name='posted_comment' and where name='page_visited') and these counts will go to page_view_count and portal_comment_count in fact table&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;id .&amp;nbsp; User_id .&amp;nbsp; Count&lt;/DIV&gt;&lt;DIV&gt;1 .&amp;nbsp; &amp;nbsp; 100 .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/DIV&gt;&lt;DIV&gt;2 .&amp;nbsp; &amp;nbsp; 100 .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/DIV&gt;&lt;DIV&gt;3 .&amp;nbsp; &amp;nbsp; &amp;nbsp;200 .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/DIV&gt;&lt;DIV&gt;4 .&amp;nbsp; &amp;nbsp; &amp;nbsp;300 .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/DIV&gt;&lt;DIV&gt;5 .&amp;nbsp; &amp;nbsp; &amp;nbsp; 300 .&amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;based on such data i will get count for page_visited student count and posted_comment count.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Another table is portal_user_history which captures which students logged into portal&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;id, studentid&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Basically based on join of id.portal_event=id.portal_user_history i will get studentid which i will pass it to next one to next component.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then I get Student_key etc later...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;But mainly how do i organise getting studentid detail from both table portal_event and portal_user_history table and pass it to next flow?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;Harshal.&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:42:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/count-and-group-by/m-p/2267540#M46392</guid>
      <dc:creator>Parikhharshal</dc:creator>
      <dc:date>2024-11-16T07:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: count and group by</title>
      <link>https://community.qlik.com/t5/Talend-Studio/count-and-group-by/m-p/2267541#M46393</link>
      <description>&lt;P&gt;Can you please provide sample datasets that we can use to simulate scenarios you posted?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a bit hard to follow at this point, at least for me.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Sep 2018 00:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/count-and-group-by/m-p/2267541#M46393</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-08T00:28:15Z</dc:date>
    </item>
  </channel>
</rss>

