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
Anonymous
Not applicable

Physical Date table vs Code

When deciding on a date table for a report is it recommended to import a physical table from the warehouse or generate one via code? Does the generated table get persisted, or does the report have to generate it each time its loaded? Does one perform better than the other or does it make no difference?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Both will take space, Refresh will depend on what changes are required, even if you bring a DB table that also need to refreshed.

I feel power BI date table give lot of flexibility. But if there is one in a database all set, why to create again in power bi, just mark it as the date table.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks @amitchandak. I also did a test where I created 2 blank reports, loaded 1 with a 45,000 row date table from the warehouse, and in the other created a 45,000 date table from code. I then put a date slicer on each and loaded a table with the dates and looked at the Performance Analyzer. Every test between the 2 was less than 100ms apart, and the slowest test was just 400ms so you really can't even tell any performance difference. I also tool a look at the report file sizes, and the code version was 3x the size of the one loaded from the database, but again the files are so small that the difference may even be something else (637kb vs 1,827kb respectively)

amitchandak
Super User
Super User

@Anonymous , Both will take space, Refresh will depend on what changes are required, even if you bring a DB table that also need to refreshed.

I feel power BI date table give lot of flexibility. But if there is one in a database all set, why to create again in power bi, just mark it as the date table.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.