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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
Anonymous
Not applicable

Displaying only the time of Data and Time

Hi All,

 

I am trying to calculate the time difference between the max time and min time of the entries in an ID.

 

How do I change the column in the visual so that the date doesnt display, only the time?

 

e.g. the second row, third column, would just say 08:37:00

 

time difference.png

 

Thanks in advance for the help

1 ACCEPTED SOLUTION
Anonymous
Not applicable

One way is go to edit query select column and right click on it. 

Edit query -->Select datetime column --> Right click --> select transform --> select Time Only

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

One way is go to edit query select column and right click on it. 

Edit query -->Select datetime column --> Right click --> select transform --> select Time Only

MFelix
Super User
Super User

Hi  @Anonymous ,

 

It's possible in PBI to use custom format strings for columns or measures on the modeling view check the documentation if you are using a column or a measure and don't want to change the format becayse you can use it in other visual in a different way you can create an additional measure or column with the FORMAT sintax something similar to this:

 

Hour Format = FORMAT(Table[Column]; "hh:mm:ss")

 

Regards,

MFelix

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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