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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Reshmahn
New Member

Timestamp

My time column in my dataset is correct, but when I liad the dataset in power bi and try to get some insights based on time level. The time column hierarchy is showing the date hierarchy instead. How do I change this to timestamp where I need hr:Min:sec under the time column in power bi. Your help is appreciated.

 

1 REPLY 1
AmiraBedh
Super User
Super User

After loading the data, go to the 'Data' view by clicking the table icon at the left. Find the time column, click on the icon next to its name, and ensure it's set to the correct data type. If you need the time in a specific format, you may want to change it to 'Text'.

If you still face issues with the current column, you may create a new calculated column with the desired time format. Use the `FORMAT` function to convert the time to the desired format, e.g. `FORMAT([YourTimeColumn], "hh:mm:ss")`.
This will create a new column with the time formatted precisely how you want it.

Or create a Custom Hierarchy in  the 'Fields' pane by right-clicking on the table and choosing 'New Hierarchy'. Drag and drop the hour, minute, and second fields into the hierarchy in the order you want.

 


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.