Hi,
I need someone to help to calculate average contribution return on the account-security id-date level. In my dataset i have multple accounts, their respective multiple securities, and multple dates. my requirement is if first row has data like acct 123, security id 10001, date 03-03-2026, daily contribution is 0.40 so tool should calculate average contribution return for the date i.e 03-03-2026 for the combination of account+security id. if second row has different date then it should calculate average value based on that date for last 30 days ans so on.