Use equation for reference plane?

Hello,

As the title states, I want to use an equation to define the distance from the reference plane.

But the distance field won't allow me to do that. What can I do, or is this a feature not incorporated into Solidworks?

Thankful for answrer,

SolidworksAssemblies