Error.Unexpected

Updated on

Error.Unexpected is a Power Query M function that returns an error record for an unexpected or unhandled condition in a query or extension.

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

Syntax

Error.Unexpected(
   message as nullable text,
   optional options as nullable record,
) as record

Contribute » | Contributors: Rick de Groot

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