Type.ForFunction
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.
Creates a function type from the given Arguments.
Type.ForFunction(signature as record, min as number) as type
| Argument | Description |
|---|---|
| signature | A Record value that contains fields for ReturnType and Parameters. Parameters is itself a record with all the parameter values assigned to their expected types. |
| min | The minimum number of Arguments required to invoke the function. |
Type.ForFunction([ReturnType = number, Parameters = [X = number]], 1)
Show: