Action.Return

Updated on

Action.Return is a Power Query M function that creates an action that performs no action when executed, and instead returns the specified value as its result.

Compatible with: Power BI Service Power BI Desktop Excel Microsoft 365

Syntax

Action.Return( value as any ) as any

Description

Creates an action that performs no action when executed and returns value as its result.

Examples

Creates an action that, when executed, performs no action and returns the value "hello world!" as its result.

Action.Return( "hello world!" )

Other functions related to Action.Return are:

Contribute » | Contributors: Rick de Groot