Can you use driven dimensions in equations?

Hello,

I would like (D7) to equate to (D6)+.125.  (D6) is driven from other features on the part. I get an "out of order" warning and the sketch does not follow the intended rules of the equation. P.S. I know there is some kind of "advanced" tab for attaching files but I have yet to find it when I need it.

SolidworksSketching