Display Dates on Axis Where They Don't Exist

knotty150

New Member
Joined
Jun 26, 2014
Messages
30
Hi All

I have a dataset which is something like this:

Date | Amount
01/01/2015 | 10
01/03/2015 | 9
01/04/2015 | 6
01/05/2015 | 11
01/07/2015 | 15

As you can see, there are no entries for Feb (02) or June (06). I'd like to display both Feb and June as 0 values on a PivotChart (line chart to be precise), but Excel just plots the graph and goes straight from Jan to March, without displaying anything for Feb. I'm linking the dataset over to a standard "Master Dates" table on date but that still doesn't have any effect.

Is there something I can do to include these null months?

Thanks

Rich
 
Last edited:

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
For Pivot Tables, there is an option to show rows with no values -- but I'm actually not super sure that exists for Pivot Charts. It... probably does?

Your other option is to tweak your measure. Say, if you have:
Total := SUM(MyTable[MyField])
You can add...
Total - No Blanks := IF ([Total] = BLANK(), 0, [Total])
assuming you are okay reporting the values as "zeros"
 
Upvote 0

Forum statistics

Threads
1,224,081
Messages
6,176,259
Members
452,717
Latest member
victorski

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