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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Employee
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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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