Setting threshold using "Config from query" with "apply to: Fields with name"

Using grafana 10.2.2 I’m trying to set the threshold using a “Config from query” transformation using a field of the data query to match the threshold associated with it in the config query. I used the example in the Demo “Transforms - Config from query” to simplify my real case.

In the data query I added a column which holds the ThresholdId used to match a specific threshold in the config query:

In the config query, I added a few threshold configurations:

The transformation is as follow:

But the threshold shown in the panel is not overridden

it displays the one that is defined in the panel configuration

Is there a way to make this work?
Any ideas/suggestions will be greatly appreciated!