Property 'description' is unknown and is not expected in the situation it appears.
A /// doc comment before a relationship created a description property, which relationships don't support.
Why it happens
- A
///doc comment sits before arelationshipstatement in relationships.tmdl. ///generates adescriptionproperty — valid on tables, measures and columns, but not on relationships.
How to fix it
- Remove
///doc comments from before relationship definitions. - Use
//single-line comments instead if you need a note (the parser ignores them). - Valid relationship properties:
fromColumn,toColumn,fromCardinality,toCardinality,crossFilteringBehavior,isActive.
Triggers it
/// Primary date relationship relationship 'Fact[Date] -> Dim_Date[Date]'
Fix
// Primary date relationship relationship 'Fact[Date] -> Dim_Date[Date]'