Filtering database when "All" option selected from dropdown

Anyone able to help with this one please?