Math in handlebar


I am trying to do some basic maths in the dashboard as you can see but it doesn’t work.
To do what I want to do, I would need the following operators / , % and floor. Ideally I would like to do something like this
Is this possible?



You can use some built-in math expressions in a couple places within the dashboard, such as when setting gauge block conditions or indicator block conditions.

If you can tell me a little more about what you’re trying to accomplish - including the type of block you’re using - I can write up your use case as a platform feature. Or perhaps we can come up with a workaround.

1 Like


I think he may have been able to use some math helpers in the Device State node before visualizing that data in a dashboard block.