Query Filter For Borehole That Contains X Litology

Options
Hello,

I am trying to figure it out how to create a query filter that shows me all boreholes that contains X lithology, and by that I mean that I shows me all the lithologies contained in that borehole.

Hope that someone can help me. Thanks in advance.