Filter from a filter

Hello,
Is their a way to create a hierarchy of filters?
For example I have a list of student ids and classes.
I want the user to first filter the ids and only then to choose a class.
However, I want that the classes options that are presented to the user would be only classes that are relevant for the selected ids (meaning the list of classes will not contain a class that doesn’t have one of the selected student ids)

Thanks in advance,
Yael

Hhi @yael ,
please check casdading filters.

BR

Hi
I looked at this page but it didn’t help me.
Is it possible to do what I want?

Thanks in advance,
Yael

Yes it is. With cascading filter.
You have to create a filter for ID and Class.

in the Class filter you need to “show relevant values only”
grafik