The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
When an error's Message.Parameters are interpolated into its Mesasge.Format to generate its Message, non-text parameters are automatically rendered as text. I'm wondering about a couple details of this conversion:
Thank you!
Solved! Go to Solution.
The parameters of an error message function the same as Text.Format, which will format complex types like record, table and list, in addition to type as their simple type name. For most cases in depth details about an error belong in the Details field.
The parameters of an error message function the same as Text.Format, which will format complex types like record, table and list, in addition to type as their simple type name. For most cases in depth details about an error belong in the Details field.
Hello - error messages and the data type system are very complex topics. Here are some resources that can help.
https://bengribaudo.com/blog/2020/01/15/4883/power-query-m-primer-part-15-error-handling
https://radacad.com/exception-reporting-in-power-bi-catch-the-error-rows-in-power-query
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-type-system
https://docs.microsoft.com/en-us/powerquery-m/m-spec-error-handling
https://docs.microsoft.com/en-us/powerquery-m/m-spec-consolidated-grammar
https://docs.microsoft.com/en-us/powerquery-m/m-spec-lexical-structure