How do I configure a view that gets a taxonomy on a node, and retrieves fields from the taxonomy? I have a view, which only appears when you navigate to certain nodes. 

Each node which it appears under, has a taxonomy with a field called 'related_content_entity' referencing some related content. The node only has one taxonomy. I need the view to display data from the related_content_entity for the current node's taxonomy.

The brick wall which I have seemed to hit, isn't the entity reference, but filtering the results down to the one field referenced in the taxonomy associated with the node.

I get expected behaviour up to this point; creating a required relationship to the entity reference like this: 



Gives me this result:



Which is entirely expected. But specifically what I can't figure out it how to filter these results down to the current node's taxonomy field. There's not a single contextual filter which I've tried which would filter the result down to only the node's taxonomy's field.

To put what I'd like to acheive more clearly:

Node-1 is under taxonomy-1, and taxonomy-1 has node-2 as an entity reference (though the entity reference module) in one of it's fields.

When view-A appears on Node-1, I'd like view-A to display the entity reference.

How do I do this?

Edit: This is my current set-up. This the input:



And this is the output:



@rooby, thanks for your help, but I don't actually get any results if I add any contextual filter under the sun.
Hi,

If you construct your view like the below and get the value from URL, you should be able to achieve.

EDIT: Allow me to guide you step by step:


You go to /admin/structure/views
You click on Add new view, and enter your view's name and description in the related fields in the next screen
Choose Content from the Show dropdown and your display format from the Display format dropdown and click Continue &amp; edit.
Add Content: All taxonomy terms as a field, make your settings, and click Apply.
In the advanced section (to the right most section), add Nid as a Contextual Filter and click Apply (all displays).
Choose Provide default value and Content ID from URL, and click Apply (all displays


That's all there is to be done. You can test this by passing a node ID in the Preview with contextual filters field.