title | description | ms.date | ms.service | ms.custom | ms.topic | ms.author | ms.reviewer | author |
---|---|---|---|---|---|---|---|---|
Condition Element (ASSL) | Microsoft Docs |
Learn about the Condition property element in the Analysis Services Scripting Language (ASSL) schema. |
10/31/2023 |
analysis-services |
assl |
reference |
kfollis |
kfollis |
kfollis |
Contains a Multidimensional Expressions (MDX) expression that determines whether the Action parent element applies to the target.
<Action>
...
<Condition>...</Condition
...
</Action>
Characteristic | Description |
---|---|
Data type and length | String |
Default value | None |
Cardinality | 0-1: Optional element that can occur once and only once. |
Relationship | Element |
---|---|
Parent element | Action |
Child elements | None |
The Condition element contains an MDX expression that evaluates to a Boolean value. If the expression returns True, then the Action applies to the target specified in the Target element. Otherwise, the Action is not applicable.
The element that corresponds to the parent of Condition in the Analysis Management Objects (AMO) object model is xref:Microsoft.AnalysisServices.Action.