Combine query by expression

Hello everyone,

i’ll try to combine 2 query’s based on a expression… For example there is a List of strings like [T012345, T012346, T012347] and so on. Also there is a Counter in a range from Zero to fifteen.

I want to say:

If Counter is Below 1:
show: “No data”
show List

The Problem is, that the last value of the List never will be Zero… There are no empty values…But when the Counter is Zero i want to say No data.


welcome to the :grafana: community @techfabian!

It sounds like you might be able to use value mappings for your use case, you can read more about them here:

If you still need help from the community, can you please follow these steps to share your raw unformatted data and a screenshot of the queries you’re using? That way, the community can try and mock up your problem :+1: