<?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: Concat date field into string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1522820#M437659</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried below script to concat the values?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.jpg" style="width: 640px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2447iAC59D14F9BAA79D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.jpg" alt="Untitled.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ZZ&lt;/P&gt;</description>
    <pubDate>Thu, 20 Dec 2018 04:06:22 GMT</pubDate>
    <dc:creator>zzyjordan</dc:creator>
    <dc:date>2018-12-20T04:06:22Z</dc:date>
    <item>
      <title>Concat date field into string</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1522807#M437656</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;I have a date field, I want to concat the dates into a string, each date should be in a pair of single quote.&lt;/P&gt;&lt;P&gt;For example, I have data like below,&lt;/P&gt;&lt;P&gt;data:&lt;BR /&gt;LOAD * Inline&lt;BR /&gt;[&lt;BR /&gt;cob_date&lt;BR /&gt;'12/1/2018'&lt;BR /&gt;'12/2/2018'&lt;BR /&gt;'12/3/2018'&lt;BR /&gt;'12/4/2018'&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the string I want is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'12/1/2018',&lt;/SPAN&gt;&lt;SPAN&gt;'12/2/2018',&lt;/SPAN&gt;&lt;SPAN&gt;'12/3/2018',&lt;/SPAN&gt;&lt;SPAN&gt;'12/4/2018'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I defined a variable like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vCon_date : =Concat(chr(39) &amp;amp; cob_date &amp;amp; chr(39), ',', cob_date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but when I put the $(vCon_date) into a text box, I got "Error: Garbage after expression: "," "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where am I wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;the qvw file is attached..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 03:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1522807#M437656</guid>
      <dc:creator>msmichael</dc:creator>
      <dc:date>2018-12-20T03:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Concat date field into string</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1522820#M437659</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you tried below script to concat the values?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.jpg" style="width: 640px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2447iAC59D14F9BAA79D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled.jpg" alt="Untitled.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;ZZ&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 04:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1522820#M437659</guid>
      <dc:creator>zzyjordan</dc:creator>
      <dc:date>2018-12-20T04:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Concat date field into string</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1522821#M437660</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/51171"&gt;@msmichael&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;vCon_date : =Concat(chr(39) &amp;amp; cob_date &amp;amp; chr(39), ','&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;, cob_date&lt;/STRONG&gt;&lt;/FONT&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Just remove the &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Red&lt;/STRONG&gt; &lt;/FONT&gt;color text&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 04:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1522821#M437660</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-12-20T04:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Concat date field into string</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1522822#M437661</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Use&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;vCon_date&lt;/STRONG&gt; directly&amp;nbsp;&lt;SPAN&gt;instead&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;$(vCon_date)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 04:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1522822#M437661</guid>
      <dc:creator>Zhandos_Shotan</dc:creator>
      <dc:date>2018-12-20T04:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Concat date field into string</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1522823#M437662</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;vCon_date&amp;nbsp;= Concat(chr(39)&amp;amp;cob_date&amp;amp;chr(39),',')&lt;/P&gt;&lt;P&gt;now check in textbox&amp;nbsp; =&lt;SPAN&gt;vCon_date&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;result :&amp;nbsp;'12/1/2018','12/2/2018','12/3/2018','12/4/2018'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if you given variable calculation without equal sign (=) use $(vCon_date )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 04:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1522823#M437662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-20T04:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Concat date field into string</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1523065#M438186</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your reply. I have to do it in an expression, so can't do it this way..&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 14:39:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1523065#M438186</guid>
      <dc:creator>msmichael</dc:creator>
      <dc:date>2018-12-20T14:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Concat date field into string</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1523066#M438187</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your reply, but I need the dates to be sorted, so can't remove the red color text..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 14:40:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-date-field-into-string/m-p/1523066#M438187</guid>
      <dc:creator>msmichael</dc:creator>
      <dc:date>2018-12-20T14:40:15Z</dc:date>
    </item>
  </channel>
</rss>

