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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
roeder11
Frequent Visitor

Removing Time stamp from date

I have a formula 

"Week of Due Date = "Week of" & " " & 'BAH Task Tracker'[Due Date] - WEEKDAY('BAH Task Tracker'[Due Date],2) + 1"
that returns the first day of each week after the words "Week Of" but sone of the dates include a time a well. Out of about 1000 rows it only appears to happen to ~5 of them. 
 
is there a way to remove the time?
 
thanks 
2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @roeder11 ,

Please try the following methods and check if they can solve your problem:

1.Ensure that the date part is considered, removing the time component.

 

2.Try the following DAX formula.

Week of Due Date = "Week of" & " " & FORMAT('BAH Task Tracker'[Due Date] - WEEKDAY('BAH Task Tracker'[Due Date],2) + 1, "dd/mm/yyyy")

 

Best Regards,

Wisdom Wu

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

This solved my issue! Thank you so much!

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @roeder11 ,

Please try the following methods and check if they can solve your problem:

1.Ensure that the date part is considered, removing the time component.

 

2.Try the following DAX formula.

Week of Due Date = "Week of" & " " & FORMAT('BAH Task Tracker'[Due Date] - WEEKDAY('BAH Task Tracker'[Due Date],2) + 1, "dd/mm/yyyy")

 

Best Regards,

Wisdom Wu

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

This solved my issue! Thank you so much!

Daniel29195
Super User
Super User

@roeder11 

in powr query, change datatype yo date instead of datetime .

if you need the time, in other reports, then create a duplication of this column, and leave it as datetime, 

and the original one you can change its datatype to date . 

Daniel29195_0-1709156046702.png

 

hope this helps .

 

 

If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠

that did not work for me. I removed the wording "Week of" and then I changed the datatype to date, but once I added the wording back in there were still several instances of the time

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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