You can add a dependency using a goal table, such as the attached.
Is this what you need? Or are you thinking of something more complicated?
DependencyExample.jpg 126.3 KB
Not entirely what I wanted. It is something that is a bit more complicated. However, please see https://forum.solidworks.com/thread/38315?tstart=0 for my continuation of this discussion.