How to format dates in a pivot chart?

FleurDeList

New Member
Joined
Nov 6, 2012
Messages
4
I have a field that is in date format in PowerPivot, but when I use it in a chart, I am not able to format it. It does not matter what I do. I have tried setting it to date using the chart format functionality or changing the formatting using a custom format and nothing works. The date displays as 1/1/2012. All I want is the year. I vaguely recall reading that dates in pivot charts cannot be set. On the other hand, I know I have formatted dates in charts, but they may have not been pivot charts.

Does anyone know if it is possible to change the date format in a pivot chart?
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
I don't know how to adjust the settings in the Pivot Chart. But I do have a workaround: you can make a new Calculated Column with the formula Year(column) and get that column in your PivotChart.
 
Upvote 0
I had already tried that (calculated column using YEAR()), but then the data was aggregated by year, which I did not want. I want the data to be displayed in the chart by months or quarters. I might try some variant of the calculated column workaround where I conditionally add the year to the calculated column if the month is January and use the date otherwise. Then I will only display January's label, which will be the year, in the chart. I think this may be about as close as I will get to the format I want without.

Thanks for the suggestion.
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

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