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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.