Two datasources one variable as input

Then create measurement, where you define custom relations and use it as it is described in: