I assumed that something like
should work, but failed for the label. There must be something special with the label evaluation (like a multiple evaluation), since above expressions for the label as well the original $(myVar) works for the title bar.
Well, I am also stucked.
Maybe one workaround: Add a space between $ and (myVar)