Rules / Naming Conventions
Object names must not contain special characters
What it checks
Names containing a tab, line feed, or carriage return.
Why it matters
Tabs and line breaks inside a name are invisible in most of the interface, so the object looks correct in the field list while every DAX reference, report binding, and deployment script has to reproduce the hidden character exactly. When one of them does not, you get a broken reference between two names that look identical on screen, which is one of the slowest kinds of model bug to track down. The same characters break CSV and Excel exports, where a line feed inside a column header splits the header across rows. Names should contain printable characters and ordinary spaces only.
How to fix it
Rename the object without the character in Power BI Desktop, or edit the name in the TMDL file.
Quirks
- In practice this rule cannot fire on a project loaded from TMDL files, because the format does not carry these characters. It is kept so that models built by other means are covered.