Date Fileds SHown as Values

Greig

New Member
Joined
Jul 22, 2013
Messages
9
Hi All,

I am getting data via OLAP cubes. A number of date parameters exist from a field (date registered), such as Date.Date or Date.Month. When I do a Pivot Table the results are in date format and I can filter as dates, like Yesterday, Last Week. When I use PowerPivot to retrieve the data and create a Pivot Table, the format of the fields are not dates but Values. Why are they not Dates when PowerPivot is used? Many thanks
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Why are they not Dates when PowerPivot is used?
Welcome to the Board!

I do not use PowerPivot myself, but I may be able to answer at least the "why" part of your question. In Excel and Access, dates are actually stored as numbers, specifically the number of days from 1/1/1900. To see this, just enter any date in any Excel cell, and change the format to General. Changing the format does not change the underlying values.

So, while you are seeing "values", that really is just the numeric format of that date. So I think it is just a formatting issue. Can't you re-format those values as dates?
 
Upvote 0
Thanks Joe4 - as I understand it the format of the data is set at the OLAP cube level and they are date fields.When I build a PivotTable, there are dimensions and attributes to use which show them as date values - I can filter as dates. Changing the format under PowerPivot to Date does not change the filtering from Value to Date.
Greig
 
Upvote 0
I have not worked with OLAP cubes or PowerPivot before, but perhaps it is dropping the format of the data. The point that I was trying to make is that dates really are numbers, as Excel views them. How they appear is just a formatting option, but it does not change their actual underlying value.
 
Upvote 0
Thanks again - I understand your point. I am following it up with the person who set up the cubes.

I have not worked with OLAP cubes or PowerPivot before, but perhaps it is dropping the format of the data. The point that I was trying to make is that dates really are numbers, as Excel views them. How they appear is just a formatting option, but it does not change their actual underlying value.
 
Upvote 0
Check the data type for your date column in the PowerPivot window, make sure it's a date in there - it might be stored as text but you can change it to date if so.

Also, you might need a separate date table, and use the Mark as Date Table feature (again on the ribbon in the PP window).
 
Upvote 0
Hi Rob - thank you for this advice. I will certainly try it.
Greig

Check the data type for your date column in the PowerPivot window, make sure it's a date in there - it might be stored as text but you can change it to date if so.

Also, you might need a separate date table, and use the Mark as Date Table feature (again on the ribbon in the PP window).
 
Upvote 0

Forum statistics

Threads
1,223,953
Messages
6,175,598
Members
452,658
Latest member
GStorm

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