Season Totals all shown on one graph

elliotstan

New Member
Joined
Feb 5, 2011
Messages
18
Hi,
I am trying to display our season totals on one graph. We call this "The Worm"
it shows the cumulative total rising for each season.

At the moment I get each year separated (pic 1) however I want them all on the same x-axis over 1 year (pic 2).
Ideally for this coming year it will have the season dates (season = 1/07/15 to 30/06/16)
In PowerPivot I was able to create a year on year date column and use that along the x-axis to get it to work.

FYI
the cumulative calculation I have to get the values is
Code:
TheWorm = CALCULATE(([Total_Values]),FILTER(ALL('Date'),
    'Date'[Season]=MAX('Date'[Season])&&'Date'[Date]<=MAX('Date'[Date])))



29vgikw.jpg
[/IMG]

ilj6nr.jpg
[/IMG]

Thanks in advance for any help.
 
Last edited:

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
ahhh.. well this is embarrassing :stickouttounge:

I worked it out. Tried the last thing I could think of by creating a year on year calendar.
Works for me (although probably not the most impressive way to calculate a calendar)
Code:
YearOnYearDate = Date(if(MONTH([Date])>=7,2015,2016),MONTH([Date]),DAY([Date]))
This way it starts 1/7/2015 and then runs till 30/06/2016
I use this on the x-axis and it all comes through looking nice :)

33bon0n.jpg
[/IMG]
 
Upvote 0
So, I could just be talking to myself here. :stickouttounge:
Seems my calculations are actually no good as the season 2016 values are not updating. Previous seasons look good but 2016 is just a flat line line.
I am sure this probably relates to my lazy way of calcuating the season.
okobkg.jpg


The Daily values look fine so I am definitly getting data through.
331egbs.jpg


Would anyone have any futher tips on getting cumulative values to sum and show on a graph like this? Would be great if the cumulative amount just stopped at the most recent date as well (so the line did not go all the way to the end of the X axis)
Cheers in advance.
 
Upvote 0
Wouldn't it work to just get rid of the concept of a "year" and just graph by months?
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

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