<?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: Displaying only Unique combinations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270543#M496183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;INNER JOIN (Combos)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD *&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;WHERE item1 &amp;lt; item2;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2011 22:07:30 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2011-11-30T22:07:30Z</dc:date>
    <item>
      <title>Displaying only Unique combinations</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270542#M496182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been trying to create a .qvw to display the unique pairs or combinations or items in a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table looks as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basket, Item&lt;/P&gt;&lt;P&gt;1,M&lt;/P&gt;&lt;P&gt;1,E&lt;/P&gt;&lt;P&gt;2,E&lt;/P&gt;&lt;P&gt;2,B&lt;/P&gt;&lt;P&gt;3,M&lt;/P&gt;&lt;P&gt;3,B&lt;/P&gt;&lt;P&gt;4,M&lt;/P&gt;&lt;P&gt;4,E&lt;/P&gt;&lt;P&gt;5,M&lt;/P&gt;&lt;P&gt;5,E&lt;/P&gt;&lt;P&gt;5,B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have done is loaded the table twice and then inner joined the two tables on basket.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Combos:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;basket,&lt;/P&gt;&lt;P&gt;item as item1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inner join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;basket,&lt;/P&gt;&lt;P&gt;item as item2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives me all of the possible combinations with one issue.&amp;nbsp; I get the M,E combination as well as the E,M combination.&amp;nbsp; So when I put this into a Pivot table I get 2 of the same combination with the same count.&amp;nbsp; I need to exclude the duplicate either in the load or in the chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 21:41:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270542#M496182</guid>
      <dc:creator />
      <dc:date>2011-11-30T21:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying only Unique combinations</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270543#M496183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;INNER JOIN (Combos)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;LOAD *&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;WHERE item1 &amp;lt; item2;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 22:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270543#M496183</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-11-30T22:07:30Z</dc:date>
    </item>
    <item>
      <title>Displaying only Unique combinations</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270544#M496184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm a little confused.&amp;nbsp; Is this a replacement join or another join to be put at the end?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 22:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270544#M496184</guid>
      <dc:creator />
      <dc:date>2011-11-30T22:51:08Z</dc:date>
    </item>
    <item>
      <title>Displaying only Unique combinations</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270545#M496185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be put at the end.&amp;nbsp; You can't compare the items until you've already done the join that creates item2 and puts it in the Combo table.&amp;nbsp; So as a first step, you have to duplicate all the combos.&amp;nbsp; Then you inner join like this to keep only one copy.&amp;nbsp; I haven't thought of a way to do it in just a single step, though perhaps there is one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 22:57:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270545#M496185</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-11-30T22:57:25Z</dc:date>
    </item>
    <item>
      <title>Displaying only Unique combinations</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270546#M496186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is an issue for some reason.&amp;nbsp; When I create the combos table it is using a resident table.&amp;nbsp; When trying to add an inner join to the Combos table it says that the table can't be found.&amp;nbsp; Is it possible to inner join to a table created from a resident table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 23:01:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270546#M496186</guid>
      <dc:creator />
      <dc:date>2011-11-30T23:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying only Unique combinations</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270547#M496187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is possible to inner join to any table, including one created from some other resident table.&amp;nbsp; AH!&amp;nbsp; I made a stupid mistake, one I make in my own applications all the time.&amp;nbsp; I forgot to say what we're loading from.&amp;nbsp; I assume that's the problem, and if it's not, it's a big problem that needs to be fixed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;INNER JOIN (Combos)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;LOAD *&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-family: courier new, courier;"&gt;RESIDENT Combos&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-family: courier new, courier;"&gt;WHERE item1 &amp;lt; item2;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 23:04:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270547#M496187</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-11-30T23:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Displaying only Unique combinations</title>
      <link>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270548#M496188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To compound that i had the incorrect Case as well doh!!&amp;nbsp; Now my issue is that there is duplication. It is definitely related to my data since on a small test set it works perfect.&amp;nbsp; Thanks John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2011 23:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Displaying-only-Unique-combinations/m-p/270548#M496188</guid>
      <dc:creator />
      <dc:date>2011-11-30T23:17:30Z</dc:date>
    </item>
  </channel>
</rss>

