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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
stribor45
Post Prodigy
Post Prodigy

Remove seconds from datetime

When I add a custom column I am able to get exactly what I want in my datetime (datetime without seconds) but as soon as I convert the type of custom column to datetime and end up again with seconds.  How do I get rid of ss in datetime?

 

Thanks

 

stribor45_0-1691894977263.png

stribor45_1-1691895012142.png

 

 

1 ACCEPTED SOLUTION

Hi @stribor45 

Try to follow this tutorial :
https://blog.enterprisedna.co/datetime-value-how-to-strip-off-seconds/

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

5 REPLIES 5
Ritaf1983
Super User
Super User

Hi @stribor45 
With/without seconds is the format, not "data type" .
You can modify it from the data view.
Choose one that you need from the list / you can also customize it manually

Ritaf1983_0-1691896945251.png

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

I want to remove the seconds within the power query editor not in the data view

Hi @stribor45 

Try to follow this tutorial :
https://blog.enterprisedna.co/datetime-value-how-to-strip-off-seconds/

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Ashish_Mathur
Super User
Super User

Hi,

If you want to get rid of the time stamp from the entries in the Date column, then just change the Data Type of that column to Date.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

I don't want to remove time from Date column. I want to keep it the same and just remove the seconds

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.