with t1 as (
select mindate::Date as date,
count (Distinct from_address) as New_Users,
sum (new_users) over (order by date) as Cumulative_Users
from (select from_address,
min (block_timestamp) as mindate
from flow.core_evm.fact_transactions
group by 1)
group by 1)
select *
from t1
order by date desc