<?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 Calling two tables in the script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calling-two-tables-in-the-script/m-p/339137#M1171761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. SalesPersonName and OrderCreateName are actually on opposite ends of a star schema. There are two tables in between them. I have attached a diagram. I appreciate any insight. Thanks!&lt;IMG alt="SalesPersonName to OrderCreateName.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/15521_SalesPersonName+to+OrderCreateName.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2012 13:23:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-06T13:23:44Z</dc:date>
    <item>
      <title>Calling two tables in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-two-tables-in-the-script/m-p/339135#M1171759</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;I run a binary load to pull multiple tables in QV. In the script (after the binary) I want to create a feild that looks at the "SalesPersonName" feild and if it equals a certain name I want the output to be "OrderCreateName". Otherwise I want "SalesPersonName" as the output. SalesPersonName and OrderCreateName are on two separate tables. Here is the current script I am trying with out any luck. Any suggestions would be great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(SalesPersonName='Smith, Jeff' ,OrderCreateName,SalesPersonName) as Name_Master&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Resident dimSales;&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>Tue, 05 Jun 2012 20:12:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-two-tables-in-the-script/m-p/339135#M1171759</guid>
      <dc:creator />
      <dc:date>2012-06-05T20:12:07Z</dc:date>
    </item>
    <item>
      <title>Calling two tables in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-two-tables-in-the-script/m-p/339136#M1171760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What links dimSales to the table that contains OrderCreateName? Is there a field in common like "OrderId"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 00:21:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-two-tables-in-the-script/m-p/339136#M1171760</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-06-06T00:21:54Z</dc:date>
    </item>
    <item>
      <title>Calling two tables in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-two-tables-in-the-script/m-p/339137#M1171761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. SalesPersonName and OrderCreateName are actually on opposite ends of a star schema. There are two tables in between them. I have attached a diagram. I appreciate any insight. Thanks!&lt;IMG alt="SalesPersonName to OrderCreateName.jpg" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/15521_SalesPersonName+to+OrderCreateName.jpg" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 13:23:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-two-tables-in-the-script/m-p/339137#M1171761</guid>
      <dc:creator />
      <dc:date>2012-06-06T13:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Calling two tables in the script</title>
      <link>https://community.qlik.com/t5/QlikView/Calling-two-tables-in-the-script/m-p/339138#M1171762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to do this as a calculated demension? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; font-family: Arial;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Aggr( if&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;( SalesPersonName='Smith, Jeff' ,OrderCreateName,SalesPersonName),SalesPersonName&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 19:31:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calling-two-tables-in-the-script/m-p/339138#M1171762</guid>
      <dc:creator />
      <dc:date>2012-06-13T19:31:21Z</dc:date>
    </item>
  </channel>
</rss>

