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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Help - Optimise my column please datetime to date

Hi there

 

I have used this method to strip the time off a datetime field. I had to do something about the field because i use this as a join. 

But my query is so slow now! 

And i've isolated the issue down to this calculated column. 

 

Date = FORMAT('Date'[FullDate],"DD-MM-YYYY")


What is a better solution for removing the time element from a datetime field?

1 ACCEPTED SOLUTION
Thim
Resolver V
Resolver V

I usually makes a new column, with this Dax formula.

 

Just Date = DATE(YEAR(Date[Date]);MONTH(Date[Date]);DAY(Date[Date]))

 

I havent experienced this to slow down my repports, so try and see if this will fix your issue. 🙂

View solution in original post

2 REPLIES 2
Thim
Resolver V
Resolver V

I usually makes a new column, with this Dax formula.

 

Just Date = DATE(YEAR(Date[Date]);MONTH(Date[Date]);DAY(Date[Date]))

 

I havent experienced this to slow down my repports, so try and see if this will fix your issue. 🙂

Anonymous
Not applicable

thanks heaps @Thim.  I changed the : to a , and it worked. 

 

 

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.

Top Kudoed Authors