SpinTheMic
Pro

Interview practice question

Three-month moving average

Data Analyst · Power BI and Tableau · Intermediate

How would you create a three-month moving average of sales in Power BI?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • DATESINPERIOD(Date[Date], MAX(Date[Date]), -3, MONTH).
  • AVERAGEX over months or total/3.
  • Date table needed.
  • Handle months without data.
  • Visual at month level.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics