<?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 Concat distinct with sorting in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concat-distinct-with-sorting/m-p/1801275#M1211711</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I need to get field (INDIC_3) values on textboxes, with the same sorting as the loading sort, using concat and then subfield.&lt;/P&gt;&lt;P&gt;here is what I get:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screen1.png" style="width: 707px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53360iF9AA59131AF5FE75/image-size/large?v=v2&amp;amp;px=999" role="button" title="screen1.png" alt="screen1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the green color represent the loading sort wich is correct, and the red color represent what I get with Concat(Distinct INDIC_3)&lt;/P&gt;&lt;P&gt;I tried to read all the threads about the same issue, so I tried using the third parameter of the Concat() with RowNo on the script and on the front end. nothing is working for me&lt;/P&gt;&lt;P&gt;PFA the sample data I'm using for this example&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
    <pubDate>Wed, 21 Apr 2021 12:02:23 GMT</pubDate>
    <dc:creator>YoussefBelloum</dc:creator>
    <dc:date>2021-04-21T12:02:23Z</dc:date>
    <item>
      <title>Concat distinct with sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-distinct-with-sorting/m-p/1801275#M1211711</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I need to get field (INDIC_3) values on textboxes, with the same sorting as the loading sort, using concat and then subfield.&lt;/P&gt;&lt;P&gt;here is what I get:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="screen1.png" style="width: 707px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53360iF9AA59131AF5FE75/image-size/large?v=v2&amp;amp;px=999" role="button" title="screen1.png" alt="screen1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the green color represent the loading sort wich is correct, and the red color represent what I get with Concat(Distinct INDIC_3)&lt;/P&gt;&lt;P&gt;I tried to read all the threads about the same issue, so I tried using the third parameter of the Concat() with RowNo on the script and on the front end. nothing is working for me&lt;/P&gt;&lt;P&gt;PFA the sample data I'm using for this example&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 12:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-distinct-with-sorting/m-p/1801275#M1211711</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2021-04-21T12:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Concat distinct with sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-distinct-with-sorting/m-p/1801490#M1211728</link>
      <description>&lt;P&gt;concat function does have sorting option:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/April2020/Subsystems/Client/Content/QV_QlikView/Scripting/StringAggregationFunctions/concat.htm" target="_blank"&gt;Concat - script function ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 18:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-distinct-with-sorting/m-p/1801490#M1211728</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2021-04-21T18:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Concat distinct with sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-distinct-with-sorting/m-p/1801590#M1211741</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/50387"&gt;@YoussefBelloum&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like below&lt;/P&gt;&lt;P&gt;LOAD INDIC_NIV_0,&lt;BR /&gt;INDIC_1,&lt;BR /&gt;INDIC_2,&lt;BR /&gt;INDIC_3,&lt;BR /&gt;INDIC_N2,&lt;BR /&gt;AutoNumber(INDIC_3) as INDIC_3No&lt;BR /&gt;FROM&lt;BR /&gt;[D:\Qlik\Com\test.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Feuil1);&lt;/P&gt;&lt;P&gt;Front end: Text box:&lt;/P&gt;&lt;P&gt;=Concat(DISTINCT INDIC_3, ',', INDIC_3No)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MayilVahanan_0-1619071139556.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53433i393BB3B6997FA817/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MayilVahanan_0-1619071139556.png" alt="MayilVahanan_0-1619071139556.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 05:59:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-distinct-with-sorting/m-p/1801590#M1211741</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2021-04-22T05:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Concat distinct with sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-distinct-with-sorting/m-p/1801736#M1211754</link>
      <description>&lt;P&gt;if you want to do it without changing the script you could do as following:&lt;/P&gt;&lt;P&gt;=concat(distinct INDIC_3,',',match(ord(left(subfield(INDIC_3,' ',3),1))-64,'1','33','5','13'))&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 12:19:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-distinct-with-sorting/m-p/1801736#M1211754</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2021-04-22T12:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Concat distinct with sorting</title>
      <link>https://community.qlik.com/t5/QlikView/Concat-distinct-with-sorting/m-p/1801758#M1211756</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17935"&gt;@MayilVahanan&lt;/a&gt;&amp;nbsp;thank you ! it works&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 12:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concat-distinct-with-sorting/m-p/1801758#M1211756</guid>
      <dc:creator>YoussefBelloum</dc:creator>
      <dc:date>2021-04-22T12:57:43Z</dc:date>
    </item>
  </channel>
</rss>

