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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
powerbiexpert22
Impactful Individual
Impactful Individual

datetime column

considering the data modeling best practices , we should split single datetime column in data model to 2 columns (date and time) for reducing the data model size

i have datetime columns available in 4 tables out of 7 in data model

do i need to split datetime column available in all 4 tables or only in calendar table?

do i need to split in case if time component of datetime column remains same (example 12:00:00:00)? 

1 ACCEPTED SOLUTION
audreygerred
Super User
Super User

Hi! Ideally, you will have a star schema and have a date table where each row represents a date and a separate time table where each row would be a record of time in the granularity you choose (hours, minutes, seconds). Then, your fact tables that have date and time you would separate date and time into two fields and connect date from dim to date in fact and time from dim to time in fact.





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

Proud to be a Super User!





View solution in original post

1 REPLY 1
audreygerred
Super User
Super User

Hi! Ideally, you will have a star schema and have a date table where each row represents a date and a separate time table where each row would be a record of time in the granularity you choose (hours, minutes, seconds). Then, your fact tables that have date and time you would separate date and time into two fields and connect date from dim to date in fact and time from dim to time in fact.





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

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.