Dynamic panels : dynamically change the "Color" field

Hi,
I am currently working on a project in which I display some gps coordinates on a map, but a set of values A is also associated to those coordinates. This set of value is linked to the threshold, so the color of the markers changes when the value is too high. To do that, the field “Color” for my markers is linked directly to the set of value. However, when I change the source for the set of value (I have two sources and I change the source with the panels variables), the “color changes” ar not taken in account as it is set up for the first source. Is there anyway to change dynamically the value you assign to the field “Color”, so that when I change my source it changes also this field ? I have tried “Transform Data : config from query results” but it doesn’t seem to work for the “Color” field. I use InfluxdB as datasource
Don’t hesitate to ask if something is not clear, my english is kinda shaky.
Thx
Antoine

please peovide sample data as csv or as line protocol aince we do not have access to your influxdb