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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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 is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.