<?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 How do i remove duplicates on this load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314906#M408349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is a table i have by concatenating two temp tables together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i get duplicate rows. like below..&amp;nbsp; (3 lines for&amp;nbsp;&amp;nbsp; bisqe-7335-0001707-007335-hash)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how can i do it where i would only get one.. and preferably the one that has a value in the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://148" rel="nofollow" target="_blank"&gt;http://148&lt;/A&gt;&lt;SPAN&gt; section?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dup.JPG" class="jive-image image-1" height="170" src="https://community.qlik.com/legacyfs/online/158380_dup.JPG" style="height: 170px; width: 798.485px;" width="798" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Mar 2017 20:16:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-30T20:16:14Z</dc:date>
    <item>
      <title>How do i remove duplicates on this load</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314906#M408349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is a table i have by concatenating two temp tables together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i get duplicate rows. like below..&amp;nbsp; (3 lines for&amp;nbsp;&amp;nbsp; bisqe-7335-0001707-007335-hash)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;how can i do it where i would only get one.. and preferably the one that has a value in the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://148" rel="nofollow" target="_blank"&gt;http://148&lt;/A&gt;&lt;SPAN&gt; section?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dup.JPG" class="jive-image image-1" height="170" src="https://community.qlik.com/legacyfs/online/158380_dup.JPG" style="height: 170px; width: 798.485px;" width="798" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 20:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314906#M408349</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-30T20:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do i remove duplicates on this load</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314907#M408350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="Code"&gt;Load Field1,&lt;/P&gt;&lt;P class="Code"&gt;Field2,&lt;/P&gt;&lt;P class="Code"&gt;Field3,&lt;/P&gt;&lt;P class="Code"&gt;Field4,&lt;/P&gt;&lt;P class="Code"&gt;firstsortedvalue(Field5, Len(Field5)*RowNo()+RowNo(),-1) as URL&lt;/P&gt;&lt;P class="Code"&gt;Resident Table1&lt;/P&gt;&lt;P class="Code"&gt;group by Field1,Field2, Field3, Field4;&lt;/P&gt;&lt;P class="Code"&gt;&lt;/P&gt;&lt;P class="Code"&gt; Len(Field5)*RowNo()+RowNo() will generate a unique value for each row within the matching set.&lt;/P&gt;&lt;P class="Code"&gt;-1 says sort in descending order, so largest number will be returned, likely one that has a URL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Mar 2017 21:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314907#M408350</guid>
      <dc:creator>tschullo</dc:creator>
      <dc:date>2017-03-30T21:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do i remove duplicates on this load</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314908#M408351</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 keep getting an error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join(FabImages)&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;bcItemCode as BCItemCode,&lt;/P&gt;&lt;P&gt;BCColorCode as BCColorcode,&lt;/P&gt;&lt;P&gt;Swatch as swlocation,&lt;/P&gt;&lt;P&gt;firstsortedvalue(Swatch,Len(Swatch)*RowNo()+RowNo(),-1) as swlocation2,&lt;/P&gt;&lt;P&gt;hash128(bcItemCode,BCColorCode) as fabcolor&lt;/P&gt;&lt;P&gt;resident temp14;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 18:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314908#M408351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-31T18:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do i remove duplicates on this load</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314909#M408352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You must have the Group By statement or it will not work&lt;/P&gt;&lt;P&gt;I'm not sure what you are joining to or on&lt;/P&gt;&lt;P&gt;Your group by needs to be by all your columns except the one you are sorting&lt;/P&gt;&lt;P&gt;and if you are pulling Swatch as swlocation AND sorting by it, it may not like that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 18:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314909#M408352</guid>
      <dc:creator>tschullo</dc:creator>
      <dc:date>2017-03-31T18:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do i remove duplicates on this load</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314910#M408353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yup.. i needed the grouping..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it works.. it narrowed it down.. but for some reason im still getting blanks.. even if i have one with a link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so close..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="dup2.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/158556_dup2.JPG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried grouping by the hash and it doesnt work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;join(FabImages)&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;bcItemCode as BCItemCode,&lt;/P&gt;&lt;P&gt;BCColorCode as BCColorcode,&lt;/P&gt;&lt;P&gt;//Swatch as swlocation,&lt;/P&gt;&lt;P&gt;firstsortedvalue(Swatch,Len(Swatch)*RowNo()+RowNo(),-1) as swlocation,&lt;/P&gt;&lt;P&gt;hash128(bcItemCode,BCColorCode) as fabcolor&lt;/P&gt;&lt;P&gt;resident temp14&lt;/P&gt;&lt;P&gt;group by bcItemCode,BCColorCode;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 20:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314910#M408353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-31T20:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do i remove duplicates on this load</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314911#M408354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the only bummer is that if you have two winners, i.e. your sort value is the same for your two top records, it returns NULL.&lt;/P&gt;&lt;P&gt;So I gave you a start at generating a unique sort value, but you may need to test out and display those values so you can see if you are getting dupes and if so maybe come up with a better formula for a sort value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 20:29:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314911#M408354</guid>
      <dc:creator>tschullo</dc:creator>
      <dc:date>2017-03-31T20:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do i remove duplicates on this load</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314912#M408355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think what I've done in the past is tantamount to "Len(string).rowNo()"&lt;/P&gt;&lt;P&gt;so:&lt;/P&gt;&lt;P&gt;0.1&lt;/P&gt;&lt;P&gt;0.2&lt;/P&gt;&lt;P&gt;5.3&lt;/P&gt;&lt;P&gt;5.4&lt;/P&gt;&lt;P&gt;22.5&lt;/P&gt;&lt;P&gt;23.6&lt;/P&gt;&lt;P&gt;23.7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you will always have a unique winner, in this case 23.7 - I'd have to go look at how I built that float.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 20:34:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314912#M408355</guid>
      <dc:creator>tschullo</dc:creator>
      <dc:date>2017-03-31T20:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do i remove duplicates on this load</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314913#M408356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i think the issue is null is there.. and its not being sorted..&amp;nbsp; i did the show value thing..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all the dups are null..&amp;nbsp; and the other record is max value from formula... so im not sure how to fix this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or i need to do it in another temp and do it from there&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 21:10:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314913#M408356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-31T21:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do i remove duplicates on this load</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314914#M408357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;replace null values with 0's . try len(trim(field)=0,'0',field)&amp;nbsp;&amp;nbsp; and then sort&lt;/P&gt;&lt;P&gt;you can also use expression in place of field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Apr 2017 08:11:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-remove-duplicates-on-this-load/m-p/1314914#M408357</guid>
      <dc:creator>stonecold111</dc:creator>
      <dc:date>2017-04-01T08:11:15Z</dc:date>
    </item>
  </channel>
</rss>

