Ubidots Developer Guides
Help Center
API Reference
Data API
Community
Search…
Welcome to our Dev Guides
⚡️ Getting Started
What is Ubidots?
Devices, Variables, and Dots
Technical FAQs
Business FAQs
🧩
Integration Guides
Industrial IoT
Cellular
LoRaWAN
Sigfox
Dev Kits
Weather
Tools
🤖
UbiFunctions
Getting Started
Runtimes
Invocation
Advanced
Examples
Specs and Limits
📈
SYNTHETIC VARIABLES
Getting started
Native expressions
Specs and limits
Examples
Mathematical
Date range
Rolling
Special functions
Powered By
GitBook
Rolling
Syntax
Example
Output
rolling(<variable>,<agreggation_method> , <type_of_range>,<range> , min periods=2)
r
o
l
l
i
n
g
(
[
−
1.60
,
−
1.60
,
1
,
1
,
3
,
]
,
"
m
a
x
"
,
"
v
a
l
u
e
s
"
,
4
)
rolling([-1.60, -1.60, 1, 1, 3,],"max","values",4)
ro
ll
in
g
([
−
1.60
,
−
1.60
,
1
,
1
,
3
,
]
,
"
ma
x
"
,
"
v
a
l
u
es
"
,
4
)
1
1
1
Previous
Date range
Next
Special functions
Last modified
2mo ago
Copy link