Label | Explanation | Data Type |
Expression Type | Specifies the type of expression that will be used.
| String |
Expression | The Python or Arcade expression that will be evaluated. For Python expressions, use the Expression parameter for short one line expressions. Use the Code Block parameter for more complex expressions, such as multiline calculations or logical operations. The Code Block parameter cannot be used on its own; it must be used in conjunction with the Expression parameter. For Arcade expressions use the Expression parameter for all types of expressions, including short, complex, and logical operations. | SQL Expression |
Code Block (Optional) | A Python code block. Reference the code in the code block using the Expression parameter. | String |
Data type (Optional) | Specifies the data type of the return value of the Python expression. This parameter supports chaining the output of the Calculate Value tool with other tools in ModelBuilder.
| String |
Derived Output
Label | Explanation | Data Type |
Value | The calculated value. | Data Element; Layer; Table View |