<?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 duplicate field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141185#M753777</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I use this field in the table it still displays both dates &lt;IMG alt="table.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215451_table.PNG" style="height: 220px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I only want it to display the data for the most recent 'DistinctDate'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Oct 2018 09:47:42 GMT</pubDate>
    <dc:creator>khaycock</dc:creator>
    <dc:date>2018-10-09T09:47:42Z</dc:date>
    <item>
      <title>Remove duplicate field</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141180#M753772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created a compound key of 2 fields that I want to only see data from in my straight table. However, this key is duplicated on some rows, how can I get it to only display one of these duplicates? The only reason it is duplicated is because of a 'last scanned' field that I can ignore but I do need to display it within the table, so can't remove it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure how to do this in the load when I want all the rest of the data within that load to be loaded normally and not distinct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141180#M753772</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicate field</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141181#M753773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share some sample file with an example please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 16:07:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141181#M753773</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2018-10-08T16:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicate field</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141182#M753774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure. For lines where I have duplicate Plug &amp;amp; Code, I want to only display the most recent Date2 line. Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 08:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141182#M753774</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2018-10-09T08:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicate field</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141183#M753775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15390743372082307 jive_text_macro" jivemacro_uid="_15390743372082307" modifiedtitle="true"&gt;
&lt;P&gt;Directory;&lt;/P&gt;
&lt;P&gt;LOAD [1] as Plug, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2] as Code, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [3] as Date1, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(previous([1])= [1] and previous([2])=[2] and previous([3])=[3],previous([4]),[4]) as Date2&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;D&gt;&lt;/D&gt;&lt;/P&gt;
&lt;P&gt;(biff, embedded labels, table is Sheet1$);&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 08:39:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141183#M753775</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2018-10-09T08:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicate field</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141184#M753776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and if only want to keep the most recent date2 than try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15390747525711569" jivemacro_uid="_15390747525711569"&gt;
&lt;P&gt;LOAD Plug, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Code, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date2, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(previous(Plug)= Plug and previous(Code)=Code and Previous(Date1)=Date1,Date2,previous(Date2)) as Date3&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;
&lt;P&gt;(biff, embedded labels, table is Sheet1$);&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 08:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141184#M753776</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2018-10-09T08:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicate field</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141185#M753777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I use this field in the table it still displays both dates &lt;IMG alt="table.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/215451_table.PNG" style="height: 220px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I only want it to display the data for the most recent 'DistinctDate'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 09:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141185#M753777</guid>
      <dc:creator>khaycock</dc:creator>
      <dc:date>2018-10-09T09:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Remove duplicate field</title>
      <link>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141186#M753778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;give this a try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15390798146607941 jive_text_macro" jivemacro_uid="_15390798146607941"&gt;
&lt;P&gt;Directory;&lt;/P&gt;
&lt;P&gt;LOAD [1] as Plug,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2] as Code,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [3] as Date1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [4] as Date2&amp;nbsp; &lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;&lt;C&gt;&lt;/C&gt;&lt;/P&gt;
&lt;P&gt;(biff, embedded labels, table is Sheet1$)&lt;/P&gt;
&lt;P&gt;where if(previous([1])= [1] and previous([2])=[2] and previous([3])=[3],[4],Null())&amp;lt;&amp;gt;Null();&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2018 10:12:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Remove-duplicate-field/m-p/141186#M753778</guid>
      <dc:creator>Frank_Hartmann</dc:creator>
      <dc:date>2018-10-09T10:12:46Z</dc:date>
    </item>
  </channel>
</rss>

