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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Anonymous
Not applicable

Unable to date formatting using Direct Query

I'm having this problem when importing my data using direct query:

In the Power Query my data is shown in the the right format (DD/MM/YYYY)

marciofilho_0-1678128270996.png

But when I place this column inside a visual that's how it's shown:

marciofilho_1-1678128319604.png

Is there any way to change this date to the DD/MM/YYYY format?

 

Thank you in advance, best regards.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @Anonymous ,

 

Here are the steps you can follow:

1. You can Add Column – Custom Column in Power Query Editor.

 

Text.From(Date.Day([Date]))&"/"&Text.From(Date.Month([Date]))&"/"&Text.From(Date.Year([Date]))

 

vyangliumsft_0-1678414630227.png

vyangliumsft_1-1678414630228.png

2. Or use the custom format.

vyangliumsft_0-1678414677156.png

 

 

Best Regards,

Liu Yang

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

4 REPLIES 4
Anonymous
Not applicable

Hi  @Anonymous ,

 

Here are the steps you can follow:

1. You can Add Column – Custom Column in Power Query Editor.

 

Text.From(Date.Day([Date]))&"/"&Text.From(Date.Month([Date]))&"/"&Text.From(Date.Year([Date]))

 

vyangliumsft_0-1678414630227.png

vyangliumsft_1-1678414630228.png

2. Or use the custom format.

vyangliumsft_0-1678414677156.png

 

 

Best Regards,

Liu Yang

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

vicky_
Super User
Super User

vicky__0-1678140762296.png

Click the Date column and then Format.

Anonymous
Not applicable

Yeah, I tried something like that, but the thing is using Direct Query mode you're not allowed to execute such thing, hence my question.

Changing data types in the query editor is different than just changing the format string as @vicky_ suggested. Did changing the format string not work?

 

Pat

Microsoft Employee

Helpful resources

Announcements
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