Facing problem in making Chart Axis labels Dynamic

I am facing a problem related to the chart axes. I have created a parameter in tableau which goes on Y-axis. When I select the parameter from the selection box, i want Y-axis label name to change according to my selection instead of showing the name of the parameter.