Defining a panel field link based on dashboard variable value

I have a dashboard with a dashboard variable representing an environment. For example : DEV or PROD.
I then have a table panel with data. I configured a field data link to open an url when clicking a row. I would like this url to have a value depending on my dashboard variable.

For example :
if I have DEV selected, i would like my panel field link to be http://my-env-AAAA/path/rowData1
if I have PROD selected, i would like my panel field link to be http://my-en-BBBB/path/rowData1

Do you think of any way to do that ?

PS : i don’t want to change my dahboard variable value because it won’t have any sense for the user