-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs/ advanced measures window #6152
Conversation
@rohithreddykota added the window example here :) the per: example is not yet implemented, so this should be okay for now |
@@ -60,7 +61,22 @@ In your Rill project directory, create a metrics view, `<metrics_view>.yaml`, fi | |||
- `currency_eur` — output rounded to 2 decimal points prepended with a euro symbol: `€` | |||
- `percentage` — output transformed from a rate to a percentage appended with a percentage sign | |||
- `interval_ms` — time intervals given in milliseconds are transformed into human readable time units like hours (h), days (d), years (y), etc. | |||
|
|||
- **`window`** — can be used for [advanced window expressions](/build/metrics-view/expressions), cannot be used with simple measures _(optional)_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A limitation with window expressions -
we only support window functions post-aggregation by the dims, not pre the aggregation
Not sure if you would like to add it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding a note
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and added couple suggestions
Co-authored-by: Rohith Reddy Kota <[email protected]>
…rill into docs/advanced-measures
No description provided.