Build Custom Formula Functions

Create custom functions that can be accessed through Alteryx Designer anywhere an expression editor exists, such as the Formula tool, Multi-Row Formula tool, Filter tool, or others. Custom functions are made by:

  • writing an XML file, which wraps parameters into other function calls
  • writing a C-style DLL

Regardless of the method of creation, the functions are made available to Designer using an XML formula function file, which must contain the following attributes:

  • <name>: A unique name that appears in the functions list.
  • <NumParams>: The number of parameters the function accepts.
  • <Category>: The function category that displays the function. This can be a new category or an existing one.
  • <InsertText>: The boilerplate text that is inserted to the expression editor when the function is used.
  • <Description>: A description that displays when the function is hovered over.