title | description | author | ms.author | ms.reviewer | ms.date | ms.service | ms.subservice | ms.topic | ms.custom |
---|---|---|---|---|---|---|---|---|---|
IsInNode (DMX) |
IsInNode (DMX) |
kfollis |
kfollis |
kfollis |
02/17/2022 |
sql |
analysis-services |
reference |
dmx |
[!INCLUDEssas]
Indicates whether the specified node contains the current case.
IsInNode(<NodeID>)
A Boolean type.
IsInNode is only used in SELECT FROM <model>.CASES (DMX) and SELECT FROM <model>.SAMPLE_CASES (DMX) queries.
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')
Data Mining Extensions (DMX) Function Reference
Functions (DMX)
General Prediction Functions (DMX)