Skip to content

Join DataTable

Type: join-datatable  ·  Package: DataTable Activities v1.0.0  ·  Output: DataTable

Combines two DataTables into a single one, matching their rows by a common column (a key). It’s like a JOIN in SQL or a BUSCARV (VLOOKUP) in Excel: it allows you to enrich one table with data from another — for example, join the sales with the catalog of customers to have the name and email next to each sale.

Matches each row in the left table (left) with those in the right (right) that have the same value in the on column (which must exist in both). The type parameter decides what happens to unpaired rows:

  • inner (default): Only keeps rows that have a partner in both tables.
  • left: Keep all rows on the left; Those without a partner on the right are left with those empty columns.
ParameterEditorDescription
leftexpressionThe left DataTable.
rightexpressionThe right DataTable.
ontextName of the common column to join by (must exist in both).
ParameterEditorDescription
typelistUnion type: inner (def.) · left.

Returns a DataTable with the columns from both tables combined.

Join sales with customer data by column ClienteId:

Join DataTable left = = ventas right = = clientes on = "ClienteId" type = left → output: ventasCompletas