<?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: massive duplicate :( in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/massive-duplicate/m-p/1657806#M729886</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;INPUTS:

LOAD [Good Code], 
     [Good Name]
FROM
[.\Example(1).xlsx]
(ooxml, embedded labels, table is Document_CH21);


RESULTS:

LOAD

[Good Code],
MaxString([Good Name]) as New_GOOFNAME

Resident INPUTS

Group By [Good Code];

DROP Table INPUTS;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 509px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25549iBDB4FCBF7F742608/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 15 Dec 2019 13:42:44 GMT</pubDate>
    <dc:creator>Taoufiq_Zarra</dc:creator>
    <dc:date>2019-12-15T13:42:44Z</dc:date>
    <item>
      <title>massive duplicate :(</title>
      <link>https://community.qlik.com/t5/QlikView/massive-duplicate/m-p/1657742#M729883</link>
      <description>&lt;P&gt;Hi every buddy&lt;/P&gt;&lt;P&gt;I have a Data base that contain my product code and product name...but the problem is where my codes are unique but every unique code have so much different product name that are different in character and alphabet...for example :&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AAAA&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AAAA(B)&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AAA&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; A&lt;/P&gt;&lt;P&gt;all of that product code 1 is for one product but its name are different cause of operator's fault.&lt;/P&gt;&lt;P&gt;now the question is how can i show this product with code 1 and with just one of the product name ( it doesn't different which one)&lt;/P&gt;&lt;P&gt;sometime the difference between names are just ONE MORE SPACE.&lt;/P&gt;&lt;P&gt;please! anybody can help me?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/massive-duplicate/m-p/1657742#M729883</guid>
      <dc:creator>fnbgenius</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: massive duplicate :(</title>
      <link>https://community.qlik.com/t5/QlikView/massive-duplicate/m-p/1657766#M729884</link>
      <description>&lt;P&gt;You can apply a common name by creating a mapping table and using &lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/MappingFunctions/ApplyMap.htm" target="_self"&gt;ApplyMap&lt;/A&gt;&amp;nbsp; on your name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MapName:&lt;/P&gt;&lt;P&gt;Mapping load&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Good code],&lt;/P&gt;&lt;P&gt;[Good name]&lt;/P&gt;&lt;P&gt;From example.xls ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;[Good code],&lt;/P&gt;&lt;P&gt;Applymap('MapName',[Good code]) as [Good name]&lt;/P&gt;&lt;P&gt;From example.xls;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2019 19:55:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/massive-duplicate/m-p/1657766#M729884</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-12-14T19:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: massive duplicate :(</title>
      <link>https://community.qlik.com/t5/QlikView/massive-duplicate/m-p/1657771#M729885</link>
      <description>&lt;P&gt;use an aggregation function and a group by product ID when loading the table&amp;nbsp;&lt;/P&gt;&lt;P&gt;maxstring, minstring, firstsortedvalue, ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;(eventually calculating something about the length of the product code (len) ,...)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or... in order to get them "ALL" in one field: concat(product name,' | ') as aggregation function; so you'll get for ID 1 :&lt;SPAN&gt;AAAA|AAAA(B)|...&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;many many possibilities &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2019 22:20:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/massive-duplicate/m-p/1657771#M729885</guid>
      <dc:creator>mikaelsc</dc:creator>
      <dc:date>2019-12-14T22:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: massive duplicate :(</title>
      <link>https://community.qlik.com/t5/QlikView/massive-duplicate/m-p/1657806#M729886</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Maybe this:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;INPUTS:

LOAD [Good Code], 
     [Good Name]
FROM
[.\Example(1).xlsx]
(ooxml, embedded labels, table is Document_CH21);


RESULTS:

LOAD

[Good Code],
MaxString([Good Name]) as New_GOOFNAME

Resident INPUTS

Group By [Good Code];

DROP Table INPUTS;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 509px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25549iBDB4FCBF7F742608/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 13:42:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/massive-duplicate/m-p/1657806#M729886</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2019-12-15T13:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: massive duplicate :(</title>
      <link>https://community.qlik.com/t5/QlikView/massive-duplicate/m-p/1657815#M729887</link>
      <description>&lt;P&gt;If you can accept the Name to be a &lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/FormattingFunctions/Dual.htm" target="_self"&gt;Dual Value&lt;/A&gt;&amp;nbsp; then you can get your desired result with this simple script.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Data:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LOAD &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[Good Code], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Dual([Good Name], [Good Code]) as [Good Name]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;FROM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;[..\Downloads\Example.xlsx]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;(ooxml, embedded labels, table is Document_CH21);&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 16:59:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/massive-duplicate/m-p/1657815#M729887</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2019-12-15T16:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: massive duplicate :(</title>
      <link>https://community.qlik.com/t5/QlikView/massive-duplicate/m-p/1660137#M729888</link>
      <description>&lt;P&gt;Just check to be sure Vegar's post(s) got you what you needed for your use case?&amp;nbsp; If so, please be sure to return to things and use the Accept as Solution on the post(s) that helped you get a working solution for your use case.&amp;nbsp; If you still require further assistance, please leave a further update.&lt;/P&gt;
&lt;P&gt;Here is a Design Blog post regarding the Mapping load Vegar mentioned too:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Mapping-and-not-the-geographical-kind/ba-p/1463192" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Mapping-and-not-the-geographical-kind/ba-p/1463192&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In case you want to search further in that area, here is the base URL:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/bg-p/qlik-design-blog&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There are hundreds of posts in that area from our experts on how-to related topics for the most part, so you should find it very helpful.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Mon, 23 Dec 2019 13:57:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/massive-duplicate/m-p/1660137#M729888</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-23T13:57:59Z</dc:date>
    </item>
  </channel>
</rss>

