---
title: "MembersWithData 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:
- "MembersWithData Element"
apilocation:
- "http://schemas.microsoft.com/analysisservices/2003/engine"
apitype: "Schema"
applies_to:
- "SQL Server 2016 Preview"
f1_keywords:
- "MembersWithData"
helpviewer_keywords:
- "MembersWithData element"
ms.assetid: 845087a2-b12d-4344-a8be-85ca61155296
caps.latest.revision: 33
author: "Minewiskan"
ms.author: "owend"
manager: "erikre"
---
# MembersWithData Element (ASSL)
Determines whether to display data members for non-leaf members in the parent attribute.
## Syntax
```xml
...
...
...
```
## Element Characteristics
|Characteristic|Description|
|--------------------|-----------------|
|Data type and length|String (enumeration)|
|Default value|*NonLeafDataVisible*|
|Cardinality|0-1: Optional element that can occur once and only once.|
## Element Relationships
|Relationship|Element|
|------------------|-------------|
|Parent element|[DimensionAttribute](../../../analysis-services/scripting/data-type/dimensionattribute-data-type-assl.md)|
|Child elements|None|
## Remarks
The value of the **MembersWithData** element is used only by parent attributes (in other words, the value of the [Usage](../../../analysis-services/scripting/properties/usage-element-dimensionattribute-assl.md) element of the **DimensionAttribute** parent element is set to *Parent*) to determine whether to display data members for non-leaf members in the parent attribute. For more information about data members, see [Attributes in Parent-Child Hierarchies](../../../analysis-services/multidimensional-models/parent-child-dimension-attributes.md).
The value of this element is limited to one of the strings listed in the following table.
|Value|Description|
|-----------|-----------------|
|*NonLeafDataHidden*|Non-leaf data is hidden.|
|*NonLeafDataVisible*|Non-leaf data is visible.|
The enumeration that corresponds to the allowed values for **MembersWithData** in the Analysis Management Objects (AMO) object model is .
## See Also
[MembersWithDataCaption Element (ASSL)](../../../analysis-services/scripting/properties/memberswithdatacaption-element-assl.md)
[DimensionAttribute Data Type (ASSL)](../../../analysis-services/scripting/data-type/dimensionattribute-data-type-assl.md)
[Properties (ASSL)](../../../analysis-services/scripting/properties/properties-assl.md)