--- title: "Data Mining Extensions (DMX) Operator Reference | 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 --- # Data Mining Extensions (DMX) Operator Reference [!INCLUDE[ssas-appliesto-sqlas](../includes/ssas-appliesto-sqlas.md)] The Data Mining Extensions (DMX) language in [!INCLUDE[msCoName](../includes/msconame-md.md)] [!INCLUDE[ssNoVersion](../includes/ssnoversion-md.md)] [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)] supports arithmetic, assignment, comparison, logical, and unary operators. The following table lists the operators that DMX supports. |Operator|Description| |--------------|-----------------| |[+ (Add) (DMX)](../dmx/add-dmx.md)|An arithmetic operator that adds two numbers together.| |[- (Subtract) (DMX)](../dmx/subtract-dmx.md)|An arithmetic operator that subtracts one number from another number.| |[* (Multiply) (DMX)](../dmx/multiply-dmx.md)|An arithmetic operator that multiplies one number by another number.| |[(Divide) (DMX)](../dmx/divide-dmx.md)|An arithmetic operator that divides one number by another number.| |[< (Less Than) (DMX)](../dmx/less-than-dmx.md)|A comparison operator. For arguments that evaluate to non-null values, returns TRUE if the value of the argument on the left is less than the value of the argument on the right; returns FALSE otherwise. If either argument or both arguments evaluate to a null value, the operator returns a null value.| |[> (Greater Than) (DMX)](../dmx/greater-than-dmx.md)|A comparison operator. For arguments that evaluate to non-null values, returns TRUE if the value of the argument on the left is greater than the value of the argument on the right; returns FALSE otherwise. If either argument or both arguments evaluate to a null value, the operator returns a null value.| |[= (Equal To) (DMX)](../dmx/equal-to-dmx.md)|A comparison operator. For arguments that evaluate to non-null values, returns TRUE if the value of the argument on the left is equal to the value of the argument on the right; returns FALSE otherwise. If either argument or both arguments evaluate to a null value, the operator returns a null value.| |[<> (Not Equal To) (DMX)](../dmx/not-equal-to-dmx.md)|A comparison operator. For arguments that evaluate to non-null values, returns TRUE if the value of the argument on the left is not equal to the value of the argument on the right; returns FALSE otherwise. If either argument or both arguments evaluate to a null value, the operator returns a null value.| |[<= (Less Than or Equal To) (DMX)](../dmx/less-than-or-equal-to-dmx.md)|A comparison operator. For arguments that evaluate to non-null values, returns TRUE if the value of the argument on the left is less than or equal to the value of the argument on the right; returns FALSE otherwise. If either argument or both arguments evaluate to a null value, the operator returns a null value.| |[>= (Greater Than or Equal To) (DMX)](../dmx/greater-than-or-equal-to-dmx.md)|A comparison operator. For arguments that evaluate to non-null values, returns TRUE if the value of the argument on the left is greater than or equal to the value of the argument on the right; returns FALSE otherwise. If either argument or both arguments evaluate to a null value, the operator returns a null value.| |[AND (DMX)](../dmx/and-dmx.md)|A logical operator that performs a conjunction on two numeric expressions.| |[NOT (DMX)](../dmx/not-dmx.md)|A logical operator that performs a negation on a numeric expression.| |[OR (DMX)](../dmx/or-dmx.md)|A logical operator that performs a disjunction on two numeric expressions.| |[+ (Positive) (DMX)](../dmx/positive-dmx.md)|A unary operator that returns the positive value of a numeric expression.| |[- (Negative) (DMX)](../dmx/negative-dmx.md)|A unary operator that returns the negative value of a numeric expression.| |[Double Slash (Comment) (DMX)](../dmx/double-slash-comment-dmx.md)|Indicates a text string that [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)] should not execute. You can nest comments within a DMX statement, include them at the end of a line of code, or insert them on a separate line.| |[-- (Comment) (DMX) Summary](../dmx/comment-dmx-summary.md)|Indicates a text string that [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)] should not execute. You can nest comments within a DMX statement, include them at the end of a line of code, or insert them on a separate line.| |[Slash Star (Comment) (DMX)](../dmx/slash-star-comment-dmx.md)|Indicates a text string that [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)] should not execute. You can nest comments within a DMX statement, include them at the end of a line of code, or insert them on a separate line.| ## See Also [Data Mining Extensions (DMX) Function Reference](../dmx/data-mining-extensions-dmx-function-reference.md) [Data Mining Extensions (DMX) Reference](../dmx/data-mining-extensions-dmx-reference.md) [Data Mining Extensions (DMX) Statement Reference](../dmx/data-mining-extensions-dmx-statements.md) [Data Mining Extensions (DMX) Syntax Conventions](../dmx/data-mining-extensions-dmx-syntax-conventions.md) [Data Mining Extensions (DMX) Syntax Elements](../dmx/data-mining-extensions-dmx-syntax-elements.md) [Operators (DMX)](../dmx/operators-dmx.md)