Contextual view -> entity reference target ID
You need to add the proper Context to the variant.



Then you complete the setup.



And lastly you select it in the panel settings for the Contextual view: