Derive
  • 13 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Derive

  • Dark
    Light

Article summary

Description

The Derive node is used to create new fields (columns) based on an existing field or formula in your dataset. The derive node performs its calculations using either the standard JavaScript language or regular expressions (regex) to script your new field.


Configuration Options

Basic Configuration Options

SettingDescription\Parameters
Column NameThe name of the new column to be created.
JavaScript or RegexToggle between these choices based on your requirements for the newly derived field.
ScriptCraft your script, with JavaScript or regex, to define the new field.

Advanced Configuration Options

SettingDescription
Script SnippetsTyping @ within the script editor will prompt the user for several node-relevant snippets.
ParametersTyping # within the script editor will prompt the user for a list of available parameters.

Actions

ActionDescription
PreviewOnce the node is configured, the source data can be previewed at any time.

Was this article helpful?

What's Next