<?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 Distinct values within a record. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332238#M494016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan's is a much cleaner solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might also add this to it to unify the results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Table2:&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;LOAD Distinct trim(SubField(Record, ',')) As Result&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Resident Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2012 19:52:46 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-02T19:52:46Z</dc:date>
    <item>
      <title>Distinct values within a record.</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332230#M494008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I have some records that are repeats of values. ie, the Record is EFD, EFD, EFD, EFD.How do I get the record to be just EFD?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 16:30:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332230#M494008</guid>
      <dc:creator />
      <dc:date>2012-05-02T16:30:58Z</dc:date>
    </item>
    <item>
      <title>Distinct values within a record.</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332231#M494009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Record&lt;/P&gt;&lt;P&gt;EFD&lt;/P&gt;&lt;P&gt;EFD&lt;/P&gt;&lt;P&gt;EFD&lt;/P&gt;&lt;P&gt;EFD&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Record&lt;/P&gt;&lt;P&gt;'EFD, EFD, EFD, EFD'&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 16:41:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332231#M494009</guid>
      <dc:creator />
      <dc:date>2012-05-02T16:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct values within a record.</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332232#M494010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; I mean it's a record that is like the second inline table you have listed, so not a column but a single string.&amp;nbsp; Is there any way to automatically cut the string when the is a comma?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 16:44:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332232#M494010</guid>
      <dc:creator />
      <dc:date>2012-05-02T16:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct values within a record.</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332233#M494011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;TextBetween(Record, '',',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully that works!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 16:46:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332233#M494011</guid>
      <dc:creator />
      <dc:date>2012-05-02T16:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct values within a record.</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332234#M494012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Almost, but what about situations when I have just EFD,EFD for the record or just EFD?&amp;nbsp; Can I use text between so that it picks everything before the first comma?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 17:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332234#M494012</guid>
      <dc:creator />
      <dc:date>2012-05-02T17:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct values within a record.</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332235#M494013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Picks the string before the first comma or the entire string if there is no comma?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 18:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332235#M494013</guid>
      <dc:creator />
      <dc:date>2012-05-02T18:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct values within a record.</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332236#M494014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like this depending on your situation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Record, Other&lt;/P&gt;&lt;P&gt;'EFD, EFD, EFD, EFD', 1&lt;/P&gt;&lt;P&gt;'EFD, EFD', 2&lt;/P&gt;&lt;P&gt;'EFD', 3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD &lt;/P&gt;&lt;P&gt;IF(( (SubStringCount(Record,','))&amp;gt; 0), TextBetween(Record, '',','),Record) as NewRecord,&lt;/P&gt;&lt;P&gt;Other,&lt;/P&gt;&lt;P&gt;' ' as Junk&lt;/P&gt;&lt;P&gt;Resident Table1; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;drop table Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 18:07:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332236#M494014</guid>
      <dc:creator />
      <dc:date>2012-05-02T18:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct values within a record.</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332237#M494015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How about this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Record&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; EFD, EFD, EFD, EFD&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD Distinct SubField(Record, ',') As Result&lt;/P&gt;&lt;P&gt;Resident Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 19:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332237#M494015</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2012-05-02T19:40:06Z</dc:date>
    </item>
    <item>
      <title>Distinct values within a record.</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332238#M494016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan's is a much cleaner solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might also add this to it to unify the results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Table2:&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;LOAD Distinct trim(SubField(Record, ',')) As Result&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Resident Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 19:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-values-within-a-record/m-p/332238#M494016</guid>
      <dc:creator />
      <dc:date>2012-05-02T19:52:46Z</dc:date>
    </item>
  </channel>
</rss>

