<?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: Track Only Duplicate References in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Track-Only-Duplicate-References/m-p/1065292#M356217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rishi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this,&lt;/P&gt;&lt;P&gt;Step 1:&lt;/P&gt;&lt;P&gt;Firstly flag duplicates by comparing row-wise record using peek function, &lt;/P&gt;&lt;P&gt;if(Reference_Duplicate&amp;lt;&amp;gt;Peek(Reference_Duplicate,-1),1,0) as Capture_Duplicate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2:&lt;/P&gt;&lt;P&gt;Load only Capture_duplicate Flag with 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Feb 2016 08:59:40 GMT</pubDate>
    <dc:creator>jansen28</dc:creator>
    <dc:date>2016-02-07T08:59:40Z</dc:date>
    <item>
      <title>Track Only Duplicate References</title>
      <link>https://community.qlik.com/t5/QlikView/Track-Only-Duplicate-References/m-p/1065287#M356212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Hi Guys,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I have a scenerio in a Vendor table.We have some fileds in a vendor table having two fields&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Reference Actual and Reference Duplicate.In Actaul Reference there is Alfa-Numeric values and&lt;/P&gt;&lt;P&gt;in Reference duplicate field there is&amp;nbsp; some special chars has benn used between these vales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually some vendors have a filled a fake reference numbers using&amp;nbsp; special characters in&lt;/P&gt;&lt;P&gt;existing Real references (if this reference already occured).So Real references are the acual &lt;/P&gt;&lt;P&gt;refrence and Reference Duplicate is fake reference if it already occurs once (before).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So If any row has already present in table (ignoring Duplicate References field) and it again&lt;/P&gt;&lt;P&gt;appearing due to Duplicate References which are different(new)&amp;nbsp; then we need to capture only&lt;/P&gt;&lt;P&gt;those rows in table with existing rows.&lt;/P&gt;&lt;P&gt;We need to capture both References Real &amp;amp; Duplicate References.&lt;/P&gt;&lt;P&gt;Means we want those recors which are duplicate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have mentioned the result also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;BR /&gt;Rishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Feb 2016 16:43:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Track-Only-Duplicate-References/m-p/1065287#M356212</guid>
      <dc:creator>rishikeshtiwari</dc:creator>
      <dc:date>2016-02-06T16:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Track Only Duplicate References</title>
      <link>https://community.qlik.com/t5/QlikView/Track-Only-Duplicate-References/m-p/1065288#M356213</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;is there any exact Match between two fields,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Reference Actual and Reference Duplicate.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Feb 2016 18:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Track-Only-Duplicate-References/m-p/1065288#M356213</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-02-06T18:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Track Only Duplicate References</title>
      <link>https://community.qlik.com/t5/QlikView/Track-Only-Duplicate-References/m-p/1065289#M356214</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;Check this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using PurgeChar Function,&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14547857834316312" jivemacro_uid="_14547857834316312" modifiedtitle="true"&gt;
&lt;P&gt;Data:&lt;/P&gt;
&lt;P&gt;LOAD&amp;nbsp; Distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vendor, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Document Date], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Document Number], &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Purgechar(Reference_Duplicate,'.,-,/,&amp;gt;,=,…., ,') as Reference_Duplicate, &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Reference Real]&lt;/P&gt;
&lt;P&gt;FROM&lt;/P&gt;
&lt;P&gt;[Vendor with Duplicate Ref.xlsx]&lt;/P&gt;
&lt;P&gt;(ooxml, embedded labels, table is [Vendor with Duplicate Ref]);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;IMG alt="Purge Char Data-204551.PNG" class="jive-image image-1" src="/legacyfs/online/113800_Purge Char Data-204551.PNG" style="height: auto; width: auto;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this Helps,&lt;/P&gt;&lt;P&gt;PFA,&lt;/P&gt;&lt;P&gt;Hirish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Feb 2016 19:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Track-Only-Duplicate-References/m-p/1065289#M356214</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2016-02-06T19:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Track Only Duplicate References</title>
      <link>https://community.qlik.com/t5/QlikView/Track-Only-Duplicate-References/m-p/1065290#M356215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hirish,&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;My requirement is to capture those rows with Reference Real &amp;amp; Duplicate Reference where Reference is &lt;/P&gt;&lt;P&gt;repeated.Means I need only those rows in table where for a column Reference real is repeating due to Reference duplicate. I have to ignore rest of the columns that are not required. I need not require those rows where&lt;/P&gt;&lt;P&gt;Reference Real appears first time.&lt;/P&gt;&lt;P&gt;I have to capture only those rows where Reference Real is duplicating with previous value(duplicate).&lt;/P&gt;&lt;P&gt;I have attached the result also in Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank&lt;/P&gt;&lt;P&gt;Rishi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 03:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Track-Only-Duplicate-References/m-p/1065290#M356215</guid>
      <dc:creator>rishikeshtiwari</dc:creator>
      <dc:date>2016-02-07T03:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Track Only Duplicate References</title>
      <link>https://community.qlik.com/t5/QlikView/Track-Only-Duplicate-References/m-p/1065291#M356216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes there may be any exact match. But we need to track only when Reference real occurs two times for a row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 05:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Track-Only-Duplicate-References/m-p/1065291#M356216</guid>
      <dc:creator>rishikeshtiwari</dc:creator>
      <dc:date>2016-02-07T05:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Track Only Duplicate References</title>
      <link>https://community.qlik.com/t5/QlikView/Track-Only-Duplicate-References/m-p/1065292#M356217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rishi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try this,&lt;/P&gt;&lt;P&gt;Step 1:&lt;/P&gt;&lt;P&gt;Firstly flag duplicates by comparing row-wise record using peek function, &lt;/P&gt;&lt;P&gt;if(Reference_Duplicate&amp;lt;&amp;gt;Peek(Reference_Duplicate,-1),1,0) as Capture_Duplicate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step 2:&lt;/P&gt;&lt;P&gt;Load only Capture_duplicate Flag with 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Feb 2016 08:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Track-Only-Duplicate-References/m-p/1065292#M356217</guid>
      <dc:creator>jansen28</dc:creator>
      <dc:date>2016-02-07T08:59:40Z</dc:date>
    </item>
  </channel>
</rss>

