How to format my dates in the PowerPivot's dCalendar table ?

BeepBeep

New Member
Joined
Jan 27, 2015
Messages
35
Hi,

Can I have my dates in the dCalendar table in "dd/mmm/yyyy" format instead of "dd/mmm/yyyy hh:mm:ss" ?

When I create my dCalendar I always tempted to follow "dd/mmm/yyyy" separating times.
I usually maintain a separate table for times as it gives the flexibility to run the Hour , Minute, Second functions to get hours, minutes, seconds which I feel you can't get the same if you include your dates with times.

Am I correct in my opinion? Is it a good practice? Will this effect my PowerPivot analysis in any way?

Thank
BeepBeep
 
Last edited:

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
The number of times I have left my date and time together is ... near zero. It is almost always better to have them separate. Possibly ALWAYS better. In many cases... required. Just do it :)
 
Upvote 0
It is always best to separate date and time because
1. It compresses better. Also don't bring in seconds if you don't need them.
2. You can't join a date field in a data table to a date/time field in a calendar table.
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,613
Members
449,090
Latest member
vivek chauhan

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