Get temperature History over last 4 hours

I’m trying to configure a perspective app for monitoring temperatures and can’t seem to get the label to format correctly. I have a Label set to tag history and it pulls the history and gives me an average but how can I format this label to only show the number.


Change the ‘Value Format’, or scroll down and add a transform that will pull out the single scalar value of the dataset.

I’m looking through the documentation and can’t seem to find a way to strip that down to a single number with a transform when the label is placed from a tag directly it just shows the number I’m not sure why it shows the tag path at all.


return system.dataset.toPyDataSet(value)[0]['Average']
1 Like