<?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: expression : concatenate all possible values into a single row ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599238#M221861</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just selected them for emphasis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCAT(DISTINCT Field,',')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2014 20:23:21 GMT</pubDate>
    <dc:creator>rustyfishbones</dc:creator>
    <dc:date>2014-03-04T20:23:21Z</dc:date>
    <item>
      <title>expression : concatenate all possible values into a single row ?</title>
      <link>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599231#M221854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am doing some reporting based on some events. There is a date filter and on selecting different dates, I can get 1-15 records. For one specific field, I need to concatenate all those values into a single one, separate by comma.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is that if I get many records for a certain field (Under certain filters/criteria), how can I concatenate them all into a single one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to do this because I am plotting those events on google and sometimes I get more than one event on a single point. I need to show the names of all those events in the popup, and to do this, I need to concatenate them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so for example, I select a date, and I get the following&lt;/P&gt;&lt;P&gt;event1&lt;/P&gt;&lt;P&gt;event2&lt;/P&gt;&lt;P&gt;event3&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;event10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I dynamically concatenate these all into a single expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 20:04:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599231#M221854</guid>
      <dc:creator />
      <dc:date>2014-03-04T20:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: expression : concatenate all possible values into a single row ?</title>
      <link>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599232#M221855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you mean simple concat(distinct fieldname,',') not working for your purpose? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 20:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599232#M221855</guid>
      <dc:creator />
      <dc:date>2014-03-04T20:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: expression : concatenate all possible values into a single row ?</title>
      <link>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599233#M221856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something Like&lt;/P&gt;&lt;P&gt;Concat(Distinct Event,', ')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 20:11:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599233#M221856</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-04T20:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: expression : concatenate all possible values into a single row ?</title>
      <link>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599234#M221857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why not use concat function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something like &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;concat(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(len(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;eventField)&amp;gt;0&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,eventField&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), ', ') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 20:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599234#M221857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-04T20:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: expression : concatenate all possible values into a single row ?</title>
      <link>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599235#M221858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="54269" alt="2014-03-04_2016.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/54269_2014-03-04_2016.png" style="width: 620px; height: 158px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2014-03-04_2019.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/54270_2014-03-04_2019.png" style="width: 620px; height: 69px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 20:17:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599235#M221858</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-03-04T20:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: expression : concatenate all possible values into a single row ?</title>
      <link>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599236#M221859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;different values are different records..suppose I have 10 unique records ...each row containing a differnt unique event...how do I make the below string from those 10 records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Event1, Event2, Event3,.......Event10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here I am not concatenating different fields..but I am concatenating all the records of the same column (Events)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 20:18:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599236#M221859</guid>
      <dc:creator />
      <dc:date>2014-03-04T20:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: expression : concatenate all possible values into a single row ?</title>
      <link>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599237#M221860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I mean this exactly like this. getfieldselections(Event) would give me this If it was a listbox and I selected those events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this is not a listbox and I want to achieve the same without using getfieldselections as I want to get those dynamically without selecting them in the listbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 20:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599237#M221860</guid>
      <dc:creator />
      <dc:date>2014-03-04T20:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: expression : concatenate all possible values into a single row ?</title>
      <link>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599238#M221861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just selected them for emphasis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCAT(DISTINCT Field,',')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 20:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599238#M221861</guid>
      <dc:creator>rustyfishbones</dc:creator>
      <dc:date>2014-03-04T20:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: expression : concatenate all possible values into a single row ?</title>
      <link>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599239#M221862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank You All. You were all correct. I had not used this function before and I did not know that this function concatenates all the values of a column. This worked exactly the way I needed it to do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 20:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/expression-concatenate-all-possible-values-into-a-single-row/m-p/599239#M221862</guid>
      <dc:creator />
      <dc:date>2014-03-04T20:26:05Z</dc:date>
    </item>
  </channel>
</rss>

