<?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 repetitive values in string in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-repetitive-values-in-string/m-p/1815073#M1212934</link>
    <description>&lt;P&gt;Thanks for your response. We have&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;repetitive&amp;nbsp;values in many fields. I some fields&amp;nbsp;it is repeating&amp;nbsp;three times.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Industry:&lt;/P&gt;&lt;P&gt;1.Aerospace and Defense,Aerospace and Defense,Aerospace and Defense,Industrial Manufacturing,Industrial Manufacturing,Manufacturing / Engineering,Manufacturing / Engineering,Manufacturing / Engineering,Technology,Technology,Technology,Federal Contractors,Federal Contractors,Federal Contractors&lt;/P&gt;&lt;P&gt;2.Academic Medical Centers,Academic Medical Centers,Hospitals and Health Systems,Hospitals and Health Systems&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output expected:&lt;/P&gt;&lt;P&gt;1.Aerospace and Defense,Industrial Manufacturing,Manufacturing / Engineering,Technology,Federal Contractors&lt;/P&gt;&lt;P&gt;2.Academic Medical Centers,Hospitals and Health Systems&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jun 2021 05:29:49 GMT</pubDate>
    <dc:creator>kavyadwh91</dc:creator>
    <dc:date>2021-06-15T05:29:49Z</dc:date>
    <item>
      <title>Remove repetitive values in string</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-repetitive-values-in-string/m-p/1814521#M1212876</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;I need to remove the repetitive values in the string. Here is the example I am having data like this.&lt;/P&gt;&lt;P&gt;"Academic Medical Centers, Academic Medical Centers, Academic Medical Centers, Hospitals and Health Systems, Hospitals and Health Systems, Hospitals and Health Systems"&lt;/P&gt;&lt;P&gt;I need to display only&amp;nbsp;Academic Medical Centers, Hospitals and Health Systems.&lt;/P&gt;&lt;P&gt;Please do the needful.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 14:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-repetitive-values-in-string/m-p/1814521#M1212876</guid>
      <dc:creator>kavyadwh91</dc:creator>
      <dc:date>2021-06-11T14:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Remove repetitive values in string</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-repetitive-values-in-string/m-p/1814540#M1212878</link>
      <description>&lt;P&gt;the repetive value is in the string of one field?&lt;/P&gt;&lt;P&gt;Maybe this helps&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;substring(Yourfield,',') as Content&lt;/P&gt;&lt;P&gt;resident your table;&lt;/P&gt;&lt;P&gt;left join (your table) load distinct&lt;/P&gt;&lt;P&gt;ID,&lt;/P&gt;&lt;P&gt;concat(ltrim(Content,', ') as NewContent&lt;/P&gt;&lt;P&gt;resident Temp&lt;/P&gt;&lt;P&gt;group by ID;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;drop table Temp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 14:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-repetitive-values-in-string/m-p/1814540#M1212878</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2021-06-11T14:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Remove repetitive values in string</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-repetitive-values-in-string/m-p/1814589#M1212885</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28859"&gt;@martinpohl&lt;/a&gt;&amp;nbsp;Good solution. However, I would not do the distinct in&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;left join (your table) load distinct&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;as that will Distinct "your table" as well, which is not desirable.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Instead I would do the distinct in the Concat function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;concat(DISTINCT ltrim(Content,', ') as NewContent&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jun 2021 18:22:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-repetitive-values-in-string/m-p/1814589#M1212885</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-06-11T18:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remove repetitive values in string</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-repetitive-values-in-string/m-p/1815073#M1212934</link>
      <description>&lt;P&gt;Thanks for your response. We have&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;repetitive&amp;nbsp;values in many fields. I some fields&amp;nbsp;it is repeating&amp;nbsp;three times.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Industry:&lt;/P&gt;&lt;P&gt;1.Aerospace and Defense,Aerospace and Defense,Aerospace and Defense,Industrial Manufacturing,Industrial Manufacturing,Manufacturing / Engineering,Manufacturing / Engineering,Manufacturing / Engineering,Technology,Technology,Technology,Federal Contractors,Federal Contractors,Federal Contractors&lt;/P&gt;&lt;P&gt;2.Academic Medical Centers,Academic Medical Centers,Hospitals and Health Systems,Hospitals and Health Systems&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output expected:&lt;/P&gt;&lt;P&gt;1.Aerospace and Defense,Industrial Manufacturing,Manufacturing / Engineering,Technology,Federal Contractors&lt;/P&gt;&lt;P&gt;2.Academic Medical Centers,Hospitals and Health Systems&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 05:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-repetitive-values-in-string/m-p/1815073#M1212934</guid>
      <dc:creator>kavyadwh91</dc:creator>
      <dc:date>2021-06-15T05:29:49Z</dc:date>
    </item>
  </channel>
</rss>

