<?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: Concatenate many rows from the same table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenate-many-rows-from-the-same-table/m-p/1897265#M1217597</link>
    <description>&lt;P&gt;Yes, this is working, thank you very much.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there another way to achieve this in the script without using the group by?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just concatenating everything if the User_id column has the same value.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 16:24:39 GMT</pubDate>
    <dc:creator>oanalung</dc:creator>
    <dc:date>2022-02-24T16:24:39Z</dc:date>
    <item>
      <title>Concatenate many rows from the same table</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-many-rows-from-the-same-table/m-p/1896596#M1217569</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to concatenate many rows into one based on two columns having the same value.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the data is in the same table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example&amp;nbsp;&lt;/P&gt;
&lt;P&gt;User_Id&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Description&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Flag&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Date&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Text1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2020-01-01&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Text2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2020-01-01&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Text3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2020-01-01&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to achieve:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;User ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Description&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Flag&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Date&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Text1, Text2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2020-01-01&lt;/P&gt;
&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Text3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2020-01-01&lt;/P&gt;
&lt;P&gt;based on user_id being the same and same value in column flag.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;as script I have:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LOAD&amp;nbsp;&lt;/P&gt;
&lt;P&gt;user_id as [User ID],&lt;/P&gt;
&lt;P&gt;description as [Description],&lt;/P&gt;
&lt;P&gt;flag as [Flag]&lt;/P&gt;
&lt;P&gt;date as [Date];&lt;/P&gt;
&lt;P&gt;SQL&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select&lt;/P&gt;
&lt;P&gt;user_id,&lt;/P&gt;
&lt;P&gt;description,&lt;/P&gt;
&lt;P&gt;flag,&lt;/P&gt;
&lt;P&gt;date from table_name;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 14:23:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-many-rows-from-the-same-table/m-p/1896596#M1217569</guid>
      <dc:creator>oanalung</dc:creator>
      <dc:date>2022-02-23T14:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate many rows from the same table</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-many-rows-from-the-same-table/m-p/1896639#M1217570</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try with the concat function&lt;/P&gt;
&lt;P&gt;LOAD&amp;nbsp;&lt;/P&gt;
&lt;P&gt;user_id as [User ID],&lt;/P&gt;
&lt;P&gt;Concat(description, ', ') as [Description],&lt;/P&gt;
&lt;P&gt;flag as [Flag]&lt;/P&gt;
&lt;P&gt;date as [Date]&lt;/P&gt;
&lt;P&gt;Group By&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;user_id ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;flag ,&lt;/P&gt;
&lt;P&gt;date&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;SQL&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select&lt;/P&gt;
&lt;P&gt;user_id,&lt;/P&gt;
&lt;P&gt;description,&lt;/P&gt;
&lt;P&gt;flag,&lt;/P&gt;
&lt;P&gt;date from table_name;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 15:22:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-many-rows-from-the-same-table/m-p/1896639#M1217570</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2022-02-23T15:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate many rows from the same table</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-many-rows-from-the-same-table/m-p/1896644#M1217571</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you very much, I have tried this and it looks like it's not running, I get invalid expression.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any idea why?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 15:32:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-many-rows-from-the-same-table/m-p/1896644#M1217571</guid>
      <dc:creator>oanalung</dc:creator>
      <dc:date>2022-02-23T15:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate many rows from the same table</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-many-rows-from-the-same-table/m-p/1896651#M1217572</link>
      <description>&lt;P&gt;Perhaps a missing comma after the line "&lt;SPAN&gt;flag as [Flag]"&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 15:39:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-many-rows-from-the-same-table/m-p/1896651#M1217572</guid>
      <dc:creator>Aurelien_Martinez</dc:creator>
      <dc:date>2022-02-23T15:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate many rows from the same table</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-many-rows-from-the-same-table/m-p/1896767#M1217578</link>
      <description>&lt;P&gt;What about the Date column?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 19:45:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-many-rows-from-the-same-table/m-p/1896767#M1217578</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2022-02-23T19:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate many rows from the same table</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-many-rows-from-the-same-table/m-p/1897265#M1217597</link>
      <description>&lt;P&gt;Yes, this is working, thank you very much.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there another way to achieve this in the script without using the group by?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just concatenating everything if the User_id column has the same value.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 16:24:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-many-rows-from-the-same-table/m-p/1897265#M1217597</guid>
      <dc:creator>oanalung</dc:creator>
      <dc:date>2022-02-24T16:24:39Z</dc:date>
    </item>
  </channel>
</rss>

