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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Fumes007
Microsoft Employee
Microsoft Employee

Date conversion

Hi all, I am trying to convert this date format 2017-10-10T22:02:42.6715188+00:00 to just 2017-10-10 in Power BI. Any directions on how to achieve this?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

In case powerbi taken it as a Datetime/time stamp.

You can use Date OR the format function

 

column1 = format(date, "YYYY-MM-DD")

In case it is the text you can use the left function.

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

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
Thanks.

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

In case powerbi taken it as a Datetime/time stamp.

You can use Date OR the format function

 

column1 = format(date, "YYYY-MM-DD")

In case it is the text you can use the left function.

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

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
Thanks.

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I am pulling data from an API and it is return date created in the format posted in the question (see image here https://imgur.com/a/QCiU2gl). I want to able to convert it to a simple date format yyyy-mm-dd

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors