I get the following error: The data types are incompatible. Please change the expressions and try again. Using the `to…` conversion functions could help.
I’m not sure if join is the best way to go about this but any help would be appreciated.
PR1_status is an array so it cannot be used in join condition directly.
I see that you are trying to translate numeric statues into text and the list of possibilities is rather short and static. This could be a query solving it:
This does work but I’m trying to get the words to show up on a line graph instead of just “1” when a device is up or “2” when it’s down. It’d be nice to also get the words on the y axis.
Not sure if this is possible as the data mapping asks for a numeric field.
I’ve attached an image showing what I’m trying to do.
Unfortunately this visualization as well as other currently available does not allow it. Line/bar/area chart are designed to display metrics (continuous space of values) and what you are looking for is state tracking over time.
What is possible to do is e.g. see number of devices in each state for each interval. And in this case each of series would be labeled with word