title: Rolling Average in Power Query
body: <p>I am a complete newbie to Power BI</p>
  
  <p>I am trying to reproduce this type of calculation in the Power Query Editor of Power BI.</p>
  
  <p>The screenshot is from Excel and in column C it uses AVERAGE($B$2: B2) and the next row is AVERAGE($B$2: B3) and so on.</p>
  
  <p>C2 = ((168 + 313) / 2) = 241</p>
  
  <p>C3 = (((168 + 313) + 301) / 3) = 261</p>
  
  <p>and so on</p>
  
  <p>Is there a way to do this type of calculation in Power Query?</p>
  
  <p><a href="https://i.stack.imgur.com/pMw5G.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pMw5G.png" alt="enter image description here"></a></p>