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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
pang22
Helper III
Helper III

change to correct date format in power query

Dears,

 

The excel wrongly recognize the date as 3 Jan, but the correct date should be 1 Mar.

How to auto change in power query to correct date format, 1 Mar?

Thanks.

 

Excel:

pang22_0-1710125058295.png

 

Power Query:

pang22_1-1710125115275.png

 

 

2 ACCEPTED SOLUTIONS
Vijay_A_Verma
Super User
Super User

Ideally, it should not happen. You need to validate in Excel whether this is really 3-Jan. 

You can put following formula and see what month is coming up.

=TEXT(A2, "dd-mmm-yy")

 

However, to change in PQ - 

Right click on your column header in PQ - Change Type - Using Locale - Select Data type as Date here and  you can select right locale here. 

View solution in original post

Anonymous
Not applicable

Hi @pang22 

The solution @Vijay_A_Verma mentioned is right, as @Vijay_A_Verma  mentined, you can consider to use the Using Locale, based on the soution, I can offer some sample for you.

You can change the locale to UK.

e.g Sample data 

vxinruzhumsft_0-1710730631894.png

Select 'Change type'->'Using Locale'

vxinruzhumsft_1-1710730680936.png

Then select the option as the following pictures.

vxinruzhumsft_2-1710730742973.png

 

Output

vxinruzhumsft_3-1710730750568.png

If this helps, please consider to use this and the suggestion @Vijay_A_Verma  as a solution.

 

 

Best Regards!

Yolo Zhu

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

2 REPLIES 2
Anonymous
Not applicable

Hi @pang22 

The solution @Vijay_A_Verma mentioned is right, as @Vijay_A_Verma  mentined, you can consider to use the Using Locale, based on the soution, I can offer some sample for you.

You can change the locale to UK.

e.g Sample data 

vxinruzhumsft_0-1710730631894.png

Select 'Change type'->'Using Locale'

vxinruzhumsft_1-1710730680936.png

Then select the option as the following pictures.

vxinruzhumsft_2-1710730742973.png

 

Output

vxinruzhumsft_3-1710730750568.png

If this helps, please consider to use this and the suggestion @Vijay_A_Verma  as a solution.

 

 

Best Regards!

Yolo Zhu

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

 

 

Vijay_A_Verma
Super User
Super User

Ideally, it should not happen. You need to validate in Excel whether this is really 3-Jan. 

You can put following formula and see what month is coming up.

=TEXT(A2, "dd-mmm-yy")

 

However, to change in PQ - 

Right click on your column header in PQ - Change Type - Using Locale - Select Data type as Date here and  you can select right locale here. 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.