<?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 joining 2 tables in salesforce during load in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/joining-2-tables-in-salesforce-during-load/m-p/484079#M1229111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to Qlikview&amp;nbsp; and am bring in data from salesforce, The account and opportunity tables, I just need the location field from account. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I have so far,&amp;nbsp; but would like to join that location field, I like to add a join before the 'WHERE' section, but can't seem to do joins here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Opportunity:&lt;/P&gt;&lt;P&gt;LOAD Id AS Opp_Id,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AccountId AS AccountId,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; Amount AS Opp_Amount,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; CloseDate AS Opp_CloseDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; date(CloseDate) AS PaymentDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; year(CloseDate) AS PaymentYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; month(CloseDate) AS PaymentMonth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT * &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FROM Opportunity__c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;WHERE (Commissionable_Booking__c = true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Account:&lt;/P&gt;&lt;P&gt;LOAD Id AS AccountId,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location__c,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('Map_Ent_Region',Location__c,'Unknown') as Region;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM Account;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;-Ming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 21:26:37 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T21:26:37Z</dc:date>
    <item>
      <title>joining 2 tables in salesforce during load</title>
      <link>https://community.qlik.com/t5/QlikView/joining-2-tables-in-salesforce-during-load/m-p/484079#M1229111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm new to Qlikview&amp;nbsp; and am bring in data from salesforce, The account and opportunity tables, I just need the location field from account. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I have so far,&amp;nbsp; but would like to join that location field, I like to add a join before the 'WHERE' section, but can't seem to do joins here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Opportunity:&lt;/P&gt;&lt;P&gt;LOAD Id AS Opp_Id,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AccountId AS AccountId,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp; Amount AS Opp_Amount,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; CloseDate AS Opp_CloseDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; date(CloseDate) AS PaymentDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; year(CloseDate) AS PaymentYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; month(CloseDate) AS PaymentMonth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT * &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;FROM Opportunity__c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;WHERE (Commissionable_Booking__c = true);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Account:&lt;/P&gt;&lt;P&gt;LOAD Id AS AccountId,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location__c,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ApplyMap('Map_Ent_Region',Location__c,'Unknown') as Region;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM Account;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;-Ming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 21:26:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/joining-2-tables-in-salesforce-during-load/m-p/484079#M1229111</guid>
      <dc:creator />
      <dc:date>2026-01-26T21:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: joining 2 tables in salesforce during load</title>
      <link>https://community.qlik.com/t5/QlikView/joining-2-tables-in-salesforce-during-load/m-p/484080#M1229113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do this all the time and, although I don't see the same fields in the Account as you (I used BillingState rather than Location__c and my Opportunity__c table is called plainly Opportunity) I am able to add the Billing City to the opportunities using a Left Join a la...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Opportunity:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id as Opp_Id,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AccountId,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Amount as Opp_Amount,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CloseDate as Opp_CloseDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(ClosedDate) as PaymentDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Year(CloseDate) as PaymentYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month(CloseDate) as PaymentMonth;&lt;/P&gt;&lt;P&gt;SQL Select * From Opportunity&lt;/P&gt;&lt;P&gt;Where AccountId != Null&lt;/P&gt;&lt;P&gt;And Amount != Null;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Account:&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; BillingState,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id as AccountId;&lt;/P&gt;&lt;P&gt;SQL Select&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BillingState,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Id&lt;/P&gt;&lt;P&gt;From Account&lt;/P&gt;&lt;P&gt;Where Id In (Select AccountId From Opportunity);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added the Where clauses after thinking and seeing there were some null data. You may not want that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Dec 2013 03:54:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/joining-2-tables-in-salesforce-during-load/m-p/484080#M1229113</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2013-12-14T03:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: joining 2 tables in salesforce during load</title>
      <link>https://community.qlik.com/t5/QlikView/joining-2-tables-in-salesforce-during-load/m-p/484081#M1229115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;John,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks, that worked perfectly!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -Ming&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 18:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/joining-2-tables-in-salesforce-during-load/m-p/484081#M1229115</guid>
      <dc:creator />
      <dc:date>2013-12-17T18:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: joining 2 tables in salesforce during load</title>
      <link>https://community.qlik.com/t5/QlikView/joining-2-tables-in-salesforce-during-load/m-p/484082#M1229117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ming,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you mind to mark this thread as "answered"&amp;nbsp; by clicking "correct answer" on John's post?&amp;nbsp; The reasons:&lt;/P&gt;&lt;P&gt;- The "answerers" don't waste time reading it, thinking it is still open.&lt;/P&gt;&lt;P&gt;- It helps others to find solutions in similar situations.&lt;/P&gt;&lt;P&gt;- Gives deserved credit for the correct answer.&amp;nbsp; Unless you don't like John for some reason &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/shocked.png" /&gt;, you can always mark your own reply as "correct" - but you don't get points for this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 18:54:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/joining-2-tables-in-salesforce-during-load/m-p/484082#M1229117</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-17T18:54:23Z</dc:date>
    </item>
  </channel>
</rss>

