---
title: "Measure Element (ASSL) | Microsoft Docs"
ms.custom: ""
ms.date: "03/06/2017"
ms.prod: "sql-server-2016"
ms.reviewer: ""
ms.suite: ""
ms.technology:
- "analysis-services"
- "docset-sql-devref"
ms.tgt_pltfrm: ""
ms.topic: "reference"
apiname:
- "Measure Element"
apilocation:
- "http://schemas.microsoft.com/analysisservices/2003/engine"
apitype: "Schema"
applies_to:
- "SQL Server 2016 Preview"
f1_keywords:
- "Measure"
helpviewer_keywords:
- "Measure element"
ms.assetid: 4c2c2ed1-7f78-4564-982a-132f13bea36f
caps.latest.revision: 38
author: "Minewiskan"
ms.author: "owend"
manager: "erikre"
---
# Measure Element (ASSL)
Defines a measure.
## Syntax
```xml
............................................................
```
## Element Characteristics
|Characteristic|Description|
|--------------------|-----------------|
|Data type and length|See the table below.|
|Default value|None|
|Cardinality|0-n: Optional element that can occur more than once.|
|Ancestor or Parent|Data Type|
|------------------------|---------------|
|[AggregationInstance](../../../analysis-services/scripting/objects/aggregationinstance-element-assl.md)|[AggregationInstanceMeasure](../../../analysis-services/scripting/data-type/measurebinding-data-type-assl.md)|
|[MeasureGroup](../../../analysis-services/scripting/objects/measuregroup-element-assl.md)|None|
|[MeasureGroupBinding (out-of-line)](../../../analysis-services/scripting/data-type/measuregroupbinding-data-type-out-of-line-assl.md)|[MeasureBinding](../../../analysis-services/scripting/data-type/measurebinding-data-type-assl.md)|
|[PerspectiveMeasureGroup](../../../analysis-services/scripting/data-type/perspectivemeasuregroup-data-type-assl.md)|[PerspectiveMeasure](../../../analysis-services/scripting/data-type/perspectivemeasure-data-type-assl.md)|
## Element Relationships
|Relationship|Element|
|------------------|-------------|
|Parent elements|[Measures](../../../analysis-services/scripting/collections/measures-element-assl.md)|
|Child elements|See the table below.|
|Ancestor or Parent|Child elements|
|------------------------|--------------------|
|[MeasureGroup](../../../analysis-services/scripting/objects/measuregroup-element-assl.md)|[AggregateFunction](../../../analysis-services/scripting/properties/aggregatefunction-element-assl.md), [Annotations](../../../analysis-services/scripting/collections/annotations-element-assl.md), [BackColor](../../../analysis-services/scripting/properties/backcolor-element-assl.md), [DataType](../../../analysis-services/scripting/properties/datatype-element-assl.md), [Description](../../../analysis-services/scripting/properties/description-element-assl.md), [DisplayFolder](../../../analysis-services/scripting/properties/displayfolder-element-assl.md), [FontFlags](../../../analysis-services/scripting/properties/fontflags-element-assl.md), [FontName](../../../analysis-services/scripting/properties/fontname-element-assl.md), [FontSize](../../../analysis-services/scripting/properties/fontsize-element-assl.md), [ForeColor](../../../analysis-services/scripting/properties/forecolor-element-assl.md), [FormatString](../../../analysis-services/scripting/properties/formatstring-element-assl.md), [ID](../../../analysis-services/scripting/properties/id-element-assl.md), [MeasureExpression](../../../analysis-services/scripting/properties/measureexpression-element-assl.md), [Name](../../../analysis-services/scripting/properties/name-element-assl.md), [Source](../../../analysis-services/scripting/properties/source-element-measure-assl.md), [Translations](../../../analysis-services/scripting/collections/translations-element-assl.md), [Visible](../../../analysis-services/scripting/properties/visible-element-assl.md)|
|All others|None|
## Remarks
Binding details can be provided for a measure. These details then act as the defaults per partition.
In larger cubes, there may be hundreds of measures and hierarchies. The **DisplayFolder** property defines user appearance on the client. The value of the **DisplayFolder** property can contain any one of the following options:
- Be empty, denoting that the measure does not belong to a folder.
- Contain a single folder name, denoting that the measure should be rendered as belonging to a folder with the same name.
- Contain multiple folder names separated by a backslash (\\), denoting an embedded folder hierarchy.
The **DisplayFolder** property also applies to calculated measures and hierarchies.
The corresponding elements in the Analysis Management Objects (AMO) object model are and .
## See Also
[Objects (ASSL)](../../../analysis-services/scripting/objects/objects-assl.md)