How To Remove Trailing % After Numeric Value In Data Link URL

When I try to send a numeric value as a Data Link, the URL adds a trailing ‘%’ ( e.g. “&var-Site=${__data.fields.Site}” turns into “&var-Site=189%”) which breaks the dashboard panels on the target page. It doesn’t seem to be an issue with string values, but unfortunately I need to be able to send that numeric value to the target page. Is there a way to fix this?

welcome to the :grafana: forum, @daltonr

grafana version?

also check this out for comparison:


Version 9.0.1

Edit: I ended up figuring it out just now. The Units field (under Standard features) was set to percentage, so the data link was adding ‘%’ to the end of the numeric Site value based on that assignment. I set an Override to keep that value unitless and everything works now.