<?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 make a self-join in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-i-make-a-self-join/m-p/142192#M21735</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please, take a look into attached example.&lt;/P&gt;&lt;P&gt;I hope it will help you to find the proper solution.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;JTPro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2009 16:53:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-04-27T16:53:19Z</dc:date>
    <item>
      <title>How do i make a self-join</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-make-a-self-join/m-p/142188#M21731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to join a table to it self.&lt;/P&gt;&lt;P&gt;In my table i would have these records:&lt;/P&gt;&lt;P&gt;Order Company Invoice&lt;/P&gt;&lt;P&gt;1 0 99&lt;/P&gt;&lt;P&gt;1 1 55&lt;/P&gt;&lt;P&gt;The result should look like this:&lt;/P&gt;&lt;P&gt;Order Company Invoice RelInvoice&lt;/P&gt;&lt;P&gt;1 0 99 -&lt;/P&gt;&lt;P&gt;1 1 55 99&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, that i only want a value in RelInvoice, if Company is different from 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 14:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-make-a-self-join/m-p/142188#M21731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-23T14:39:17Z</dc:date>
    </item>
    <item>
      <title>How do i make a self-join</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-make-a-self-join/m-p/142189#M21732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi HintzeXyCon,&lt;/P&gt;&lt;P&gt;So if Company changes from 0 to something else you want to load the Invoice from the row above as RelInvoice?&lt;/P&gt;&lt;P&gt;In that case you can use the peek() function.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;if(peek('Company')&amp;lt;&amp;gt;0,peek('Invoice')) as RelInvoice&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 15:07:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-make-a-self-join/m-p/142189#M21732</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-23T15:07:46Z</dc:date>
    </item>
    <item>
      <title>How do i make a self-join</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-make-a-self-join/m-p/142190#M21733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I forgot to mention that the "Order" has to match..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 16:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-make-a-self-join/m-p/142190#M21733</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-27T16:29:33Z</dc:date>
    </item>
    <item>
      <title>How do i make a self-join</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-make-a-self-join/m-p/142191#M21734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;read data orderd by Order asc, then :&lt;/P&gt;&lt;P&gt;if(Order&amp;lt;&amp;gt;peek('Order'),Invoice,if peek('Company')&amp;lt;&amp;gt;0,peek('Invoice'))) as RelInvoice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 16:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-make-a-self-join/m-p/142191#M21734</guid>
      <dc:creator>yblake</dc:creator>
      <dc:date>2009-04-27T16:36:05Z</dc:date>
    </item>
    <item>
      <title>How do i make a self-join</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-i-make-a-self-join/m-p/142192#M21735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please, take a look into attached example.&lt;/P&gt;&lt;P&gt;I hope it will help you to find the proper solution.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;JTPro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2009 16:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-i-make-a-self-join/m-p/142192#M21735</guid>
      <dc:creator />
      <dc:date>2009-04-27T16:53:19Z</dc:date>
    </item>
  </channel>
</rss>

