How can i filter data of two values in one slice

Some way to make a slice which will allow to fetch two values of the column , i want to filter these two values.
please help…!!!