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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
oparra
New Member

Transform Date/Time to Date for Calendar

Hello, first post.

I want to create a calendar table that includes specific date/time, because I download the reports that includes the exact time for a transaction.

So I need to create a Calendar table to create a relation as I have multiple tables that need to be filtered from this one.1.JPG2.JPG

The left one is the one from the report, and when I try to filter data from the calendar table it shows as a blank.

So far I tried to duplicate the TimeStamp Column and ROUND the data, but the column is not recognized as a Date even if it has the correct format.

Hope you can get what I want and can help me.

 

Thanks in advance.

 

Osiel.

1 ACCEPTED SOLUTION

For now I did a new colum with:

Date = Append1[TimeStamp].[Date]
The column excluded all the time and only shows the date, and the relation with the CALENDARAUTO table seems to work properly for now.
 
I'll keep checking.
 
Thanks

View solution in original post

2 REPLIES 2
DataNinja777
Super User
Super User

Hi @oparra 

 

When you need to also include time in your dimension table, the best practice is to separate out the date table and the time table, instead of having one big date/time calendar table with near infinite combination (cardinality) of date and time unique values.  Separating out date and time will ensure that the cardinality of the dimension table is maintained at a level where there is minimum performance issues, and you can have a time table of 24 hours.

Best regards,    

For now I did a new colum with:

Date = Append1[TimeStamp].[Date]
The column excluded all the time and only shows the date, and the relation with the CALENDARAUTO table seems to work properly for now.
 
I'll keep checking.
 
Thanks

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors