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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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