<?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: Getting only distinct val inside the cell in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Getting-only-distinct-val-inside-the-cell/m-p/2531912#M108063</link>
    <description>&lt;P&gt;Not sure about combinations you may have in your data.. but something like that could work:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;,If(CODE_DEMI_TRAITEMENT like '*DT*' and CODE_DEMI_TRAITEMENT like '*PT*','DT-PT',
		If(CODE_DEMI_TRAITEMENT like '*DT*' and not CODE_DEMI_TRAITEMENT like '*PT*','DT',
		If(CODE_DEMI_TRAITEMENT like '*PT*' and not CODE_DEMI_TRAITEMENT like '*DT*','PT','OTHER'
		))) as [your distinct field]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
    <pubDate>Fri, 26 Sep 2025 11:09:57 GMT</pubDate>
    <dc:creator>Lech_Miszkiewicz</dc:creator>
    <dc:date>2025-09-26T11:09:57Z</dc:date>
    <item>
      <title>Getting only distinct val inside the cell</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-only-distinct-val-inside-the-cell/m-p/2531909#M108062</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I got one question about getting the distinct value inside the cell&lt;/P&gt;&lt;P&gt;As you can see from the image, I would like to get only :&lt;/P&gt;&lt;P&gt;DT-PT&amp;nbsp;&lt;/P&gt;&lt;P&gt;PT&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to avoid the repeat value. The solution must be in the script editor please.&lt;/P&gt;&lt;P&gt;Thank you in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 10:41:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-only-distinct-val-inside-the-cell/m-p/2531909#M108062</guid>
      <dc:creator>CHRIS_Singa</dc:creator>
      <dc:date>2025-09-26T10:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting only distinct val inside the cell</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-only-distinct-val-inside-the-cell/m-p/2531912#M108063</link>
      <description>&lt;P&gt;Not sure about combinations you may have in your data.. but something like that could work:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;,If(CODE_DEMI_TRAITEMENT like '*DT*' and CODE_DEMI_TRAITEMENT like '*PT*','DT-PT',
		If(CODE_DEMI_TRAITEMENT like '*DT*' and not CODE_DEMI_TRAITEMENT like '*PT*','DT',
		If(CODE_DEMI_TRAITEMENT like '*PT*' and not CODE_DEMI_TRAITEMENT like '*DT*','PT','OTHER'
		))) as [your distinct field]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 11:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-only-distinct-val-inside-the-cell/m-p/2531912#M108063</guid>
      <dc:creator>Lech_Miszkiewicz</dc:creator>
      <dc:date>2025-09-26T11:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting only distinct val inside the cell</title>
      <link>https://community.qlik.com/t5/App-Development/Getting-only-distinct-val-inside-the-cell/m-p/2531940#M108065</link>
      <description>&lt;P&gt;Try something like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;CleanedTable:&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Checkb1,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Concat(DISTINCT SubField(CODE_DEMI_TRAITEMENT, '-', IterNo()), '-') as CODE_DEMI_TRAITEMENT_CLEAN&lt;/P&gt;&lt;P&gt;Resident RawTable&lt;/P&gt;&lt;P&gt;While IterNo() &amp;lt;= SubStringCount(CODE_DEMI_TRAITEMENT, '-')+1&lt;/P&gt;&lt;P&gt;Group By Checkb1;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 16:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Getting-only-distinct-val-inside-the-cell/m-p/2531940#M108065</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2025-09-26T16:24:48Z</dc:date>
    </item>
  </channel>
</rss>

