DAX - Split date from time to only show time

Antonio Pantalones

New Member
Joined
Jun 14, 2011
Messages
4
PowerePivot
ACCESS MDB Data Connection.
Import Data format: (hard coded 12/30/1899, can't change this at source)
12/30/1899 12:03:00 AM
12/30/1899 12:07:00 AM
12/30/1899 12:11:00 AM
etc.
Thinking simple doesn't work: =(US_CURVE_DATA_CURRENT[TI<WBR>ME]-12/30/<WBR>1899)

Thanks

<TABLE class=h><TBODY><TR><TD class=l></TD><TD></TD><TD class=r></TD></TR></TBODY></TABLE>
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Are you sure there's actually a date there?

What happens when you format as Time?
 
Upvote 0
That will change the displayed value but will not change the underlying value.
 
Upvote 0
That's the important thing.:)

Just be careful if you need to use it in calculations.

PS You are doing this on a worksheet?
I thought Format was for VBA and TEXT was the worksheet equivalent.
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,853
Members
452,948
Latest member
UsmanAli786

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