SalehAXL_T-N-D
    Updated 4 days ago
    with lst_all as (
    select
    tx_from
    ,min(block_timestamp)::date as min_date
    from axelar.core.fact_transactions
    group by 1
    order by 1
    )
    select
    date_trunc(week,min_date) as date
    ,count(DISTINCT tx_from) as "New Users"
    ,sum("New Users") over (order by date) as cum_new_users
    from lst_all

    group by 1
    order by 1





    Last run: 4 days ago
    DATE
    New Users
    CUM_NEW_USERS
    1
    2021-12-20 00:00:00.0001414
    2
    2021-12-27 00:00:00.000115
    3
    2022-01-03 00:00:00.0002843
    4
    2022-01-10 00:00:00.000111154
    5
    2022-01-17 00:00:00.00021175
    6
    2022-01-24 00:00:00.000271446
    7
    2022-01-31 00:00:00.00060506
    8
    2022-02-07 00:00:00.0003509
    9
    2022-02-14 00:00:00.00024533
    10
    2022-02-21 00:00:00.00015548
    11
    2022-02-28 00:00:00.0004552
    12
    2022-03-07 00:00:00.0006558
    13
    2022-03-14 00:00:00.00052610
    14
    2022-03-21 00:00:00.0002612
    15
    2022-03-28 00:00:00.0002614
    16
    2022-04-04 00:00:00.0005619
    17
    2022-04-11 00:00:00.0001620
    18
    2022-04-18 00:00:00.0009629
    19
    2022-04-25 00:00:00.0002631
    20
    2022-05-02 00:00:00.0002633
    ...
    184
    7KB
    3s