Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Adding virtual fields

Updated on July 5, 2022

Create fields based on the ones that are available in the set of input fields. Virtual fields offer the ability to test different ways of treating the same data.

  1. In the Data analysis step, click New virtual field.
  2. In the Virtual field dialog box, in the Name field, enter a unique identifier.
  3. Optional: In the Description field, enter a description.
  4. Construct a formula that defines the virtual field:
    1. Click Functions and select the required function from the list. Click Insert.
    2. Click Fields and select the required field from the list. Click Insert.
    3. Optional: To check the correctness of the formula, click Validate.
  5. Confirm the formula by clicking Save & close.
  6. In the Data analysis step, select the new virtual field and change its role type:
    • For the numeric virtual field, change the role to predictor, value, ignored, benchmark, previous score, or benchmark inference.
    • For the symbolic virtual field, change the role to predictor, ignored, or value.

    For more information on the role types, see Defining the predictor role.

  7. Optional: Set the virtual field as Defining an outcome.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us