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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.