<?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: Self Join a Field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Self-Join-a-Field/m-p/295190#M495884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's an example with your data.&amp;nbsp; You would have to handle 2 catalogs for events because one table can't have 2 columns EventID.&amp;nbsp; If this isn't work you are looking for, please post an example of a report you would use for your analysis to understand it better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jan 2012 23:26:41 GMT</pubDate>
    <dc:creator>pover</dc:creator>
    <dc:date>2012-01-20T23:26:41Z</dc:date>
    <item>
      <title>Self Join a Field</title>
      <link>https://community.qlik.com/t5/QlikView/Self-Join-a-Field/m-p/295187#M495881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table with two fields, contact ID and event ID.&amp;nbsp; I'm trying to join the event ID to itself, per contact ID.&lt;/P&gt;&lt;P&gt;From the example below, I have one contact who has interacted with three events, A,B,C.&amp;nbsp; I would like to build the event pairs as seen in the bottom table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="474"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl68" height="20" width="100"&gt;Contact ID&lt;/TD&gt;&lt;TD class="xl68" width="105"&gt;Event ID&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" colspan="3" height="28"&gt;Result I'm trying to create:&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="20"&gt;Contact ID&lt;/TD&gt;&lt;TD class="xl67"&gt;Event ID&lt;/TD&gt;&lt;TD class="xl67"&gt;Event ID&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;B&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;B&lt;/TD&gt;&lt;TD class="xl65"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;C&lt;/TD&gt;&lt;TD class="xl65"&gt;A&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="20"&gt;1&lt;/TD&gt;&lt;TD class="xl65"&gt;C&lt;/TD&gt;&lt;TD class="xl65"&gt;B&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 19:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Self-Join-a-Field/m-p/295187#M495881</guid>
      <dc:creator />
      <dc:date>2012-01-20T19:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Self Join a Field</title>
      <link>https://community.qlik.com/t5/QlikView/Self-Join-a-Field/m-p/295188#M495882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's an example of a left join that is later filtered to remove rows with the same values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 21:37:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Self-Join-a-Field/m-p/295188#M495882</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2012-01-20T21:37:37Z</dc:date>
    </item>
    <item>
      <title>Self Join a Field</title>
      <link>https://community.qlik.com/t5/QlikView/Self-Join-a-Field/m-p/295189#M495883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help and the sample, Karl.&amp;nbsp; Although the example is interesting, it seems designed for a slightly different problem than the one I'm considering.&amp;nbsp; I'm looking for an QV expression that will accept my two columns of data (contact ID and event ID) and produce all the event pair combinations that a given contact ID has interacted with.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data will allow my team to segment our customer base by similarity of attended events.&amp;nbsp; I think QV could save me hours of off-line time if I could find an answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 22:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Self-Join-a-Field/m-p/295189#M495883</guid>
      <dc:creator />
      <dc:date>2012-01-20T22:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Self Join a Field</title>
      <link>https://community.qlik.com/t5/QlikView/Self-Join-a-Field/m-p/295190#M495884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's an example with your data.&amp;nbsp; You would have to handle 2 catalogs for events because one table can't have 2 columns EventID.&amp;nbsp; If this isn't work you are looking for, please post an example of a report you would use for your analysis to understand it better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2012 23:26:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Self-Join-a-Field/m-p/295190#M495884</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2012-01-20T23:26:41Z</dc:date>
    </item>
  </channel>
</rss>

