Type.FunctionRequiredParameters
This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.
Returns a number indicating the minimum number of parameters required to invoke the a type of function.
Type.FunctionRequiredParameters(#"type" as type) as number
Type.FunctionRequiredParameters( type function () as any) equals 0
Type.FunctionRequiredParameters( type function (x as number) as any) equals 1
Show: