<?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 Multiple Joins to one field in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-Joins-to-one-field/m-p/341871#M126268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear comunity,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In some cases, I needed to join a especific field to a table, in different conditions and instances. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let AP=Month#(Today());&lt;/P&gt;&lt;P&gt;Let PP=Month#(Today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;From Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Actual Period'&amp;nbsp; as Period_Name&lt;/P&gt;&lt;P&gt;Resident Sales&lt;/P&gt;&lt;P&gt;Where Month=$(AP);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I want to add Period_Name for 'Past Period'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Past Period'&amp;nbsp; as Period_Name&lt;/P&gt;&lt;P&gt;Resident Sales&lt;/P&gt;&lt;P&gt;Where Month=$(PP);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table has already field Period_Name, and doesn't join it, just search Month field with $(PP) value and 'Past Period' in Period_Name, that obviously doesn't exists. In this simple example, i could resolve with If sentence in Period_Name assignation. But, I need to know how can I Join a field in different instances, for use it in other projects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Apr 2012 20:06:27 GMT</pubDate>
    <dc:creator>sebastiandperei</dc:creator>
    <dc:date>2012-04-08T20:06:27Z</dc:date>
    <item>
      <title>Multiple Joins to one field</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Joins-to-one-field/m-p/341871#M126268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear comunity,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In some cases, I needed to join a especific field to a table, in different conditions and instances. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let AP=Month#(Today());&lt;/P&gt;&lt;P&gt;Let PP=Month#(Today());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sales&lt;/P&gt;&lt;P&gt;From Sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Actual Period'&amp;nbsp; as Period_Name&lt;/P&gt;&lt;P&gt;Resident Sales&lt;/P&gt;&lt;P&gt;Where Month=$(AP);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I want to add Period_Name for 'Past Period'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Past Period'&amp;nbsp; as Period_Name&lt;/P&gt;&lt;P&gt;Resident Sales&lt;/P&gt;&lt;P&gt;Where Month=$(PP);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table has already field Period_Name, and doesn't join it, just search Month field with $(PP) value and 'Past Period' in Period_Name, that obviously doesn't exists. In this simple example, i could resolve with If sentence in Period_Name assignation. But, I need to know how can I Join a field in different instances, for use it in other projects. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Apr 2012 20:06:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Joins-to-one-field/m-p/341871#M126268</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-04-08T20:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Joins to one field</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Joins-to-one-field/m-p/341872#M126269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution is to build a temp table of the data you want to join and then do one Join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Period_temp:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Actual Period'&amp;nbsp; as Period_Name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Resident Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Where Month=$(AP)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Load&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Past Period'&amp;nbsp; as Period_Name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Resident Sales&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Where Month=$(PP)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Left Join (Sales)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD * &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;RESIDENT Period_temp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;DROP TABLE Period_temp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Apr 2012 23:08:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Joins-to-one-field/m-p/341872#M126269</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-04-08T23:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Joins to one field</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Joins-to-one-field/m-p/341873#M126270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rob!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2012 14:29:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Joins-to-one-field/m-p/341873#M126270</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-04-10T14:29:43Z</dc:date>
    </item>
  </channel>
</rss>

