<?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: aggr and concat problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2145670#M1224992</link>
    <description>&lt;P&gt;Thank you very much &lt;SPAN class="UserName lia-user-name lia-user-rank-Creator lia-component-message-view-widget-author-username"&gt;&lt;A id="link_32" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.qlik.com/t5/user/viewprofilepage/user-id/239926" target="_self" aria-label="View Profile of Ahidhar" aria-describedby="userProfileCard-239926"&gt;&lt;SPAN class=""&gt;Ahidhar..&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2023 09:24:35 GMT</pubDate>
    <dc:creator>kuschcu66</dc:creator>
    <dc:date>2023-12-08T09:24:35Z</dc:date>
    <item>
      <title>aggr and concat problem</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2144292#M1224936</link>
      <description>&lt;P&gt;I want to concanated each data in the 2nd table below by the data in the 1st table.&lt;/P&gt;
&lt;TABLE width="210"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD colspan="2" width="210"&gt;TABLE 1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;key&lt;/TD&gt;
&lt;TD&gt;table1_value_field&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;C&lt;/TD&gt;
&lt;TD&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="373"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD colspan="3" width="372px" height="25px"&gt;TABLE 2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.1406px" height="25px"&gt;key&lt;/TD&gt;
&lt;TD width="127.328px" height="25px"&gt;table2_field&lt;/TD&gt;
&lt;TD width="188.531px" height="25px"&gt;table2_value_field&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.1406px" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="127.328px" height="25px"&gt;X&lt;/TD&gt;
&lt;TD width="188.531px" height="25px"&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.1406px" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="127.328px" height="25px"&gt;Y&lt;/TD&gt;
&lt;TD width="188.531px" height="25px"&gt;2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.1406px" height="25px"&gt;A&lt;/TD&gt;
&lt;TD width="127.328px" height="25px"&gt;Z&lt;/TD&gt;
&lt;TD width="188.531px" height="25px"&gt;3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.1406px" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="127.328px" height="25px"&gt;P&lt;/TD&gt;
&lt;TD width="188.531px" height="25px"&gt;4&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.1406px" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="127.328px" height="25px"&gt;Q&lt;/TD&gt;
&lt;TD width="188.531px" height="25px"&gt;5&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.1406px" height="25px"&gt;B&lt;/TD&gt;
&lt;TD width="127.328px" height="25px"&gt;R&lt;/TD&gt;
&lt;TD width="188.531px" height="25px"&gt;6&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.1406px" height="25px"&gt;C&lt;/TD&gt;
&lt;TD width="127.328px" height="25px"&gt;K&lt;/TD&gt;
&lt;TD width="188.531px" height="25px"&gt;7&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.1406px" height="25px"&gt;C&lt;/TD&gt;
&lt;TD width="127.328px" height="25px"&gt;L&lt;/TD&gt;
&lt;TD width="188.531px" height="25px"&gt;8&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="56.1406px" height="25px"&gt;C&lt;/TD&gt;
&lt;TD width="127.328px" height="25px"&gt;M&lt;/TD&gt;
&lt;TD width="188.531px" height="25px"&gt;9&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Concat(&lt;STRONG&gt;TABLE 2&lt;/STRONG&gt; &lt;U&gt;X&lt;/U&gt; value * &lt;STRONG&gt;TABLE 1 &lt;/STRONG&gt;&lt;U&gt;A&lt;/U&gt; value ,&lt;STRONG&gt;&amp;nbsp;TABLE 2 &lt;/STRONG&gt;&lt;U&gt;X&lt;/U&gt; value * &lt;STRONG&gt;TABLE 1 &lt;/STRONG&gt;&lt;U&gt;B&lt;/U&gt; value ,&amp;nbsp;&lt;STRONG&gt;TABLE 2 &lt;/STRONG&gt;&lt;U&gt;X&lt;/U&gt; value * &lt;STRONG&gt;TABLE 1 &lt;/STRONG&gt;&lt;U&gt;C&lt;/U&gt; value....................&lt;STRONG&gt;TABLE 2&lt;/STRONG&gt;&amp;nbsp;&lt;U&gt;M&lt;/U&gt; value * &lt;STRONG&gt;TABLE 1 &lt;/STRONG&gt;&lt;U&gt;A&lt;/U&gt; value ,&lt;STRONG&gt;&amp;nbsp;TABLE 2 &lt;/STRONG&gt;&lt;U&gt;M&amp;nbsp;&lt;/U&gt;value * &lt;STRONG&gt;TABLE 1 &lt;/STRONG&gt;&lt;U&gt;B&lt;/U&gt; value ,&amp;nbsp;&lt;STRONG&gt;TABLE 2 &lt;/STRONG&gt;&lt;U&gt;M&lt;/U&gt; value * &lt;STRONG&gt;TABLE 1 &lt;/STRONG&gt;&lt;U&gt;C&lt;/U&gt; value)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;=&amp;gt; Concat(1*1 ,&amp;nbsp;1*2 ,&amp;nbsp;1*3.....7*1 , 7*2, 7*3)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;=&amp;gt; Result: 1,2,3…..7,14,21&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;It happens with an alternative state in the text box. However, I cannot calculate the table expressions. I need such a solution. please help me.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 16:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2144292#M1224936</guid>
      <dc:creator>kuschcu66</dc:creator>
      <dc:date>2023-12-05T16:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: aggr and concat problem</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2144613#M1224948</link>
      <description>&lt;P&gt;try this&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table2:&lt;BR /&gt;load * Inline&lt;BR /&gt;[&lt;BR /&gt;key,table2_field,table2_value_field&lt;BR /&gt;A,X,1&lt;BR /&gt;A,Y,2&lt;BR /&gt;A,Z,3&lt;BR /&gt;B,P,4&lt;BR /&gt;B,Q,5&lt;BR /&gt;B,R,6&lt;BR /&gt;C,K,7&lt;BR /&gt;C,L,8&lt;BR /&gt;C,M,9&lt;BR /&gt;];&lt;BR /&gt;left join(Table2)&lt;BR /&gt;Table1:&lt;BR /&gt;load table1_value_field;&lt;BR /&gt;load * Inline&lt;BR /&gt;[&lt;BR /&gt;key,table1_value_field&lt;BR /&gt;A,1&lt;BR /&gt;B,2&lt;BR /&gt;C,3&lt;BR /&gt;];&lt;/P&gt;
