cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

January 2020 Community Highlights

January 2020 Community Highlights

Make sure you didn't miss any of the things that happened in the community in January!

Top Solution Authors
Top Kudoed Authors