Abbas_ra21Lp stats by New Lpers 3
    Updated 2023-07-03
    with
    tb AS (
    select
    LIQUIDITY_PROVIDER AS user,
    min(BLOCK_TIMESTAMP) AS Timedate
    from
    ethereum.uniswapv3.ez_lp_actions
    group by
    1
    having
    Timedate >= dateadd(
    'Month',
    - {{Last_N_Months}},
    current_date
    )
    )
    select
    date_trunc('Month',Timedate) AS Month,
    count(user) AS "New Users Number"
    from tb
    where
    Timedate >= dateadd(
    'Month',
    - {{Last_N_Months}},
    current_date
    )
    group by 1




    Run a query to Download Data