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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Grumelo
Advocate II
Advocate II

Too Many Date Tables

My data model is very huge. There are plenty of date fields.

Only very few them are used in various report and agregations. (edit: for these fields the automated date table is perfect).

Is there a way to not generate an automated date table for every single date field?

I don't need the date hierarchy on most of them. 

 

I don't want to globally turn off the automated date table feature. I 'd like to turn it off on some fields only.

 

All these automated date tables seem to impact performance and memory usage.

 

Until now the only solution I've found is to not set the field as date field but then I've to carefully set the format of the field in the queries.

Any better trick ?

5 REPLIES 5
Greg_Deckler
Super User
Super User

@Grumelo - Uncheck the highlighted box. File | Options and settings | Options

Greg_Deckler_0-1599660497046.png

 


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

I was maybe not clear enough.

I don't want to to turn the automated date table off on every date fields, only on some of them.

@Grumelo , I doubt I saw option remove hierarchy from one date. You stop one and create a hierarchy as per need

https://stoneridgesoftware.com/creating-hierarchies-in-power-bi/
https://www.youtube.com/watch?v=x6vXVJZ_eTY

FrankAT
Community Champion
Community Champion

Hi @Grumelo 

a well formed data model needs only one calendar table. This calendar table should be marked as date table so all time and date intelligence functions works well. It is best practice to uncheck the automatic date table functionality as @Greg_Deckler described.

If you need in some circumstances, build your own date hierarchy manually. A mixture of automatic date tables and a calendar table is not recommended.

 

With kind regards from the town where the legend of the 'Pied Piper of Hamelin' is at home
FrankAT (Proud to be a Datanaut)

amitchandak
Super User
Super User

@Grumelo , In report preference, uncheck Auto Date time

Refer video from Guyinacube -https://www.youtube.com/watch?v=RnDdDlozcdo

 

Also, you can use the same date table for one or more dates in the table.

Across tables, it is a simple join. within the same table refer - https://youtu.be/e6Y-l_JtCq4

userelation can be used

 

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors