Cascade Filters

Hi!

I want to know if it's possible to link filters when the values in dropdown I am showing is from a Model.

Example: I have teachers table and a students table.

Multiple students allotted to one teacher, but only one teacher is allotted to a student.

I want to show the list of subjects the teacher-student combination has:

For that I am showing one dropdown for teachers, another dropdown for students, this students dropdown contains all the students as I am taking it from the Model list. But how to show the students only under the particular teacher?

I can't use table directly, using model list is mandatory for me.

Please help.

That's supported. What's not working?

How can I filter Model List based on the previous dropdown selection?

This is standard functionality:

it won't work if you are referencing a model because of column aliasing, linked filters only work with tables

It works for me.

It works only if the model columns are connected to database columns

what do you mean? how to do that?

I have a model based on sql and when I add a filter i get this