--- title: "GranularityAttributeID 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: - "GranularityAttributeID Element" apilocation: - "http://schemas.microsoft.com/analysisservices/2003/engine" apitype: "Schema" applies_to: - "SQL Server 2016 Preview" helpviewer_keywords: - "GranularityAttributeID element" ms.assetid: 90e6c939-71bd-462a-a377-4854cb9d5266 caps.latest.revision: 10 author: "Minewiskan" ms.author: "owend" manager: "erikre" --- # GranularityAttributeID Element (ASSL) Contains the identifier (ID) of the attribute associated with the parent [MeasureGroupAttributeBinding](../../../analysis-services/scripting/data-type/measuregroupattributebinding-data-type-out-of-line-assl.md) data type. ## Syntax ```xml ... ... ... ``` ## Element Characteristics |Characteristic|Description| |--------------------|-----------------| |Data type and length|String| |Default value|None| |Cardinality|1-1: Required element that can occur once and only once.| ## Element Relationships |Relationship|Element| |------------------|-------------| |Parent element|[MeasureGroupAttributeBinding](../../../analysis-services/scripting/data-type/measuregroupattributebinding-data-type-out-of-line-assl.md)| |Child elements|None| ## Remarks For more information about out-of-line bindings, see [Data Sources and Bindings (SSAS Multidimensional)](../../../analysis-services/multidimensional-models/data-sources-and-bindings-ssas-multidimensional.md). ## See Also [Properties (ASSL)](../../../analysis-services/scripting/properties/properties-assl.md)