I created a sample application with different solutions for this.
If you want to apply it to all expressions in a chart, you could use a calculated dimension.
If you want this for only one expression you can create an if or a set-analysis expressions.
Please check the file attached and ask again if you have any doubts.
Control Dimension.qvw.zip 135.8 K