PowerPivot - Productivity Per Person Per Day

shane_aldrich

Board Regular
Joined
Oct 23, 2009
Messages
148
Doing my best to simplify the question…apologies up front…I’m just starting out with PowerPivot
I have a PowerPivot with 4 tables…

FactTable1 (relationship with FactTable2 based on COMBO field, relationship with calendar based on date)
FactTable2 (relationship with FactTable1 based on COMBO field) – described below
CALENDAR (relationship with FactTable1 based on date, relationship with sales days based on date)
SALESDAYS – described below

FactTable2 – Description - each person will be listed multiple times, but only once for each month)

Last Day of Month = related(FactTable1[LastDayOfMonth]
Combo = text string…name sales person & “YYYYMM”
HeadcountWeek1 = If( SalesWeek1>0,1,0)
HeadcountWeek2 = If( SalesWeek2>0,1,0)
HeadcountWeek3 = If( SalesWeek3>0,1,0)
SalesWeek1 = count of sales for week1
SalesWeek2 = count of sales for week2
SalesWeek3 = count of sales for week2

SALESDAYS - has 24 months listed

LastDayOfMonth
SalesDaysWeek1 = count of sales days in the week (can vary by month depending on holiday)
SalesDaysWeek2 = count of sales days in the week (can vary by month depending on holiday)
SalesDaysWeek3 = count of sales days in the week (can vary by month depending on holiday)

I’m trying to solve for Sales Per Person Per Sales Day aka “ProductivityPerDayWeek1”

Within the FactTable2, I have calculated fields for SalesPerAgent for each week…below is an example
SALES_PER_PERSON_WEEK_1:=DIVIDE(SUMX(FactTable2,[SALES_WEEK_1]),SUMX(FactTable2,[HEADCOUNT_WEEK_1]))

So in order to get “ProductivityPerDayWeek1”, I need to divide SALES_PER_PERSON_WEEK_1 by the SalesDaysWeek1 for the particular month

Hoping I’m a little clearer than mud…thank you in advance for your help!!!
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
I suggest you rework your Calendar/Date table to include the concept of "Is Sales Day" -- it's going to make all this easier.
 
Upvote 0
Hi guess I'm not following you...I attempted to go about this a few different ways...changing relationships, and changing the way I'm attempting to calculated, but w/o much luck so far...


Can you be more specific / offer more guidance?
 
Upvote 0
Ya know what? If you get this today, drop me an email. I'll give you an hour of my time, we will share a screen, I will talk you through your trauma :) (And if that doesn't work out, come remind me that you still want to solve your problems... cuz I will totally forget)
 
Upvote 0

Forum statistics

Threads
1,224,115
Messages
6,176,477
Members
452,728
Latest member
mihael546

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top