<?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: Distinct (Load) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367337#M703585</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not working!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jun 2012 15:16:03 GMT</pubDate>
    <dc:creator>hkg_qlik</dc:creator>
    <dc:date>2012-06-25T15:16:03Z</dc:date>
    <item>
      <title>Distinct (Load)</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367335#M703583</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;I have a table with the following fields:&lt;/P&gt;&lt;P&gt;MEMBERID&lt;/P&gt;&lt;P&gt;ADDRESS&lt;/P&gt;&lt;P&gt;STATE&lt;/P&gt;&lt;P&gt;COUNTY&lt;/P&gt;&lt;P&gt;EMAIL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to remove the duplicate records while script loading process based on distinct(MEMBERID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 15:00:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367335#M703583</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2012-06-25T15:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct (Load)</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367336#M703584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT MEMBERID&lt;/P&gt;&lt;P&gt;FROM BLAH.XLS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE(T1)&lt;/P&gt;&lt;P&gt;LOAD MEMBERID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADDRESS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNTY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMAIL&lt;/P&gt;&lt;P&gt;FROM BLAH.XLS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 15:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367336#M703584</guid>
      <dc:creator />
      <dc:date>2012-06-25T15:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct (Load)</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367337#M703585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not working!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 15:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367337#M703585</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2012-06-25T15:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct (Load)</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367338#M703586</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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(Previous(MEMBERID) = MEMBERID, 0, MEMBERID) As MEMBERID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADDRESS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNTY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMAIL&lt;/P&gt;&lt;P&gt;From [FileName].[FileExtension]&lt;/P&gt;&lt;P&gt;Order By MEMBERID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 15:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367338#M703586</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-06-25T15:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct (Load)</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367339#M703587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not working!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 15:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367339#M703587</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2012-06-25T15:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct (Load)</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367340#M703588</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;Do just&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD DISTINCT MEMBERID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /////only this field will be distinct or unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ADDRESS,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COUNTY,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMAIL&lt;/P&gt;&lt;P&gt;FROM BLAH.XLS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have on mind that during the regular select distinct, load dialog box will show many records fetched, but in your table will be correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 15:53:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367340#M703588</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2012-06-25T15:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct (Load)</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367341#M703589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried that before but it seems to be not working. I am using a QVD file as a source. Does that affect anything?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 16:05:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367341#M703589</guid>
      <dc:creator>hkg_qlik</dc:creator>
      <dc:date>2012-06-25T16:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct (Load)</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367342#M703590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where we have all said FROM BLAH.XLS that needs to be FROM ..........QVD &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 16:14:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367342#M703590</guid>
      <dc:creator />
      <dc:date>2012-06-25T16:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct (Load)</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367343#M703591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;T1:&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;LOAD &lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MEMBERID,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FirstValue(ADDRESS) AS &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;ADDRESS&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FirstValue(STATE) AS &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;STATE&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FirstValue(COUNTY) AS &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;COUNTY&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FirstValue(EMAIL) AS EMAIL&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;FROM BLAH.XLS&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;GROUP BY &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;MEMBERID &lt;/SPAN&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jun 2012 17:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367343#M703591</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-06-25T17:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Distinct (Load)</title>
      <link>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367344#M703592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.qlik.com/qlik-users/29525"&gt;Chris Conejero&lt;/A&gt;, this worked perfectly for me. I had been trying the FIRSTVALUE method but kept running out of memory and it was very slow (1.5million records).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using the LOAD Distinct method was a lot faster, did not run out of memory and did the job exactly as you described:&lt;/P&gt;&lt;P&gt;I already knew I had 1,488,448 records with 6 duplicates (In a Straight table I used Count(MEMBERID) and Count(Distinct MEMBERID) to check)&lt;/P&gt;&lt;P&gt;The LOAD routine stated it loaded 1,488,448 records and then the straight table showed 1,488,442 for both the Count and Count Distinct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much, even though your answer wasn't what hkgandhi was after it was exactly what I needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 14:56:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Distinct-Load/m-p/367344#M703592</guid>
      <dc:creator>lawrenceiow</dc:creator>
      <dc:date>2014-10-08T14:56:02Z</dc:date>
    </item>
  </channel>
</rss>

