Dashboard with two variables

I’ve got a dashboard with multible prometheus data sources. I like to display data from all of them in one dashboard.

Depending on the source I’ve to rely on an object name and/or object ID to identify my objects.

Some sources contain only the ID, others only the name, one contains name and ID.

I’ve created two variables, resulting in two independent pulldown menus for the dasboard. Is it possible to sync the pulldown menus?

Am I on the right track or I should archive this some other way?