Action.ViewError

Updated on

Action.ViewError is a Power Query M function that creates a special error record which does not trigger fallback behavior when thrown by a view handler.

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

Syntax

Action.ViewError( errorRecord as record ) as record

Description

Creates a modified error record from errorRecord which won’t trigger a fallback when thrown by a handler defined on a view (via Action.View).

Learn more about Action.ViewError in the following articles:

  • M Mysteries: The Mysterious Type Action—An M-Internal Means to Write Data Modifications to External Systems
    In his article “M Mysteries: The Mysterious Type Action,” Ben Gribaudo explores Power Query’s hidden capability to perform data modifications—such as inserts, updates, and deletes—using the undocumented ‘action’ type. Although Power Query is primarily designed for data retrieval and transformation, Gribaudo reveals that it possesses internal functions that can interact with external data sources to modify data. These functions, however, are not intended for general use and require the Power Query SDK for implementation. » Read more

Other functions related to Action.ViewError are:

Contribute » | Contributors: Rick de Groot

2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy