Filter using toggle/checkbox help

You need to write Code inside of OnChange Function of Switch(Toggle)