Table.ViewFunction

Table.ViewFunction is a Power Query M function that creates a view function based on a given function that can be handled in a view created by Table.View. The function returns a view function that can be used within a Table.View.

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

Syntax

Table.ViewFunction( function as function ) as function

Description

Creates a view function based on function that can be handled in a view created by Table.View.

The OnInvoke handler of Table.View can be used to define a handler for the view function.

As with the handlers for built-in operations, if no OnInvoke handler is specified, or if it does not handle the view function, or if an error is raised by the handler, function is applied on top of the view.

Refer to the published Power Query custom connector documentation for a more complete description of Table.View and custom view functions.

Other functions related to Table.ViewFunction are:

BI Gorilla Youtube Channel

Last update: August 17, 2023 | Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/powerquery-m/table-viewfunction
© 2023 BI Gorilla. All rights reserved. Content derived from Microsoft documentation is property of Microsoft Corp.