cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Williamspsouza Regular Visitor
Regular Visitor

Text with (Date Time UTC) to Date

Hi guys, 

I've the following column: 

Resolutiondate
2018-10-29T21:09:54.000-0200
2018-10-29T21:10:01.000-0200
2018-10-10T11:02:44.000-0300
2018-10-10T11:02:49.000-0300
2018-10-10T11:02:54.000-0300
2018-10-10T11:02:59.000-0300
2018-10-10T11:03:05.000-0300

 

I'd like to transform into date only using dax.

could you help me?

 

Thanks!!

1 ACCEPTED SOLUTION

Accepted Solutions
doobie Regular Visitor
Regular Visitor

Re: Text with (Date Time UTC) to Date

You can use that formula if you want to create a new formatted date column. If you are comfortable losing the timestamp you dont need DAX.

 

'Data' --> 'Modeling' --> 'Format' --> 'Date/Time'

 

2.png

View solution in original post

3 REPLIES 3
doobie Regular Visitor
Regular Visitor

Re: Text with (Date Time UTC) to Date

=FORMAT(<value>, "MM-dd-YYYY") 

Also you can refer to the links below for additional formatting options

 

https://docs.microsoft.com/en-us/dax/format-function-dax

 

https://docs.microsoft.com/en-us/dax/custom-date-and-time-formats-for-the-format-function

Williamspsouza Regular Visitor
Regular Visitor

Re: Text with (Date Time UTC) to Date

It doesn't work

doobie Regular Visitor
Regular Visitor

Re: Text with (Date Time UTC) to Date

You can use that formula if you want to create a new formatted date column. If you are comfortable losing the timestamp you dont need DAX.

 

'Data' --> 'Modeling' --> 'Format' --> 'Date/Time'

 

2.png

View solution in original post

Helpful resources

Announcements
Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 256 members 2,547 guests
Please welcome our newest community members: