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
alicemolk
Frequent Visitor

Dim_date table

Hi everyone,

I am creating a Dim_date table based on min, max date from another column. How I can include hour, minute, and second in this Date column? The photo below just shows the default time - it's not what I want. 

Thanks.

alicemolk_0-1665203533234.png

 

2 REPLIES 2
Anonymous
Not applicable

Hi @alicemolk ,

The CALENDARAUTO returns  a table with a single column named "Date" that contains a contiguous set of dates. The range of dates is calculated automatically based on data in the model.

More details: CALENDARAUTO function (DAX) - DAX | Microsoft Learn

 

I have also found a similar post, please refer to it to see if it helps you.

Solved: Create table with date and time - Microsoft Power BI Community

 

Best Regards

Community Support Team _ Polly

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lukiz84
Memorable Member
Memorable Member

Hours and Minutes don't belong in a Date table.

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.