Skip to content

Commit 5da0c62

Browse files
authored
Update measures.md
1 parent 6507732 commit 5da0c62

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/Schema/measures.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ ordersCompletedCount: {
115115
```
116116

117117
### rollingWindow
118-
If you want to calculate some metric within a window, for example a week or a month, you should use a `rollingWindow` parameter. The `trailing` and `leading` parameters define window size. Note that `rollingWindow` only works on a dimension defined with `timeDimension`.
118+
If you want to calculate some metric within a window, for example a week or a month, you should use a `rollingWindow` parameter. The `trailing` and `leading` parameters define window size.
119+
120+
> **NOTE:** `rollingWindow` only works for a query where there's a single `timeDimension` with a defined date range.
119121
120122
These parameters have a format defined as `(-?\d+) (minute|hour|day|week|month|year)`. The `trailing` and `leading` parameters can also be set to an `unbounded` value, which means infinite size for the corresponding window part. You can define `trailing` and `leading` parameters using negative integers.
121123

0 commit comments

Comments
 (0)