Forum

Running average wit...
 
Notifications
Clear all

Running average without date column

4 Posts
2 Users
0 Reactions
70 Views
(@ritak)
Posts: 10
Eminent Member
Topic starter
 

Hi, I have the following table structure. It has a week number, and number of hours for multiple (>100) people for each week. I need to create a measure that would show the running average of hours for each person for each week.

I would appreciate any suggestions.

Thank you!

Week Person Hours
1801 Person A 40
1801 Person B 42
1801 Person C 41
1802 Person A 43
1802 Person B 38
1802 Person C 40

 
Posted : 17/02/2018 11:48 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Rita,

This is best done in a PivotTable or Power Pivot PivotTable. Please see example attached.

Simply add the Hours field to the Values area twice. Set the second one to summarize using Average and then Show Values As > Running Total > by person.

Mynda

 
Posted : 17/02/2018 9:55 pm
(@ritak)
Posts: 10
Eminent Member
Topic starter
 

Hi Mynda,

Thank you for you reply.

Sorry, I somehow managed to leave out an important detail: I need the running average of the last 16 weeks.

Rita

 
Posted : 23/02/2018 8:03 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Rita,

Add the Week field to the Filters area of the PivotTable and filter the weeks you want the running average for.

Mynda

 
Posted : 23/02/2018 9:52 pm
Share: