Custom panel fields based on variable

Hello people,

I’m new to Grafana and been working on a task. I need to change or override panel x-axis naming based on variable selected. Right now if I change alias it changes across all variables and I would want to set custom naming based on variable selected. Tried override option but it pretty much do the same as changing aliases in panel settings. Would appreciate any solutio or a hint to resolve this.

Thanks