Dear all
I'm quite new to the world of Dax and Powerpivot.
In this dataset I have the actual number of visits for sales reps in a certain district by store. This I did with a simple countrows function and it works...
I also have a theoretical # of visits. This is a measure where I calculate how many visits the sales rep is actually expected to have conducted in a certain time period.
This is calculated as a measure by multiplying the number of days selected in the pivot with the number of visits pr day expected (e.g. 30 days * 0,0328 visits/day = 0,98 visits (rounded up to 1) in a period of 30 days)
The issue occurs in the pivottable, where the subtotals for visits are summed but the subtotals for theoretical visits are avaraged... (see pictures)
Are there any quick fixes to make the pivot sum, instead of averaging, on the theoretical visits? (See attached picture)...
(Probably difficult to answer without some data...but I'll have to anonymize it before uploading, if necessary)
Thanks in advance
mr_jules2
Bookmarks