Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
christianfcbmx
Post Patron
Post Patron

date in one column the time in other

I have a date and time in my data source  (Excel) and I need in Power bi keep that column and create another column with only the time of that same column....anybody knows how I can do that?

 

Example the result needed,

 

01-03-2016 15:00:0015:00:00
03-03-2016 11:30:0011:30:00
1 ACCEPTED SOLUTION
christianfcbmx
Post Patron
Post Patron

Hi Christian, its very easy....you have to go to query editor then right click on the column you want to duplicate and chose the function "duplicate" after that, if you want only keep the time, change the data type to time instead of date and time.

 

Hope it works!

View solution in original post

2 REPLIES 2
Ashish_Mathur
Super User
Super User

Hi,

 

You may use the split column feature.  Use space as a delimiter.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
christianfcbmx
Post Patron
Post Patron

Hi Christian, its very easy....you have to go to query editor then right click on the column you want to duplicate and chose the function "duplicate" after that, if you want only keep the time, change the data type to time instead of date and time.

 

Hope it works!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.