If (Double)

Example

We have a Customers dataset which we will use to evaluate and transform the Items field.

In this example we will use the Expression object to define the condition, and a Variables object to define a real thenValue and a real elseValue.

Where,

Condition: Items = “1”

thenValue = 1.23

elseValue ­ = 2.23

In the output, you can see that real values, 1.23 and 2.23, have been returned depending on whether the Items field condition was met.

© Copyright 2023, Astera Software