Dynamic Threshold on Panel with Prometheus

Hi all, I’m trying to create a panel with a dynamic threshold. Something like below-

I’m getting the above bar values from an oracledb_exporter. The threshold value can also be obtained from another metric but how do I stitch the above 2 so as to show the threshold value?

I understand that we can do it through transformation but that I’m not able to achieve.