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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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