<?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: Remove duplicates for the concatinated string in Textbox in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358258#M825334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Num(Left(Replace(GetCurrentSelections(), 'Year: ', ''), 4)) - 1 &amp;amp; ', ' &amp;amp; Replace(GetCurrentSelections(), 'Year: ', ' ') &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul Pawar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jul 2017 12:50:35 GMT</pubDate>
    <dc:creator>rahulpawarb</dc:creator>
    <dc:date>2017-07-24T12:50:35Z</dc:date>
    <item>
      <title>Remove duplicates for the concatinated string in Textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358255#M825331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a year field with values 2001,2002,2003,2004,2005,2006,&lt;SPAN style="font-size: 10pt;"&gt;2007,2008,2009.&amp;nbsp; My requirement is, when I select multiple years, I want to display the selected years along with their previous years. For example if I select 2003,2004,2005 I want to display 2002,&lt;SPAN style="font-size: 13.3333px;"&gt;2003,2004,2005 in the textbox. I could not bring the output with the concat function. Please help me on this.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks in advance&lt;/SPAN&gt;&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/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358255#M825331</guid>
      <dc:creator>avinashkk696</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicates for the concatinated string in Textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358256#M825332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use concatenate function other wise concatenate operator like '&amp;amp;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arvind Patil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 12:39:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358256#M825332</guid>
      <dc:creator>arvind_patil</dc:creator>
      <dc:date>2017-07-24T12:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicates for the concatinated string in Textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358257#M825333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arvind,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have used Concat(Year,',') which is giving me current selections. How can I get the previous years??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 12:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358257#M825333</guid>
      <dc:creator>avinashkk696</dc:creator>
      <dc:date>2017-07-24T12:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicates for the concatinated string in Textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358258#M825334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Avinash,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Num(Left(Replace(GetCurrentSelections(), 'Year: ', ''), 4)) - 1 &amp;amp; ', ' &amp;amp; Replace(GetCurrentSelections(), 'Year: ', ' ') &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Rahul Pawar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 12:50:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358258#M825334</guid>
      <dc:creator>rahulpawarb</dc:creator>
      <dc:date>2017-07-24T12:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicates for the concatinated string in Textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358259#M825335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice Rahul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(GetFieldSelections(Year)&amp;gt;0, &lt;/P&gt;&lt;P&gt;Num(Left(Replace(GetCurrentSelections(), 'Year: ', ''), 4)) - 1 &amp;amp; ', ' &amp;amp; Replace(GetCurrentSelections(), 'Year: ', ' '),&lt;/P&gt;&lt;P&gt;'Select Year')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 12:56:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358259#M825335</guid>
      <dc:creator>Nagaraju_KCS</dc:creator>
      <dc:date>2017-07-24T12:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicates for the concatinated string in Textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358260#M825336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load *,&lt;/P&gt;&lt;P&gt;Previous(year) as previousyear;&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;year&lt;/P&gt;&lt;P&gt;2001&lt;/P&gt;&lt;P&gt;2002&lt;/P&gt;&lt;P&gt;2003&lt;/P&gt;&lt;P&gt;2004&lt;/P&gt;&lt;P&gt;2005&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and expression in filter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; previousyear&amp;amp;','&amp;amp; year&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 13:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358260#M825336</guid>
      <dc:creator>arulsettu</dc:creator>
      <dc:date>2017-07-24T13:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicates for the concatinated string in Textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358261#M825337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Avinash,&lt;/P&gt;&lt;P&gt;Try this in a textbox:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Concat({1}aggr(if(Not isnull(Below(Only(Year))),only({1}Year),Year),Year),',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 13:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358261#M825337</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-24T13:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicates for the concatinated string in Textbox</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358262#M825338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can remove the duplicates by using DISTINCT in the concat function. For also displaying previous years even though not selected, you can use set analysis that includes years smaller than the max year seklected:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Concat({&amp;lt;year={"&amp;lt;&lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt;$(=Max(year))"}&amp;gt;} DISTINCT year,',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that that you will have to replace 'year' with the exact name of your field year including capitals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: &amp;lt;= instead of &amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 13:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-duplicates-for-the-concatinated-string-in-Textbox/m-p/1358262#M825338</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2017-07-24T13:50:19Z</dc:date>
    </item>
  </channel>
</rss>

