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 September 15. Request your voucher.

Reply
stibra
Frequent Visitor

Change time format (Direct Query)

Hi,

 

I have the following data as shown in the attached photo:

2017-12-12_1804.png

 

As can be seen format of creation date is DD.MM.YYYY HH.MM.SS . I would like to change it to DD.MM.YYYY, but cannot use FORMAT with direct queries (Add Column).

 

Is there another ay of doing this in PowerBI or does it need to be changed on the SQL side?

 

br

Stian

 

1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi Stian,

 

You can change it in the Modeling menu in the ribbon.

Change_time_format_Direct_Query

 

 

Best Regards,

Dale

Community Support Team _ Dale
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

3 REPLIES 3
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @stibra,

 

Could you please mark the proper answer as solution or share the solution if it's convenient for you? That will be a big help to the others.

 

Best Regards!
Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi Stian,

 

You can change it in the Modeling menu in the ribbon.

Change_time_format_Direct_Query

 

 

Best Regards,

Dale

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

The menu options shown here are not available for Direct Query columns - is there another way of formating a date field from a Direct Query.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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