How to create a running total that excludes visualization or dashboard filters

The total number of users as of the latest month (May 2024) is 10,264.

However, when I apply visualization filters or dashboard filters, the total number of users for the latest month is only 3,824, whereas I want it to be 10,264.

This is my current AQL metric for calculating the running total:

running_total(
  ecommerce_users.id | count() ,
  ecommerce_users.sign_up_date
)
1 Like

By default, the running total will be calculated after filtering (keep_filters: true ). To calculate a running total of all data, ignoring any filter on the running dimensions, you can add a keep_filters: false parameter to the function.
Here is a comparison between keep_filters: true and keep_filters: false :


Playground Sample

2 Likes

Thanks, it works like a charm @tan