Concatenate a special field with a string in the tooltip

Hi

I am trying to append a string to the special field “$name” in the hover tooltips. For example I would like to append “_percentage” to special field: $name=2017 then the result would be “2017_percentage”. The result would the name of a column in my datasource.

tooltips = “”"
$name: @$name
percentage: @$name_percentage
“”"

The above tooltip above doe not work because I think $name_percentage does not give me the name of the column i.e 2017_percentage.

Please could you advice how I could achieve it.

Thanks

Gilles

This is not possible. You will have to make the values in the “name” column (or whatever column you want to use) match up exactly to the other columns you want to refer to.