Skip to content

Commit

Permalink
adding cumulative metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
mirnawong1 committed Jul 19, 2023
1 parent 112dcbc commit bac3b31
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions website/docs/docs/build/about-metricflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Metrics, which is a key concept, are functions that combine measures, constraint

MetricFlow supports different metric types:

- [Cumulative](/docs/build/cumulative-metrics) — Aggregates a measure over a given window.
- [Derived](/docs/build/derived) — An expression of other metrics, which allows you to do calculations on top of metrics.
- [Ratio](/docs/build/ratio) — Create a ratio out of two measures, like revenue per customer.
- [Simple](/docs/build/simple) — Metrics that refer directly to one measure.
Expand Down
5 changes: 3 additions & 2 deletions website/docs/docs/build/metrics-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This page explains the different supported metric types you can add to your dbt
- [Ratio](#ratio-metrics) — Create a ratio out of two measures.
-->

<!--not supported for this release

### Cumulative metrics

[Cumulative metrics](/docs/build/cumulative) aggregate a measure over a given window. Note that if no window is specified, the window would accumulate the measure over all time.
Expand All @@ -43,7 +43,6 @@ metrics:
#Omitting window will accumulate the measure over all time
window: 7 days
```
-->
### Derived metrics
[Derived metrics](/docs/build/derived) are defined as an expression of other metrics. Derived metrics allow you to do calculations on top of metrics.
Expand Down Expand Up @@ -145,7 +144,9 @@ You can set more metadata for your metrics, which can be used by other tools lat
## Related docs

- [Semantic models](/docs/build/semantic-models)
- [Cumulative](/docs/build/cumulative-metrics)
- [Derived](/docs/build/derived)




1 change: 1 addition & 0 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ const sidebarSettings = {
label: "Metrics",
link: { type: "doc", id: "docs/build/metrics-overview"},
items: [
"docs/build/cumulative",
"docs/build/derived",
"docs/build/ratio",
"docs/build/simple",
Expand Down

0 comments on commit bac3b31

Please sign in to comment.