Function.ScalarVector(scalarFunctionType as type, vectorFunction as function) as function


Returns a scalar function of type scalarFunctionType that invokes vectorFunction with a single row of arguments and returns its single output. Additionally, when the scalar function is repeatedly applied for each row of a table of inputs, such as in Table.AddColumn, instead vectorFunction will be applied once for all inputs.

Reference Data

Power Query M Functions / Function Values / Function.ScalarVector