Documentation Index
Fetch the complete documentation index at: https://cubed3-docs-cub-2416-update-semantic-snowflake-semantic-vie.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Use case
We want to know the customer engagement of our store. To do this, we need to use an Active Users metric.Data modeling
Daily, weekly, and monthly active users are commonly referred to as DAU, WAU, MAU. To get these metrics, we need to use a rolling time frame to calculate a daily count of how many users interacted with the product or website in the prior day, 7 days, or 30 days. Also, we can build other metrics on top of these basic metrics. For example, the WAU to MAU ratio, which we can add by using already definedweekly_active_users and monthly_active_users.
To calculate daily, weekly, or monthly active users weβre going to use the
rolling_window
measure parameter.
Result
Query all four measures with atimeDimensions date range to get the active
user counts for any given day. For example, for a single day in 2020:
| MAU | WAU | DAU | WAU/MAU |
|---|---|---|---|
| 22 | 4 | 0 | 18.18% |