Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.19 KB

File metadata and controls

41 lines (30 loc) · 1.19 KB
title IsDescendant (DMX)
description IsDescendant (DMX)
ms.date 02/17/2022
ms.service sql
ms.subservice analysis-services
ms.topic reference
ms.custom dmx

IsDescendant (DMX)

[!INCLUDEssas]

Indicates whether the current node descends from the specified node.

Syntax

  
IsDescendant(<NodeID>)  

Return Type

A Boolean type.

Remarks

IsDescendant is only used in SELECT FROM <model>.CONTENT (DMX) and SELECT FROM <model>.DIMENSION_CONTENT (DMX) queries.

Examples

The following example returns all the cases that are descendants of the node that is specified in the IsDescendant function.

SELECT * FROM [TM Decision Tree].CONTENT  
WHERE IsDescendant('00000000100')  

See Also

Data Mining Extensions (DMX) Function Reference
Functions (DMX)
General Prediction Functions (DMX)