Search for files by parent directory name?

Ability to search for files based on name of parent directory? (Not the same as "search in directory of that name."

I have a deep directory structure with, in this case, many different directories named "sample". Lots of 'em. I'd like to be able to search with Dopus 11 to find all files in such directories. I would like to do this with one search where I can express "match file if immediate parent dir name is 'sample'."

Is this possible?

Something along these lines should do it:


Beautiful. Thank you, Leo.