How to populate a dropdown depending on the value of another dropdown in the dataview

I have an entity that has a relation with e.g. a department and another relation to an employee. I am using a dropdown for both relations in the dataview. But employees have their own relation with departments also. Once a department is selected, I would like to have the dropdown no longer show all employees, but only the ones belonging to the department just selected. How can I do this?
1 answers

The constrained by feature of the reference selector is probably what you are looking for.