Power BI makes creating rolling averages easy
By using the quick measures feature, Power BI generates the DAX code in the background which not only makes it quick and easy, it's also a great way to learn how DAX works
How do you create a rolling sum in Power BI?
start with a rolling average and edit the DAX