How to scale raw analog value to the sensor's unit of measure?

Is it possible to send the sensor raw value to, and to scale the value to the sensor’s unit of measure? For example in a dashboard, or by processing the data before updating the device/data bucket?

Or is it necessary that this scaling takes place on the device before updating


It can be done by some ways:
By the nodered plugin, you may for example detect the sent data and make calculations before writing into a bucket.

By products it can be adjusted a script for executing some instructions over the received data before is stored.

Hope this helps.