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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
primolee
Helper V
Helper V

date format retrieved from Google Sheet

Hello everyone,

 

I am retrieving data from Google Sheet and the date format is MM/DD/YYYY.

 

However, Power Query got some date in the wrong format right in the beginning when expanding the table.

 

Original:

09/30/2021

10/01/2021

10/02/2021

.......

10/10/2021

10/11/2021

10/12/2021

10/13/2021

 

But Power Query makes it like:

09/30/2021

1/10/2021

2/10/2021

.......

10/10/2021

11/10/2021

12/10/2021

10/13/2021

 

Only dates between 2021/10/1 and 2021/10/12 are formatted wrong, and become correct on the 13th maybe because there is no 13th month.

 

Because this happens right in the beginning when expanding the sheet, I cannot fix it through changing data format.

 

Is there a smart way of fixing it?  Thank you!

 

Best regards,

David

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @primolee ,

You can try to use Using Locale to change the date format to en-US to modify:

= Table.TransformColumnTypes(#"Changed Type", {{"Soak Start Date", type date}}, "en-US")

vyingjl_0-1634866153465.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

Hi @primolee ,

You can try to use Using Locale to change the date format to en-US to modify:

= Table.TransformColumnTypes(#"Changed Type", {{"Soak Start Date", type date}}, "en-US")

vyingjl_0-1634866153465.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

v-yingjl
Community Support
Community Support

Hi @primolee ,

You can try to use Using Locale to change the date format to en-US to modify:

= Table.TransformColumnTypes(#"Changed Type", {{"Soak Start Date", type date}}, "en-US")

vyingjl_0-1634866153465.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

lbendlin
Super User
Super User

what's the column format at tha source? Can you influence that?  Can you use ISO8601 dates instead?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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 Kudoed Authors