K
KS
I'm trying to develop a conditional join that will allow me lookup the data
in one field and if it doesn't match, it will look to another field to match.
I currently have the following setup:
I'm using a left join to include all records from "Table 1 Column A" and
only those records in "Table 2 Column A" where the joined fields are equal.
Here's what I'm looking to achieve:
If "Table 1 Column A" does not match "Table 2 Column A", look to join "Table
1 Column A" where the fields match in "Table 2 Column B"
in one field and if it doesn't match, it will look to another field to match.
I currently have the following setup:
I'm using a left join to include all records from "Table 1 Column A" and
only those records in "Table 2 Column A" where the joined fields are equal.
Here's what I'm looking to achieve:
If "Table 1 Column A" does not match "Table 2 Column A", look to join "Table
1 Column A" where the fields match in "Table 2 Column B"