How to calculate rolling average across sales

If I have a list of 30 clients by month year with sales how do I do a calculated measure that does a monthly average by client across all columns?