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
Anonymous
Not applicable

Change date type in Power Query using M Script

Hi Experts

 

How could you change the date type format from US to UK current i have 3/15/2019, i would like to show the date as 15/3/2019. 

using M script step.

let
blah blah
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"ISSUE_OCCURRENCE_DT", type date}})
in
    #"Changed Type"
1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Anonymous ,

1. The date format display decided by the local client Regional settings. Please make sure your region setting like below. Then you don't need to change the date format and it will be "dd/MM/yyyy".

date.PNG

2. If you don't want to change the Region settings. You can refer to this video: Changing Date Format (MM/DD/YYYY to DD/MM/YYYY).

 

Best Regards,
Icey

 

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

1 REPLY 1
Icey
Community Support
Community Support

Hi @Anonymous ,

1. The date format display decided by the local client Regional settings. Please make sure your region setting like below. Then you don't need to change the date format and it will be "dd/MM/yyyy".

date.PNG

2. If you don't want to change the Region settings. You can refer to this video: Changing Date Format (MM/DD/YYYY to DD/MM/YYYY).

 

Best Regards,
Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.