Here is a one way of handling it
txnelson_0-1666725281346.png
avg = Col Moving Average( :Visits, weighting = 1, before = 2, :Group );
count = Col Cumulative Sum( 1, :Group );
If( count >= 3, avg * 3, . );
@jthi has the simpler option.....I assumed Col Moving Average gave responses when n was less than 3.
Jim