How to make Series Override based on condition?

I have seen the capability to add a series override where I can hide a series on a Graph panel, but I only want this to happen when a certain scenario is fulfilled such as values are above a certain threshold. Is there a way that I can make this series override conditional?