Logical Operators Usage

Logical Operators extend a normal mapping rule with VB.Net scripting functionality. To use logical operators, complete the following steps:

  1. Navigate to Application > Data Collection>Transformation Rules.

  2. Under Rule Groups, expand Derivative, then select a derivative rule group.

  3. Select a value from the Type drop-down menu.

  4. Click Insert Row.

  5. Type a name into the Rule Name field.

  6. Type a description into the Description field.

  7. Type an expression into the Rule Expression field. For example, A#[TicketCost]=Math_Power2:A1#[]=None:A2#[]=None:xBDT#[2022-01-01 00;00;00~2022-12-31 23;59;59]!Y.

  8. Double-click the new row in the Logical Operator column.

  9. In the Derivative Expression Editor dialog box, from the Expression Type drop-down menu, select the logical operator you want to use.

  10. Type an appropriate value into the Math Value field and click the OK button.

  11. In the Derivative Type column, set the value to Final (Exclude Calc).

  12. In the Order column, type a value that is greater than the current highest order value in the list.

  13. Click the Save button.

  14. Navigate to the OnePlace tab and set a BI Blend Workflow POV.

  15. Click Load and Transform.

  16. Select a file and click Open.

  17. Click the OK button.

  18. Log in to the database server for the environment and execute a query on the BI Blend database where the data was loaded to. You will see records returned.

  19. Verify that the values in the applicable amount column are equal to the expected results.