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
aiyosap
Helper II
Helper II

How to convert a Date column consists of US and UK format into standard UK format in power query

Hi BI community,

 

I have a situation in which in my csv file consists of a date column and this date column has two formats (ie., US and UK format). And I would like to transform this date column into one standard UK date format (DD/MM/YYYY) in power query. May I know how to do this?

 

1.JPG

 

There is way to do that in excel function but i do not have clue in power query in power BI.

Please help.

 

Thanks

 

1 REPLY 1
amitchandak
Super User
Super User

@aiyosap , When we get the data, Power bi expects the date to be the same format as the system date time. Post that is just a display format. Better not to change of give format that, as it can take browser setting and change the format

 

 

DD/MM/YYYY to MM/DD/YYYY

Power Query

#date(( Text.End(DD__MM__YY[date],4)), (Text,Middle(DD__MM__YY[date],3,2)) ,(Text.Start(DD__MM__YY[date],2)))

 

DAX
date(( right(DD__MM__YY[date],4)), (mid(DD__MM__YY[date],4,2)) ,(left(DD__MM__YY[date],2)))


 

MM/DD/YYYY to DD/MM/YYYY

DAX
date(( right(DD__MM__YY[date],4)), (left(DD__MM__YY[date],2)),(mid(DD__MM__YY[Version_Id],4,2)) )

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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
Top Kudoed Authors