Displaying dynamic text

Hello,

I am new to Grafana.
I have the following query:

SELECT avg(payload.torquemaxlimit - payload.torqueminlimit) / 3 * STDDEV(payload.torque) as Cp

I want to check the value of above query (Cp), accordingly I need to display the text based on the attached rule table. How to do it?.

Welcome

What data source is this? and please provide date type (int, float, decimal) & sample data for the following columns: torqueminlimit, torquemaxlimit & torque

Also what type of visualization you will be displaying this in? But the following value mapping might help?

1 Like

Thank you so much . Let me try the value mappings

It works as expected. Thanks,

1 Like