Forum Discussion

mwild's avatar
mwild
Frequent Visitor
3 years ago

Moving average

Hi,

I have a table in Power Bi which looks similar to the below.

The JobCode is unique and increases by 1 for each new entry

What I'm trying to do is do a new column "Last 6 entry average" so if a new D Exam is entered then the last column will automatically give me the average of D01's and the average will be the last 6 entries

with new row entered

Appreciate this may need ranks added but any help would be appreciated