Skip to main content

Duplicate Name

"xxx" is used to name both a type1 and a type2. Duplicate names like this may cause confusion for developers and users.

The same name was used to name both a Field and Measure, or a Variable and Measure

Using the same name for two resources, for example using "Sales" for both a Field and Measure, can appear ambiguous when used in an expression.

Sales + Margin

Is "Sales" a measure or a field?

Guide

If possible, rename one or the other resource to disambiguate.

If you have a common name like "Sales", consider adopting a naming convention like:

  • Prefixing numeric field names with "#": #Sales

  • Include a unit or quantity designation in the field name: Sales Amount

  • Include an aggregation word in the Measure Name: Total Sales