Built-in BPA Rules
Overview
Tabular Editor 3 includes 36 built-in best practice rules. These rules cover common issues in semantic model development and are updated automatically with each release.
Unlike custom rules stored in JSON files, built-in rules:
- Are integrated directly into the application
- Update automatically with new releases
- Link to knowledge base documentation
- Are read-only to ensure consistency across teams
- Work immediately without configuration
Key Features
Rule Categories
The Best Practice Analyzer groups the built-in rules by category:
- Error Prevention: invalid characters, missing expressions and source columns, data type mismatches, MDX availability, user-defined function names
- Performance: MDX availability, date tables, many-to-many relationships, connection string application names
- Maintenance: descriptions, empty calculation groups and perspectives, unused data sources
- Naming Conventions: leading and trailing spaces in names
- Formatting: format strings, summarization of numeric columns, foreign key visibility
- Model Layout: translations
- Governance: Power BI compatibility level
- Security: role permissions and combinations of row-level and object-level security
Global and Per-Rule Control
You can enable or disable built-in rules globally or individually. Settings persist across sessions and work independently from your custom rules.
To manage built-in rules:
- Go to Tools > Preferences > Tabular Editor > Miscellaneous.
- Under Best Practice Analyzer, select or clear Enable built-in best practice rules to turn the entire collection on or off.
- To enable or disable individual rules, open Tools > Manage BPA rules..., select the Built-in Best Practices collection and select or clear the checkbox of each rule.
First-Run Notification

The first time you open a model after upgrading to a version with built-in rules, you'll see a notification explaining the feature with a link to preferences. This notification only appears once.
Knowledge Base Integration

Every built-in rule links to a knowledge base article. Each article explains what the rule checks, why it matters and how to fix violations.
To open the article, hover over a rule in the Best Practice Analyzer window and click Learn more in the tooltip.
Read-Only Protection
Built-in rules can't be edited, cloned, or deleted. This ensures all users have the same rule definitions. You can disable individual rules, but the rule definitions themselves remain unchanged.

ID Collision Prevention
Built-in rules use reserved ID prefixes. When you create a custom rule, Tabular Editor validates that your ID doesn't conflict with built-in rules and shows an error if it does.
Built-in Rules Catalog
Each entry links to the rule's knowledge base article. The severity is shown in parentheses.
Error Prevention Rules
- Data Column Must Have Source (3)
- Expression Required for Calculated Objects (3)
- Avoid Provider Partitions with Structured Data Sources (2)
- Relationship Columns Must Have Same Data Type (3)
- Avoid Invalid Characters in Object Names (3)
- Avoid Invalid Characters in Descriptions (3)
- Set IsAvailableInMDX to True When Necessary (3)
- Use Compound Names for User-Defined Functions (1)
Performance Rules
- Set IsAvailableInMDX to False (3)
- Date Table Should Exist (2)
- Remove Auto Date Tables (2)
- Many-to-Many Relationships Should Use Single Direction (2)
- Specify Application Name in Connection Strings (1)
Maintenance Rules
- Remove Unused Data Sources (1)
- Visible Objects Should Have Descriptions (1): five rules, for tables, columns, measures, calculation groups and user-defined functions
- Perspectives Should Contain Objects (1)
- Calculation Groups Should Contain Items (2)
Naming Conventions Rules
Formatting Rules
- Set SummarizeBy to None for Numeric Columns (3)
- Hide Foreign Key Columns (2)
- Provide Format String for Numeric and Date Columns (2)
- Provide Format String for Measures (2)
Model Layout Rules
- Translate Display Folders for All Cultures (1)
- Translate Descriptions for All Cultures (1)
- Translate Visible Object Names for All Cultures (1)
- Translate Hierarchy Level Names for All Cultures (1)
- Translate Perspective Names for All Cultures (1)
Governance Rules
Security Rules
- Row-Level and Object-Level Security Require Read Permission (3)
- Power BI Roles Must Have Read Permission (3)
- Roles Without Security Override Secured Roles (2)
- Avoid Members in Both an RLS Role and an OLS Role (3)
The security rules have no automatic fix.
Working with Built-in and Custom Rules
Built-in and custom rules work side by side:
| Feature | Built-in Rules | Custom Rules |
|---|---|---|
| Storage | Hardcoded in application | JSON files or model annotations |
| Updates | Automatic with releases | Manual editing required |
| Modification | Read-only | Fully editable |
| Documentation | Integrated KB articles | User-provided descriptions |
| Sharing | Consistent across teams | Requires manual distribution |
Recommended Workflow
- Enable built-in rules for immediate coverage
- Review violations and apply fixes
- Disable rules that don't apply to your conventions
- Add custom rules for organization-specific requirements
- Use the "Ignore" feature for intentional violations
Best Practices
Onboarding Teams
When rolling out built-in rules to your team:
- Start with all rules enabled to establish a baseline
- Review violations together and agree on which rules apply
- Document why specific rules are disabled
- Add custom rules for organization-specific requirements
Model Maintenance
- Run BPA before committing changes to version control
- Fix high-severity violations immediately
- Review medium and low-severity issues regularly
- Use automatic fixes where available
Custom Rules
- Don't duplicate built-in rule functionality
- Use different ID prefixes to avoid conflicts
- Document your custom rules
- Share rule collections within your team
Troubleshooting
Built-in Rules Not Appearing
If built-in rules don't show in the BPA window:
- Verify that Enable built-in best practice rules is selected in Tools > Preferences > Tabular Editor > Miscellaneous
- Restart Tabular Editor if you just changed preferences
- Confirm your license is active
Cannot Modify Built-in Rule
This is expected. Built-in rules are read-only. If you need different logic, create a custom rule with your expression and disable the corresponding built-in rule.
ID Collision Error
Built-in rules reserve certain ID prefixes. Choose a different ID that doesn't start with TE3_BUILT_IN.
Compatibility
Built-in rules apply to models with compatibility level 1200 and higher. Some rules require a higher level: the rule for members in both a row-level security role and an object-level security role requires 1400, and the two rules for user-defined functions require 1702. Each knowledge base article states the rule's compatibility level.