&lt;P&gt;tab:&lt;BR /&gt;load *,&lt;BR /&gt;1 as Flag,&lt;BR /&gt;table2_value_field*table1_value_field as table_value_field&lt;BR /&gt;resident Table2;&lt;BR /&gt;drop table Table2;&lt;/P&gt;
&lt;P&gt;tab1:&lt;BR /&gt;load &lt;BR /&gt;Flag,&lt;BR /&gt;concat(table_value_field,',',table_value_field) as concatenatedvalue&lt;BR /&gt;resident tab&lt;BR /&gt;group by Flag;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 05:25:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2144613#M1224948</guid>
      <dc:creator>Ahidhar</dc:creator>
      <dc:date>2023-12-06T05:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: aggr and concat problem</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2144641#M1224949</link>
      <description>&lt;P&gt;Thanks. I know the method in the Load Script. However, since I have millions of data, I am looking for a solution in expressions.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 07:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2144641#M1224949</guid>
      <dc:creator>kuschcu66</dc:creator>
      <dc:date>2023-12-06T07:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: aggr and concat problem</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2144754#M1224954</link>
      <description>&lt;P&gt;you want the concatenated field in Table2 itself ?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 11:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2144754#M1224954</guid>
      <dc:creator>Ahidhar</dc:creator>
      <dc:date>2023-12-06T11:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: aggr and concat problem</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2144766#M1224956</link>
      <description>&lt;P&gt;Yes I want that. Thanks..&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 11:50:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2144766#M1224956</guid>
      <dc:creator>kuschcu66</dc:creator>
      <dc:date>2023-12-06T11:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: aggr and concat problem</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2145117#M1224967</link>
      <description>&lt;P&gt;Not sure if this is how you want it see if this works&lt;/P&gt;
&lt;P&gt;Table1:&lt;BR /&gt;load * Inline&lt;BR /&gt;[&lt;BR /&gt;key,table1_value_field&lt;BR /&gt;A,1&lt;BR /&gt;B,2&lt;BR /&gt;C,3&lt;BR /&gt;];&lt;BR /&gt;Table2:&lt;BR /&gt;load key,table2_field,table2_value_field,1 as Flag;&lt;BR /&gt;load * Inline&lt;BR /&gt;[&lt;BR /&gt;key,table2_field,table2_value_field&lt;BR /&gt;A,X,1&lt;BR /&gt;A,Y,2&lt;BR /&gt;A,Z,3&lt;BR /&gt;B,P,4&lt;BR /&gt;B,Q,5&lt;BR /&gt;B,R,6&lt;BR /&gt;C,K,7&lt;BR /&gt;C,L,8&lt;BR /&gt;C,M,9&lt;BR /&gt;];&lt;BR /&gt;Tab:&lt;BR /&gt;load 0 as dum AutoGenerate 0;&lt;BR /&gt;for each i in FieldValueList('table1_value_field')&lt;BR /&gt;concatenate(Tab)&lt;BR /&gt;Tab1:&lt;BR /&gt;load &lt;BR /&gt;1 as Flag,&lt;BR /&gt;concat(table2_value_field*$(i),',') as Concate&lt;BR /&gt;resident Table2 ;&lt;BR /&gt;next i;&lt;BR /&gt;load Flag,concat(Concate,',') as concate&lt;BR /&gt;resident Tab group by Flag;&lt;BR /&gt;drop field dum;drop table Tab;&lt;/P&gt;
&lt;P&gt;left join(Table2)&lt;BR /&gt;load Flag,concate resident Tab1;drop table Tab1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 06:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2145117#M1224967</guid>
      <dc:creator>Ahidhar</dc:creator>
      <dc:date>2023-12-07T06:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: aggr and concat problem</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2145670#M1224992</link>
      <description>&lt;P&gt;Thank you very much &lt;SPAN class="UserName lia-user-name lia-user-rank-Creator lia-component-message-view-widget-author-username"&gt;&lt;A id="link_32" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.qlik.com/t5/user/viewprofilepage/user-id/239926" target="_self" aria-label="View Profile of Ahidhar" aria-describedby="userProfileCard-239926"&gt;&lt;SPAN class=""&gt;Ahidhar..&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 09:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-and-concat-problem/m-p/2145670#M1224992</guid>
      <dc:creator>kuschcu66</dc:creator>
      <dc:date>2023-12-08T09:24:35Z</dc:date>
    </item>
  </channel>
</rss>

