VMware Modern Apps Community
elsajmayer
Contributor
Contributor

string comparison in conditional statement?

I have a dashboard variable called nodeId. I would like to plot it only if that is set to non star. Is there a way to achieve something like:

if({nodeId} != '*', ts(something, source=nodeId))

without suffering performance issues that can be caused by:

if(ts(something, source={nodeId}) > 1, ts(something, source=nodeId))

Reply
0 Kudos
0 Replies