Error Handling Functions Overview

Updated on

Understand Error Handling Functions in Power Query M Language, vital for handling errors in your data manipulation tasks. This page provides a comprehensive list and descriptions of Error Handling Functions available in the M Language.

Error Handling Functions

FunctionDescription
Diagnostics.ActivityIdReturns an opaque identifier for the currently-running evaluation.
Diagnostics.CorrelationIdReturns an opaque identifier to correlate incoming requests with outgoing ones.
Diagnostics.TraceWrites a trace entry, if tracing is enabled, and returns the value.
Error.RecordReturns an error record from the provided text values for reason, message and detail.

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/powerquery-m/error-handling

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