Grafana & InfluxDB


I need some help with visualizing data in Grafana table.
I have got this structure of InfluxDB table

Test status mapping with value (0 - failed, 1 - passed).
I want to show test name (string) and last test status (string) at the Grafana table and colouring row depending on test status.
How can I do that?
The last what have I got is:

But I don’t like how test name displaying and current value is number (I want to string).

Dont think InfluxDB supports value mapping (like CASE statement in SQL)

But it would be great if grafana will allow to define mapping as it is implemented for SingleStat