<?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 field value with single quotes in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400923#M804948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;Actually it not , I find that we have to put a space after first single quote so that expression syntax will be ok&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/shocked.png" /&gt;&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat( ' ''' &amp;amp; F1 &amp;amp; ' ''', ',')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but we will have spaces in result &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&amp;nbsp; weird&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Nov 2017 02:52:36 GMT</pubDate>
    <dc:creator>woshua5550</dc:creator>
    <dc:date>2017-11-03T02:52:36Z</dc:date>
    <item>
      <title>Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400915#M804940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there&lt;/P&gt;&lt;P&gt;let's say I have a table like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;F1&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need a expression in text box to show this result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'A','B','C'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do this ? thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400915#M804940</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400916#M804941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fun with chr(39) &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=chr(39) &amp;amp; concat(F1,chr(39)&amp;amp;','&amp;amp;chr(39)) &amp;amp; chr(39)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 11:48:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400916#M804941</guid>
      <dc:creator>Or</dc:creator>
      <dc:date>2017-11-02T11:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400917#M804942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat(DISTINCT Chr(39) &amp;amp; F1 &amp;amp; Chr(39), ', ')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 11:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400917#M804942</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-02T11:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400918#M804943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice ! thanks a lot&lt;/P&gt;&lt;P&gt;but there is no Escape Character in qlik expression syntax ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 11:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400918#M804943</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-02T11:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400919#M804944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is, check this&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4232"&gt;Escape sequences&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 11:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400919#M804944</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-02T11:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400920#M804945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neat one !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 11:58:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400920#M804945</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-02T11:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400921#M804946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Love it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 11:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400921#M804946</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-02T11:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400922#M804947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this should work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concat(DISTINCT '''' &amp;amp; F1 &amp;amp; &lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;''''&lt;/STRONG&gt;, ', ')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I have used four single quotes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 12:01:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400922#M804947</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-02T12:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400923#M804948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;Actually it not , I find that we have to put a space after first single quote so that expression syntax will be ok&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/shocked.png" /&gt;&lt;/P&gt;&lt;P&gt;like this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Concat( ' ''' &amp;amp; F1 &amp;amp; ' ''', ',')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but we will have spaces in result &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&amp;nbsp; weird&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 02:52:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400923#M804948</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-03T02:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400924#M804949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But why do you want to put spaces after first single quote? Why not this?&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Concat(DISTINCT '''' &amp;amp; F1 &amp;amp; &lt;STRONG style="font-style: inherit;"&gt;''''&lt;/STRONG&gt;, ', ')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 08:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400924#M804949</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-03T08:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400925#M804950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it says expression error in my side , have you tried ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 09:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400925#M804950</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-03T09:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400926#M804951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Checking&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 11:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400926#M804951</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-03T11:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400927#M804952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you are right, for some reason it doesn't work.... I guess you can remove the space using PurgeChar or replace, but why would you want to do that when you have easier solutions, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=PurgeChar(Concat(DISTINCT ' '' ' &amp;amp; F1 &amp;amp; ' '' ', ', '), ' ')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 11:31:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400927#M804952</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-11-03T11:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400928#M804953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Haha,just curious &lt;/SPAN&gt;&lt;BR class="" /&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Nov 2017 09:21:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/1400928#M804953</guid>
      <dc:creator>woshua5550</dc:creator>
      <dc:date>2017-11-04T09:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/2064661#M1223400</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I'm facing a similar issue to what was previously discussed, and I've tried the solution suggested, but it hasn't worked for me. My goal is to save a column of data into an array using the Peek function with the structure above, but I'm having trouble with it. Can someone please help me out?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 08:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/2064661#M1223400</guid>
      <dc:creator>pietapa</dc:creator>
      <dc:date>2023-04-26T08:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/2064689#M1223401</link>
      <description>&lt;P&gt;Post sample data and desired results.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 09:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/2064689#M1223401</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2023-04-26T09:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/2064760#M1223404</link>
      <description>&lt;P&gt;This Sample should be okay, I guess:&amp;nbsp;&lt;BR /&gt;I have a table like below.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Name of Customer&lt;BR /&gt;&lt;BR /&gt;Customer1&lt;BR /&gt;Customer2&lt;BR /&gt;Customer3&lt;BR /&gt;......&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to create a variable called 'vCustomers' that will contain the following values: 'Customer1', 'Customer2', 'Customer3', and so on. The reason for creating this variable is to use it in a SQL query.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="hljs-keyword"&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class="hljs-operator"&gt;*&lt;/SPAN&gt; &lt;SPAN class="hljs-keyword"&gt;FROM&lt;/SPAN&gt;&amp;nbsp;(Table in Data Lake)&amp;nbsp;&lt;SPAN class="hljs-keyword"&gt;WHERE&lt;/SPAN&gt; Name &lt;SPAN class="hljs-keyword"&gt;IN&lt;/SPAN&gt; (vCustomers);&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 11:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/2064760#M1223404</guid>
      <dc:creator>pietapa</dc:creator>
      <dc:date>2023-04-26T11:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/2064764#M1223405</link>
      <description>&lt;P&gt;This expression&amp;nbsp; &amp;nbsp;Concat(DISTINCT Chr(39) &amp;amp; NAME &amp;amp; Chr(39), ', ')&amp;nbsp; will work for you.&lt;/P&gt;
&lt;P&gt;please accept the solution if u liked it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2023 11:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/2064764#M1223405</guid>
      <dc:creator>Prem0212</dc:creator>
      <dc:date>2023-04-26T11:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenate field value with single quotes</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/2065186#M1223423</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I tried your solution, but I received an empty variable. I am unsure why it did not work.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pietapa_1-1682587609468.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/105956iE51CC06BAA52207E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pietapa_1-1682587609468.png" alt="pietapa_1-1682587609468.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pietapa_2-1682587660227.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/105958i77D6ADAFDDD068A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="pietapa_2-1682587660227.png" alt="pietapa_2-1682587660227.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2023 09:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenate-field-value-with-single-quotes/m-p/2065186#M1223423</guid>
      <dc:creator>pietapa</dc:creator>
      <dc:date>2023-04-27T09:30:08Z</dc:date>
    </item>
  </channel>
</rss>

