Filter dropdown with sql and variable

If dropdown does not appear, this might be helpful: