Use legend selection on another panel

Hi,

i wanted to create a dashboard were the selection on the legend of one graph would reflect on another panel. For example selecting the id = 1 on the legend of graph1 would reflect on the items showed in another graph.

Is this possible only using variables?

Thanks for the help