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
SuzanneSte
Frequent Visitor

Mixed date formats

Hello,

I haven't found the answer I need within previous questions.

My pc is set to European date format dd/mm/yyyy.  A lot of my data is in US format mm/dd/yyyy.  I did find the setting to change Type and Locale within Power Query Editor. Having applied that though it is giving me errors on saving.   When I had managed to save that change with a subset of the data, my issue was when using the DateDiff function, Today was still being seen as European format.  I came across the previously given advice to use the Format fuction to change Today to US format.  I cannot however figure out where to use that though so that it impacts my DateDiff column correctly.   Would appreciate your guidance

1 ACCEPTED SOLUTION

Thanks !

I will try that - I seem to have a lot fewer options than you do 

SuzanneSte_0-1690366048491.png

 

View solution in original post

6 REPLIES 6
mlsx4
Memorable Member
Memorable Member

Hi @SuzanneSte 

You may change the option Use default Windows Language.

 

mlsx4_0-1690365667728.png

 

Thanks !

I will try that - I seem to have a lot fewer options than you do 

SuzanneSte_0-1690366048491.png

 

I found another location for chaning the locale to US - it worked !!!!  Thank you 🙂 

That's nice!! You're welcome 😊

It's still giving me a negative count of days between 06/12/2023 and today.  I'm getting -133 instead of about 44 

Then, I suggest you to reorder the date in power query by splitting it in three column and later on, concatenating it in the correct order

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