Want to filter dataset after changing drop-down values

Hi everyone,
I have 5 dropdown’s and 1 table which is connected to dynamic dataset. I want to filter dataset after dropdown’s values changes.

For e.g

  1. if I select 1 in 1st drop-down rest is null the. Filter by 1 after that I select 4 in 3rd dropdown then filter by 1,4 after that I reselect 2 in 1st dropdown then filter by 2,4 .

So, I want to filter the dataset with all the possibilities of change in drop-down values.

Thanks in advance