<?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 Hello and a few EG questions in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78064#M7684</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Hi, I'm new to SAS, just completed Programming 1 and VA Fast Track and gained access to EG. While I wait for The Little SAS Book for Enterprise to arrive in the mail, I have a few questions about joining tables in EG. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Please correct my nomenclature or terminology when possible, so I can improve my knowledge of this platform. If anything is unclear, let me know and I will do my best.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;My usual MO is to use Excel to join and lookup values to build tables from several .csv files. I have very adept at performing these actions, and while sometimes slow, it does the job. I have had it referred to as the tradesman way of doing things, and haven't got a great deal of experience with Access, SQL or relational databases, although I can waddle my way through.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;I appreciate the power and might of SAS, and would like to start performing these actions in EG for myself, with a view that other non SAS users can run these as a stored process or project as backup in a pinch.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Ok, here is where I am at.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Importing Data - all good&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Formats, Informats and Labels - all good &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Converting to SAS datasets - all good, I have converted my lookup files into SAS sets, as well as my source files. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Calculated fields - ok, still working on it (missing values had me for a sec)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Joining Tables - hmmmm not working the same way as I thought it would&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Example – Old Method join&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;I concatenate three columns into one value in all tables, to get one index value or primary key. Starting the query the tbl_Source1, I use this value to vlook other tables to return values to separate columns. Let's call it Key (var1,var2,var3).I have simplified it down to two returned values and a few other calc fields and a value lookup.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Source1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" class="MsoNormalTable" style="width: 612px; border: 1pt solid black;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 78.7pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="105"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Key (var1,var2,var3)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 29.7pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="40"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="line-height: 115%; color: white; font-family: 'Arial','sans-serif';"&gt;var1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 34.4pt; background: none repeat scroll 0% 0% #6690bc; padding: 0.75pt;" width="46"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="line-height: 115%; color: white; font-family: 'Arial','sans-serif';"&gt;var2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 33.1pt; background: none repeat scroll 0% 0% #6690bc; padding: 0.75pt;" width="44"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="line-height: 115%; color: white; font-family: 'Arial','sans-serif';"&gt;var3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 56.2pt; background: none repeat scroll 0% 0% #6690bc; padding: 0.75pt;" valign="top" width="75"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3_literal&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 60.2pt; background: none repeat scroll 0% 0% #6690bc; padding: 0.75pt;" width="80"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;X&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 30.35pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="40"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Y&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 53.5pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="71"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Calc_Field&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 67.65pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="90"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Calc_Field2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 78.7pt; padding: 1.5pt;" width="105"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;redwhiteblue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 29.7pt; padding: 1.5pt;" width="40"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="line-height: 115%; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Red&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 34.4pt; padding: 0.75pt;" width="46"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="line-height: 115%; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;White&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 33.1pt; padding: 0.75pt;" width="44"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="line-height: 115%; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Blue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 56.2pt; padding: 0.75pt;" valign="top" width="75"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Turquoise&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 60.2pt; padding: 0.75pt;" width="80"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;1 &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 30.35pt; padding: 1.5pt;" width="40"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 53.5pt; padding: 1.5pt;" width="71"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;=(X+Y)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 67.65pt; padding: 1.5pt;" width="90"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;=(X*20)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Source2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" class="MsoNormalTable" style="border: 1pt solid black; width: 355px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 164.55pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="219"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 96.95pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="129"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;X&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 164.55pt; padding: 1.5pt;" width="219"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt; redwhiteblue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 96.95pt; padding: 1.5pt;" width="129"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Source3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" class="MsoNormalTable" style="width: 355px; border: 1pt solid black;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 164.55pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="219"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 96.95pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="129"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Y&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 164.55pt; padding: 1.5pt;" width="219"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt; redwhiteblue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 96.95pt; padding: 1.5pt;" width="129"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Lookup1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" class="MsoNormalTable" style="border: 1pt solid black; width: 194px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 51.15pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="68"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 89.85pt; background: none repeat scroll 0% 0% #6690bc; padding: 0.75pt;" valign="top" width="120"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3_literal&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 51.15pt; padding: 1.5pt;" width="68"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Blue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 89.85pt; padding: 0.75pt;" valign="top" width="120"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Turquoise&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;New Method (the way I see it)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Using the query builder, I have tried to perform this however this seems to drop columns, and I can't see with clear visual inference when a value does not match to the other sets.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Q2. What type of join would I require to perform this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;I have tried several methods, and I don’t seem to be hitting the mark. I am performing all joins in the one query based on &lt;STRONG&gt;tbl_source1&lt;/STRONG&gt;. I have had success with the calc fields using advanced expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_source1 (post query)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE align="left" border="1" cellpadding="0" class="MsoNormalTable" style="width: 601px; border: 1pt solid black; margin-left: 6.75pt; margin-right: 6.75pt;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 0.75pt;" valign="top"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3_literal&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;X&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Y&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Calc_Field&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Calc_Field2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Red&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;White&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Blue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 0.75pt;" valign="top"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Turquoise&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;sum(X,Y)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;(X*20)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Source2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" class="MsoNormalTable" style="width: 516px; border: 1pt solid black;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var1 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;x&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Red&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;White&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Blue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_source3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" class="MsoNormalTable" style="width: 513px; border: 1pt solid black;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;y&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Red&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;White&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Blue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Lookup1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" class="MsoNormalTable" style="border: 1pt solid black; width: 194px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 51.15pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="68"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 89.85pt; background: none repeat scroll 0% 0% #6690bc; padding: 0.75pt;" valign="top" width="120"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3_literal&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 51.15pt; padding: 1.5pt;" width="68"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Blue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 89.85pt; padding: 0.75pt;" valign="top" width="120"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Turquoise&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Apart from the join, I would like to see other results as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;If the three values (var1,var2,var3) is in &lt;STRONG&gt;tbl_source1, &lt;/STRONG&gt;are not in &lt;STRONG&gt;tbl_source2 &lt;/STRONG&gt;or &lt;STRONG&gt;tbl_source3, &lt;/STRONG&gt;output a subset with these observations (non-matched records).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;If the three values (var1,var2,var3) is in &lt;STRONG&gt;tbl_source2 or tbl_source3 &lt;/STRONG&gt;but not in&lt;STRONG&gt; tbl_source1, &lt;/STRONG&gt;output two subsets with these observations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;If var1, var2, var3 as separate and individual values appear don’t appear in all tables, create a method to identify them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;And for the lookup join (similar to last)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;If var3 presents in any source table, but does not appear in &lt;STRONG&gt;tbl_Lookup1&lt;/STRONG&gt;, create a subset of records, or identify values that are in the source files but does not appear in the lookup. A validation that the lookup contains all the values is required.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of this was covered in Prog 1, however not in this detail, and not in EG. Any guidance would be appreciated,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Jul 2013 03:01:31 GMT</pubDate>
    <dc:creator>Tucky</dc:creator>
    <dc:date>2013-07-14T03:01:31Z</dc:date>
    <item>
      <title>Hello and a few EG questions</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78064#M7684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Hi, I'm new to SAS, just completed Programming 1 and VA Fast Track and gained access to EG. While I wait for The Little SAS Book for Enterprise to arrive in the mail, I have a few questions about joining tables in EG. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Please correct my nomenclature or terminology when possible, so I can improve my knowledge of this platform. If anything is unclear, let me know and I will do my best.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;My usual MO is to use Excel to join and lookup values to build tables from several .csv files. I have very adept at performing these actions, and while sometimes slow, it does the job. I have had it referred to as the tradesman way of doing things, and haven't got a great deal of experience with Access, SQL or relational databases, although I can waddle my way through.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;I appreciate the power and might of SAS, and would like to start performing these actions in EG for myself, with a view that other non SAS users can run these as a stored process or project as backup in a pinch.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Ok, here is where I am at.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Importing Data - all good&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Formats, Informats and Labels - all good &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Converting to SAS datasets - all good, I have converted my lookup files into SAS sets, as well as my source files. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Calculated fields - ok, still working on it (missing values had me for a sec)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Joining Tables - hmmmm not working the same way as I thought it would&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Example – Old Method join&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;I concatenate three columns into one value in all tables, to get one index value or primary key. Starting the query the tbl_Source1, I use this value to vlook other tables to return values to separate columns. Let's call it Key (var1,var2,var3).I have simplified it down to two returned values and a few other calc fields and a value lookup.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Source1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" class="MsoNormalTable" style="width: 612px; border: 1pt solid black;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 78.7pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="105"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Key (var1,var2,var3)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 29.7pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="40"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="line-height: 115%; color: white; font-family: 'Arial','sans-serif';"&gt;var1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 34.4pt; background: none repeat scroll 0% 0% #6690bc; padding: 0.75pt;" width="46"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="line-height: 115%; color: white; font-family: 'Arial','sans-serif';"&gt;var2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 33.1pt; background: none repeat scroll 0% 0% #6690bc; padding: 0.75pt;" width="44"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="line-height: 115%; color: white; font-family: 'Arial','sans-serif';"&gt;var3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 56.2pt; background: none repeat scroll 0% 0% #6690bc; padding: 0.75pt;" valign="top" width="75"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3_literal&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 60.2pt; background: none repeat scroll 0% 0% #6690bc; padding: 0.75pt;" width="80"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;X&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 30.35pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="40"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Y&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 53.5pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="71"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Calc_Field&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 67.65pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="90"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Calc_Field2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 78.7pt; padding: 1.5pt;" width="105"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;redwhiteblue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 29.7pt; padding: 1.5pt;" width="40"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="line-height: 115%; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Red&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 34.4pt; padding: 0.75pt;" width="46"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="line-height: 115%; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;White&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 33.1pt; padding: 0.75pt;" width="44"&gt;&lt;P align="center" class="MsoNormal" style="text-align: center;"&gt;&lt;SPAN style="line-height: 115%; font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Blue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 56.2pt; padding: 0.75pt;" valign="top" width="75"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Turquoise&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 60.2pt; padding: 0.75pt;" width="80"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;1 &lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 30.35pt; padding: 1.5pt;" width="40"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 53.5pt; padding: 1.5pt;" width="71"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;=(X+Y)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 67.65pt; padding: 1.5pt;" width="90"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;=(X*20)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Source2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" class="MsoNormalTable" style="border: 1pt solid black; width: 355px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 164.55pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="219"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 96.95pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="129"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;X&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 164.55pt; padding: 1.5pt;" width="219"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt; redwhiteblue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 96.95pt; padding: 1.5pt;" width="129"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Source3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" class="MsoNormalTable" style="width: 355px; border: 1pt solid black;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 164.55pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="219"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;key&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 96.95pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="129"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Y&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 164.55pt; padding: 1.5pt;" width="219"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt; redwhiteblue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 96.95pt; padding: 1.5pt;" width="129"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Lookup1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" class="MsoNormalTable" style="border: 1pt solid black; width: 194px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 51.15pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="68"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 89.85pt; background: none repeat scroll 0% 0% #6690bc; padding: 0.75pt;" valign="top" width="120"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3_literal&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 51.15pt; padding: 1.5pt;" width="68"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Blue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 89.85pt; padding: 0.75pt;" valign="top" width="120"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Turquoise&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;New Method (the way I see it)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Using the query builder, I have tried to perform this however this seems to drop columns, and I can't see with clear visual inference when a value does not match to the other sets.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Q2. What type of join would I require to perform this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;I have tried several methods, and I don’t seem to be hitting the mark. I am performing all joins in the one query based on &lt;STRONG&gt;tbl_source1&lt;/STRONG&gt;. I have had success with the calc fields using advanced expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_source1 (post query)&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE align="left" border="1" cellpadding="0" class="MsoNormalTable" style="width: 601px; border: 1pt solid black; margin-left: 6.75pt; margin-right: 6.75pt;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 0.75pt;" valign="top"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3_literal&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;X&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Y&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Calc_Field&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;Calc_Field2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Red&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;White&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Blue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 0.75pt;" valign="top"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Turquoise&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;sum(X,Y)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;(X*20)&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Source2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" class="MsoNormalTable" style="width: 516px; border: 1pt solid black;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var1 &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;x&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Red&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;White&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Blue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_source3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" class="MsoNormalTable" style="width: 513px; border: 1pt solid black;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var2&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;y&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Red&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;White&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Blue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 1.5pt;"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Lookup1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" class="MsoNormalTable" style="border: 1pt solid black; width: 194px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 51.15pt; background: none repeat scroll 0% 0% #6690bc; padding: 1.5pt;" width="68"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 89.85pt; background: none repeat scroll 0% 0% #6690bc; padding: 0.75pt;" valign="top" width="120"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="color: white; font-family: 'Arial','sans-serif';"&gt;var3_literal&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="width: 51.15pt; padding: 1.5pt;" width="68"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Blue&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="width: 89.85pt; padding: 0.75pt;" valign="top" width="120"&gt;&lt;P align="center" class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Turquoise&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;Apart from the join, I would like to see other results as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;If the three values (var1,var2,var3) is in &lt;STRONG&gt;tbl_source1, &lt;/STRONG&gt;are not in &lt;STRONG&gt;tbl_source2 &lt;/STRONG&gt;or &lt;STRONG&gt;tbl_source3, &lt;/STRONG&gt;output a subset with these observations (non-matched records).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;If the three values (var1,var2,var3) is in &lt;STRONG&gt;tbl_source2 or tbl_source3 &lt;/STRONG&gt;but not in&lt;STRONG&gt; tbl_source1, &lt;/STRONG&gt;output two subsets with these observations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;If var1, var2, var3 as separate and individual values appear don’t appear in all tables, create a method to identify them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;And for the lookup join (similar to last)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="MsoNormal" style="line-height: normal;"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;If var3 presents in any source table, but does not appear in &lt;STRONG&gt;tbl_Lookup1&lt;/STRONG&gt;, create a subset of records, or identify values that are in the source files but does not appear in the lookup. A validation that the lookup contains all the values is required.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of this was covered in Prog 1, however not in this detail, and not in EG. Any guidance would be appreciated,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jul 2013 03:01:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78064#M7684</guid>
      <dc:creator>Tucky</dc:creator>
      <dc:date>2013-07-14T03:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hello and a few EG questions</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78065#M7685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Great to see you online &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default join type in Enterprise Guide is the inner join, which means the rows that are returned are where there are matches from both tables. This obviously isn't what you are after so you need to change the join type. In the Query Builder you go into the join tables window and you can double click on the join circle/Venn diagram to change this or right mouse click and select the option. I think what you are after is a full join on the tables and then you want to select the rows of interest using the filter tab. If you are joining your 3 tables at the same time, and do a full join on each of the joins then you will be getting rows that match and don't match from ALL tables. You can then use the filter tab to subset the rows based on the criteria you want.&lt;/P&gt;&lt;P&gt;E.g. &lt;EM style="font-size: 10pt; font-family: 'Arial','sans-serif';"&gt;If the three values (var1,var2,var3) is in &lt;STRONG&gt;tbl_source1, &lt;/STRONG&gt;are not in &lt;STRONG&gt;tbl_source2 &lt;/STRONG&gt;or &lt;STRONG&gt;tbl_source3, &lt;/STRONG&gt;output a subset with these observations (non-matched records). - &lt;/EM&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt;To do this then you would&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; font-size: 10pt;"&gt; need to specify in the filter tab, (&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Source2.var1 is missing&lt;/STRONG&gt; &lt;STRONG&gt;and &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Source2.var2 is missing and &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Source2.var3 is missing&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;STRONG&gt;or (&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Source3.var1 is missing and &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Source3.var2 is missing and &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;tbl_Source3.var3 is missing)&lt;/STRONG&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;or you can do the subsetting on the values of the columns from tbl_Source2 and tbl_Source3 that are missing (X and Y), if it is those values that determine non-matches.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Similarly for your other queries, look at using an outer join type with filtering. Here's an EG 4.1 paper that you might find useful as a reference: &lt;/SPAN&gt;&lt;A href="http://www.scsug.org/SCSUGProceedings/2010/Schlechte/Using_Enterprise_Guide_for_Table_Joins_and_Sets.pdf" title="http://www.scsug.org/SCSUGProceedings/2010/Schlechte/Using_Enterprise_Guide_for_Table_Joins_and_Sets.pdf"&gt;http://www.scsug.org/SCSUGProceedings/2010/Schlechte/Using_Enterprise_Guide_for_Table_Joins_and_Sets.pdf&lt;/A&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;As you mentioned you have done Prog 1, then I suggest to look at page 10-85 from the Prog 1 course notes where they have an example of creating multiple data sets when merging multiple tables using the in= data set options and subsetting if statement. If your data has many-to-many observations though, its probably best to use the EG query builder or write PROC SQL as the way the data step processes observation at a time will probably not produce what you want for a many-to-many merge (see pages 10-86 &amp;amp; 10-87 where data step is compared to sql).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Michelle&lt;STRONG style="font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jul 2013 12:52:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78065#M7685</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2013-07-14T12:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hello and a few EG questions</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78066#M7686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Tucky&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to the exciting (but sometimes overwhelming) world of SAS!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything Michelle says is spot-on. I'll add a few comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're climbing a high wall, in that EG uses SQL under the query builder covers, and SQL is an enormously complex subject on its own. The good news, is you can start small and use pieces of it for what you need without knowing the whole thing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you talk about Excel, I assume you use the VLOOKUP function, which I use a lot as well. Here's what I would consider the equivalent in EG:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Start with your "master" table, in your example I think it's tbl_Source1.&lt;BR /&gt;2. Select Join Tables, Add Tables, and select your lookup table (tbl_Source2?)&lt;BR /&gt;3. EG may "guess" at a join, or not. Either way, you need to make sure that the corresponding key variables are linked, and that they are all the second option (left join). This will keep ALL of the records in tbl_Source1, and ONLY include data from tbl_Source2 when the keys match tbl_Source1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give this a try, and see if it works the way you expect. In the resulting table, you mention that you'd like to know if the records matched or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One way I do this is to include var1 from tbl_Source2 in the results (with a different name), and check its value. Since it's used to join to tbl_Source1, if a record was found in tbl_Source2, it won't be missing, and if there was no match, it will be missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the SQL that EG generated for me...you can see 'include_flag', which is the renamed var1 from the lookup table (they'll all either be there or not be there). So this is how you can fulfill your requirement to find the records in tbl_Source1 that didn't match; just do a selection with a filter of 'include_flag IS MISSING'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROC SQL;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; CREATE TABLE WORK.QUERY_FOR_TBL_SOURCE1 AS &lt;BR /&gt;&amp;nbsp;&amp;nbsp; SELECT t1.var1, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t1.var2, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t1.var3, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t2.x, &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t2.var1 LABEL="include_flag" AS include_flag&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM WORK.TBL_SOURCE1 t1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LEFT JOIN WORK.TBL_SOURCE2 t2 ON (t1.var1 = t2.var1) AND (t1.var2 = t2.var2) AND (t1.var3 = t2.var3);&lt;BR /&gt;QUIT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A quick note about "missing" values. SAS started with this terminology in the late '70s. When SQL came along, they introduced the concept of NULL, which is very similar but not quite identical. For your purposes, you can consider them the same thing, with two different names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now, just join two tables at a time, and then do another query to add in your next table, until you get familiar with the whole shmozzle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're making a really good start at this. Keep it up, and ask lots of questions!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jul 2013 13:36:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78066#M7686</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2013-07-14T13:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Hello and a few EG questions</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78067#M7687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tom, very helpful. I managed to find time to work on this during the week. Using your advice, managed the joins successfully. I used the query feature to create subsets with missing values on the finished sheets, then I could review the results and make changes to source files, then rerun the project. Stepping the project out two tables at a time helped, I think I was trying to create an "all in one", biting off more than I could chew.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 00:02:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78067#M7687</guid>
      <dc:creator>Tucky</dc:creator>
      <dc:date>2013-08-02T00:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hello and a few EG questions</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78068#M7688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cheers Michelle, I took the easy road with Tom's instructions, but I printed the SUGI, and it has convinced me to learn more about PROC SQL, I think that's one of the heavy lifters in what i want to achieve. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 00:04:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78068#M7688</guid>
      <dc:creator>Tucky</dc:creator>
      <dc:date>2013-08-02T00:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hello and a few EG questions</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78069#M7689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No problem Michael. Glad to hear that you were able to get what you wanted and were guided by the assistance of the SAS community. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 01:50:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78069#M7689</guid>
      <dc:creator>MichelleHomes</dc:creator>
      <dc:date>2013-08-02T01:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hello and a few EG questions</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78070#M7690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Outstanding! At the end of the day, it's getting results that counts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When getting used to SQL, the "try a small example, see what happens, and work from there", which you used, is essential. As time goes by, you'll be doing more and more in one step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michelle's advice is spot on. SQL is a very powerful tool in SAS, and well worth learning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&amp;nbsp; Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2013 17:30:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Hello-and-a-few-EG-questions/m-p/78070#M7690</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2013-08-02T17:30:29Z</dc:date>
    </item>
  </channel>
</rss>

