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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Aruna_ln
Helper III
Helper III

hi any help how to create time dimension in power bi

 

i now how create dynamic calender date dimnsion like below link.

https://www.mssqltips.com/sqlservertip/4857/creating-a-date-dimension-table-in-power-bi/

but i need Hour and Second  also

 

plase any body help this

 

thanks

aruna

5 REPLIES 5
Mi2n
Microsoft Employee
Microsoft Employee

hour = Hour([Date])

second = Second([Date])

These should help!

Hi rhanks replay,

But i didn't have date measure.
I need create date and hour and seconds
Between 1 jan 2016 to 1 jan 2019

@Aruna_ln

 

I highly recommend you separate Date and Time table to avoid too low granularity. You can use Power Query to generate Date and Time table: It’s Just a Matter of Time: Power BI Date & Time Dimension Toolkit

 

See a similar thread below:

https://stackoverflow.com/questions/41290418/how-to-include-time-in-date-hierarchy-in-power-bi

 

Regards,

Mi2n
Microsoft Employee
Microsoft Employee

I thought that you said you know how to create Date column based on the link you provided. Use the same method mentioned in the link to create a calendar table and then create two new columns for Hour and Second using the formula that I gave.

Helpful resources

Announcements
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.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.