Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.