@RodrigoLazzuri You can convert boolean values into integers at query time with Flux. Just use the int() function. You’ll have to switch over the the script editor and modify the query that gets built with the Query Builder. It will look something like this:
// the rest of your query
|> map(fn: (r) => ({r with _value: int(v: r._value)}))
One question I have is what do you want the band graph to represent? This graph displays the min, max, and mean, of time intervals. If you convert boolean values, they will be 1 or 0 and min/mix/mean won’t really change much.