Hi,
I have a dataset to which I need to apply some mappings.
However, I can't use the join tool on its own for this as the mappings are based on some/all fields depending on whether an asterisk has been recorded (essentially acting as a sort of wildcard).
Here is what the mapping table looks like:
| A | B | C | D | E | F | TEXT |
| hjghk | bhghgb | * | bkjbkj | sfddfssdfs | * | TEXT1 |
| * | * | bhkhli | * | * | bjhbjhbhvgv | TEXT2 |
| jhgbjhb | BJHJ | jkbjb | * | * | * | TEXT3 |
| * | * | HVHUV | * | hgtdhht | Hguguysadg | TEXT4 |
Looking at the first mapping as an example, we'd need A, B, D and E to match in the dataset, returning 'TEXT1' if so. C and F can be any value. If TEXT1 doesn't return a match, we'd need to check the second mapping.
This mapping table can grow, so it needs to be valid for all possible combinations.
Any help would be much appreciated!