Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TagId, sdata
- 8862, [0,0,0,0,2,2,2,3,4]
- 6304, [0,0,0,0,2,2,2,3,4]
- TestTable
- | where TagId in (8862,6304)
- | make-series sdata = avg(todouble(Value)) default=0 on TimeStamp in range (datetime(2019-06-27), datetime(2019-06-29), 1m) by TagId
- | as S1;
- S1 | project ddata = series_divide(sdata[0].['sdata'], sdata[1].['sdata'])
- | as S2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement