Hello everyone,
Request:
I need to make a join but sometimes my left join has no data.
My goal is to always keep the right join and if the left join has data, we join them (on name in the example) if not we keep the right join. Is this feasible?
See below for an example (Rows can vary, they're not fixed but columns are always the same):
Example:
Right Join:
| Name | Main Asset | Value |
| A | House | 500 |
| B | House | 100 |
Left Join (2 cases, one with data one without data):
With Data:
| Name | Secondary Asset | Value |
| A | Motorbike | 50 |
| B | Motorbike | 10 |
Without Data:
No Data.
Result (it is the sum of both asset):
With data:
Without data: