<?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: Using concat in a set expression to seperate selections from a list in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-concat-in-a-set-expression-to-seperate-selections-from-a/m-p/995222#M962747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'' would not be required unless there is a space between your resultant string, i.e. if your first [Business Function] is like 'XXXXYYY' and not like 'XXX&amp;nbsp; YY'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2015 09:48:23 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2015-10-16T09:48:23Z</dc:date>
    <item>
      <title>Using concat in a set expression to seperate selections from a list</title>
      <link>https://community.qlik.com/t5/QlikView/Using-concat-in-a-set-expression-to-seperate-selections-from-a/m-p/995218#M962743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to set up a series of tables, each table is based on a function that is in a list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the first selection in the field list selection will be table 1&lt;/P&gt;&lt;P&gt;and the second selection in the list is table 2, etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see concat work when I set it up as a caption, but when I put it in an expression formula it wont work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;How can I get this to work is concat correctly used?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Business Function]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'=subfield(concat(distinct [Issue - Business Function],','),',',1)'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Status]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;p&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;[Dependency Analysis]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;::&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Issue - Status]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Issue - ID]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 09:08:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-concat-in-a-set-expression-to-seperate-selections-from-a/m-p/995218#M962743</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2015-10-16T09:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using concat in a set expression to seperate selections from a list</title>
      <link>https://community.qlik.com/t5/QlikView/Using-concat-in-a-set-expression-to-seperate-selections-from-a/m-p/995219#M962744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the Content of Business Function?&lt;/P&gt;&lt;P&gt;If it is like&lt;/P&gt;&lt;P&gt;Support&lt;/P&gt;&lt;P&gt;Marketing&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your concat will result in "Support, Sales" etc. So there will no hit&lt;/P&gt;&lt;P&gt;When you select only 1 Business Function it should work, can you confirm?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 09:25:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-concat-in-a-set-expression-to-seperate-selections-from-a/m-p/995219#M962744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-16T09:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using concat in a set expression to seperate selections from a list</title>
      <link>https://community.qlik.com/t5/QlikView/Using-concat-in-a-set-expression-to-seperate-selections-from-a/m-p/995220#M962745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes its just a list of business area's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;As I wrap the concat function within a subfield and use an index of 1, that will pass the first item in the list back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your list it will be support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It wont work when i select only one, but the caption works:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;subfield&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;distinct&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Business Function]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,','),',',1) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;so why wont this work in the set analysis?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 09:32:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-concat-in-a-set-expression-to-seperate-selections-from-a/m-p/995220#M962745</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2015-10-16T09:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using concat in a set expression to seperate selections from a list</title>
      <link>https://community.qlik.com/t5/QlikView/Using-concat-in-a-set-expression-to-seperate-selections-from-a/m-p/995221#M962746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; this works, but I dont understand why the '' is used to qualify the dollar expansion?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{'$(=subfield(concat(distinct [Issue - Business Function],','),',',1))'} &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 09:42:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-concat-in-a-set-expression-to-seperate-selections-from-a/m-p/995221#M962746</guid>
      <dc:creator>tinkerz1</dc:creator>
      <dc:date>2015-10-16T09:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using concat in a set expression to seperate selections from a list</title>
      <link>https://community.qlik.com/t5/QlikView/Using-concat-in-a-set-expression-to-seperate-selections-from-a/m-p/995222#M962747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'' would not be required unless there is a space between your resultant string, i.e. if your first [Business Function] is like 'XXXXYYY' and not like 'XXX&amp;nbsp; YY'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Oct 2015 09:48:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-concat-in-a-set-expression-to-seperate-selections-from-a/m-p/995222#M962747</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-10-16T09:48:23Z</dc:date>
    </item>
  </channel>
</rss>

