<?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: how to remove duplicate records( a bit tricky) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735570#M722045</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;The actual file structure is attached. can you help with the solution. i tried with above solution but somehow it didnt work on the actual file structure.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/220"&gt;@cwolf&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Aug 2020 15:42:51 GMT</pubDate>
    <dc:creator>sanjujeeboy</dc:creator>
    <dc:date>2020-08-18T15:42:51Z</dc:date>
    <item>
      <title>how to remove duplicate records( a bit tricky)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735383#M722043</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the below table i want to remove the records highlighted in RED. as it is the sum of records above it.&lt;/P&gt;&lt;P&gt;How to remove this record? excel attached for Ref:&lt;/P&gt;&lt;TABLE width="914"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="766px" height="25px"&gt;Product.productGroup&lt;/TD&gt;&lt;TD width="147px" height="25px"&gt;Clicks&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="766px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="147px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="766px" height="47px"&gt;AND(PRODUCT_TYPE_LEVEL_1 = "cuidado personal",CUSTOM_LABEL_3 = "afeitadoras aquatouch",PRODUCT_ID = "s5050/64")&lt;/TD&gt;&lt;TD width="147px" height="47px"&gt;865&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="766px" height="47px"&gt;AND(PRODUCT_TYPE_LEVEL_1 = "cuidado personal",CUSTOM_LABEL_3 = "afeitadoras aquatouch",PRODUCT_ID = "s5400/06")&lt;/TD&gt;&lt;TD width="147px" height="47px"&gt;233&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="766px" height="47px"&gt;AND(PRODUCT_TYPE_LEVEL_1 = "cuidado personal",CUSTOM_LABEL_3 = "afeitadoras aquatouch",PRODUCT_ID = "s5420/06")&lt;/TD&gt;&lt;TD width="147px" height="47px"&gt;615&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="766px" height="25px"&gt;&lt;FONT color="#FF0000"&gt;AND(PRODUCT_TYPE_LEVEL_1 = "cuidado personal",CUSTOM_LABEL_3 = "afeitadoras aquatouch")&lt;/FONT&gt;&lt;/TD&gt;&lt;TD width="147px" height="25px"&gt;1713&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="766px" height="25px"&gt;AND(CUSTOM_LABEL_2 = "bodygroom",CUSTOM_LABEL_3 = "dauerhafte haarentfernung")&lt;/TD&gt;&lt;TD width="147px" height="25px"&gt;488&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="766px" height="25px"&gt;AND(CUSTOM_LABEL_2 = "bodygroom",CUSTOM_LABEL_3 = "rasierer")&lt;/TD&gt;&lt;TD width="147px" height="25px"&gt;269&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="766px" height="25px"&gt;AND(CUSTOM_LABEL_2 = "bodygroom",CUSTOM_LABEL_3 = "schneiden und rasieren")&lt;/TD&gt;&lt;TD width="147px" height="25px"&gt;649&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="766px" height="25px"&gt;&lt;FONT color="#FF0000"&gt;AND(CUSTOM_LABEL_2 = "bodygroom")&lt;/FONT&gt;&lt;/TD&gt;&lt;TD width="147px" height="25px"&gt;1406&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735383#M722043</guid>
      <dc:creator>sanjujeeboy</dc:creator>
      <dc:date>2024-11-16T18:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove duplicate records( a bit tricky)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735504#M722044</link>
      <description>&lt;P&gt;For example:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;t:
load Product.productGroup, 
     Clicks,
     left(Product.productGroup,len(Product.productGroup)-1) as ppg //delete closing bracket
from [.\duplicate.xlsx](ooxml, embedded labels, table is Sheet1);

Final:
load
*
where idx&amp;lt;&amp;gt;1;
load
*,
Index(Previous(ppg),ppg) as idx
Resident t Order by ppg desc;

drop fields ppg,idx;
drop table t;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 13 Aug 2020 08:45:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735504#M722044</guid>
      <dc:creator>cwolf</dc:creator>
      <dc:date>2020-08-13T08:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove duplicate records( a bit tricky)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735570#M722045</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;The actual file structure is attached. can you help with the solution. i tried with above solution but somehow it didnt work on the actual file structure.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/220"&gt;@cwolf&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 15:42:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735570#M722045</guid>
      <dc:creator>sanjujeeboy</dc:creator>
      <dc:date>2020-08-18T15:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove duplicate records( a bit tricky)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735622#M722046</link>
      <description>&lt;P&gt;It works. Look at the attachment. In the table all lines with idx=1 will removed. I think that is what you want.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 14:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735622#M722046</guid>
      <dc:creator>cwolf</dc:creator>
      <dc:date>2020-08-13T14:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove duplicate records( a bit tricky)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735684#M722047</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;the above solution is the exact output which i want.&lt;/P&gt;&lt;P&gt;Im&amp;nbsp; using the same code as yours but somehow&amp;nbsp; when i select idx 0 there are very few click numbers.&lt;/P&gt;&lt;P&gt;attached is reference file and qvd&lt;/P&gt;&lt;P&gt;Kindly look into this&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/220"&gt;@cwolf&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 19:08:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735684#M722047</guid>
      <dc:creator>sanjujeeboy</dc:creator>
      <dc:date>2020-08-13T19:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove duplicate records( a bit tricky)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735707#M722048</link>
      <description>&lt;P&gt;For your data you have to use at least also the date field. Possibly other fields as well, for example:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;t:
load 
*,
Product.Date &amp;amp; '|' &amp;amp;  [Product.Paid Search Ad Group] &amp;amp; '|' &amp;amp; left(Product.productGroup,len(Product.productGroup)-1) as ppg
from [.\Search1.qvd](qvd);

Final:
load
*
;//where idx&amp;lt;&amp;gt;1;
load
*,
Index(Previous(ppg),ppg) as idx
Resident t Order by ppg desc;

//drop fields ppg,idx;
drop table t;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 13 Aug 2020 16:44:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735707#M722048</guid>
      <dc:creator>cwolf</dc:creator>
      <dc:date>2020-08-13T16:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove duplicate records( a bit tricky)</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735753#M722049</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/220"&gt;@cwolf&lt;/a&gt;&amp;nbsp;...This one worked...&lt;/P&gt;&lt;P&gt;Really appreciate your help!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Aug 2020 19:06:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-remove-duplicate-records-a-bit-tricky/m-p/1735753#M722049</guid>
      <dc:creator>sanjujeeboy</dc:creator>
      <dc:date>2020-08-13T19:06:59Z</dc:date>
    </item>
  </channel>
</rss>

