--- title: "IsInNode (DMX) | Microsoft Docs" ms.date: 06/07/2018 ms.prod: sql ms.technology: analysis-services ms.custom: dmx ms.topic: conceptual ms.author: owend ms.reviewer: owend author: minewiskan --- # IsInNode (DMX) [!INCLUDE[ssas-appliesto-sqlas](../includes/ssas-appliesto-sqlas.md)] Indicates whether the specified node contains the current case. ## Syntax ``` IsInNode() ``` ## Return Type A Boolean type. ## Remarks **IsInNode** is only used in [SELECT FROM <model>.CASES (DMX)](../dmx/select-from-model-cases-dmx.md) and [SELECT FROM <model>.SAMPLE_CASES (DMX)](../dmx/select-from-model-sample-cases-dmx.md) queries. ## Examples The following example returns all the cases that were used to create the model that is associated with the node that is specified in the IsInNode function. ``` Select * from [TM Decision Tree].Cases WHERE IsInNode('0') ``` ## See Also [Data Mining Extensions (DMX) Function Reference](../dmx/data-mining-extensions-dmx-function-reference.md) [Functions (DMX)](../dmx/functions-dmx.md) [General Prediction Functions (DMX)](../dmx/general-prediction-functions-dmx.md)