Table Functions
Functions for creating, transforming, and querying tables.
- Table.AddColumnAdds a new column with values computed from a function applied to each row.
- Table.AddIndexColumnAdds a sequential index column to a table.
- Table.BufferBuffers a table into memory, ensuring it is fully evaluated and its row order is preserved.
- Table.ColumnNamesReturns the column names of a table as a list of text values.
- Table.CombineAppends multiple tables into a single table by stacking their rows.
- Table.DistinctRemoves duplicate rows from a table based on all columns or specified criteria.
- Table.DuplicateColumnDuplicates a column in a table with a new name.
- Table.ExpandRecordColumnExpands a column of records into individual columns.
- Table.ExpandTableColumnExpands a column of nested tables into individual columns in the parent table.
- Table.FillDownReplaces null values in specified columns with the most recent non-null value above.
- Table.FillUpFills null values in specified columns with the next non-null value below.
- Table.FirstNReturns the first N rows from a table, or rows matching a condition.
- Table.FromRecordsCreates a table from a list of records.
- Table.GroupGroups rows by key columns and applies aggregation functions to produce summary results.
- Table.HasColumnsReturns true if a table contains the specified column or columns.
- Table.IsEmptyReturns true if a table contains no rows.
- Table.LastNReturns the last N rows from a table, or rows matching a condition from the end.
- Table.NestedJoinJoins two tables on matching key columns and returns the matched rows from the second table as a nested table column.
- Table.PivotRotates distinct values from an attribute column into new column headers, aggregating corresponding values.
- Table.PrefixColumnsPrefixes all column names in a table with a given text value.
- Table.ProfileReturns a profile of the values in each column of a table.
- Table.PromoteHeadersPromotes the first row of a table to column headers.
- Table.RangeReturns a specified number of rows from a table starting at a given offset.
- Table.RemoveColumnsRemoves the specified columns from a table.
- Table.RemoveDuplicatesRemoves duplicate rows from a table based on one or more key columns.
- Table.RenameColumnsRenames one or more columns in a table.
- Table.ReorderColumnsReorders columns in a table to a specified order.
- Table.ReplaceValueReplaces occurrences of a value in specified columns using a replacer function.
- Table.ReverseRowsReverses the order of rows in a table.
- Table.RowCountReturns the number of rows in a table.
- Table.SchemaReturns a table describing the columns (schema) of the input table.
- Table.SelectColumnsReturns a table with only the specified columns.
- Table.SelectRowsReturns a table of rows from the input table that match a selection condition.
- Table.SkipSkips the first N rows of a table, or rows matching a condition.
- Table.SortSorts the rows of a table using one or more comparison criteria.
- Table.TransformColumnsApplies transformation functions to the values in one or more columns.
- Table.TransformColumnTypesTransforms the types of the specified columns in a table.
- Table.UnpivotTransforms specified columns into attribute-value pairs, normalizing a wide table into a tall, narrow format.
- Table.UnpivotOtherColumnsUnpivots all columns except the specified ones into attribute-value pairs.