Matthew Edminster
New Member
Hello,
I am trying to create a chart showing changes in a population over time. The chart is based on a table of additive and subtractive "population events" that looks something like this:
The goal is to create a stacked bar chart that shows a) both positive and negative values and b) if possible, also indicates the net positive or negative population change.
A) would be relatively simple if I could figure out how to return a negative count in my pivot table for subtractive events like "left" and "transferred". But I can't seem to find a way to display the "Event" field twice (once for positive events and again for negative) in the pivot table columns.
B) is a bit more complicated. The idea would be to add the additive and subtractive counts for a given year and adjust the total height of the bars accordingly. I have no idea how to go about doing this.
Any help would be very appreciated!
Matt
I am trying to create a chart showing changes in a population over time. The chart is based on a table of additive and subtractive "population events" that looks something like this:
Code:
Name Date Event
Jim 2014 Joined
Nat 2014 Joined
Bob 2015 Joined
Joe 2015 Joined
Liz 2015 Left
Amy 2015 Transferred
The goal is to create a stacked bar chart that shows a) both positive and negative values and b) if possible, also indicates the net positive or negative population change.
A) would be relatively simple if I could figure out how to return a negative count in my pivot table for subtractive events like "left" and "transferred". But I can't seem to find a way to display the "Event" field twice (once for positive events and again for negative) in the pivot table columns.
B) is a bit more complicated. The idea would be to add the additive and subtractive counts for a given year and adjust the total height of the bars accordingly. I have no idea how to go about doing this.
Any help would be very appreciated!
Matt