Hey!
SOURCE DATA: I basically have agent names and their respective regions in columns as source data. For each agent there are records of value he has received or given throughout time. An agent can give or receive value. The amount of value is recorded in the "Value" column and next to it there is an "Event" column with only two possible states ('To' or 'From'). If an agent has received, the event is 'To', if an agent has given value, the event is 'From'.
I am using a PivotTable to represent the data this way:
ROW LABELS: Regions and the agents that belong to them are Row Labels (Regions on top of Agents)
COLUMN LABELS: The event (To or From) is used as Column Label; value received is in Column1, value given is in Column2
VALUES: Values received and given are summed under their respective columns against the names of their respective agents
This way the table looks great, and everything is sorted perfectly.
The problem comes when I create a Calculated item to subtract the "From" column from the "To" column to calculate the balance for each agent. Since the the two are items that belong to a single field, a new "To-From" item must be created. When the new item is added however, it causes all agent names to be displayed under all regions.
In other words, the calculated item adds unnecessary and incorrect rows of data which do not correspond to source data.
Please look at the attached workbook to see for yourself.
CalcItemRowError.xlsx
Am I doing something wrong or is this a bug?!
Bookmarks