To use the VARIANCE Function 

VARIANCE(Tag1,Tag2,...)

The variance is the expectation of the squared deviation of a random variable from its mean. Informally, it measures how far a set of (random) numbers are spread out from their average value.

VARIANCE(Demo-influxdb/DEMO_01TI031.PV,Demo-influxdb/DEMO_01TI032.PV)