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
sohananahid
Post Partisan
Post Partisan

Changing Date to Date/time format?

Hi all: Good day! I am getting data from a database table. There are 3 date columns. They are in date with time and TMZ format. I changed the column type to “Date” to only show date. Now need to show the time also. When I go to Power Query & try to change to Date/time, it shows there in the query editor- but not on the ‘Data view’ or ‘Report’ [my ‘Table’ visual]- remains same as before with only Date! [yes, I did ‘Apply & Close’!].

I found only solution is to start from beginning in Power query: removing all steps. Then from original date format-> change to date/time. But there should be an efficient way than this?

Any help is much appreciated! 🙂

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@sohananahid - So when you originally set the field to date/time and applied, did you go to the column in your Report or Data view in Desktop and in Column Tools switch it to be date/time instead of date?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

@sohananahid - So when you originally set the field to date/time and applied, did you go to the column in your Report or Data view in Desktop and in Column Tools switch it to be date/time instead of date?


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler no, I didn't do the 2nd step! Thanks a lot! 🙂

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.