TabularEditor / BestPracticeRules

An official collection of standard Rules for use with Tabular Editor's Best Practice Analyzer.
120 stars 53 forks source link

[Rule Submit] Disable auto time intelligence #34

Closed itsnotaboutthecell closed 3 years ago

itsnotaboutthecell commented 4 years ago

{ "ID": "DISABLE_AUTO_TIMEINTELLIGENCE", "Name": "Disable auto time intelligence", "Category": "Performance", "Description": "Remove hidden auto date/time tables and disable the Current File's Auto date/time." "Severity": 3, "Scope": "Model", "Expression": "Tables.Any(Name.StartsWith("LocalDateTable"))" "FixExpression": "__PBI_TimeIntelligenceEnabled = 0" }

itsnotaboutthecell commented 3 years ago

Updated to change the flag that also updates the Auto date/time setting to false within the Current File's Power BI Desktop settings.

itsnotaboutthecell commented 3 years ago

This item has been added to the official Microsoft Best Practice Rule.