Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Ben-Dev
Helper II
Helper II

Structured Error Message String Interpolation - Non-Text -> Text Conversions

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:

  • Behind the scense, is Text.From used to conver scalar values to text?
  • It looks like complex values (like table or list) are represented in the interpolated text simply by their literlal type name (e.g. any table will be interpolated into the Message simply as the literal word "table"). Is that always the behavior, or are there cases I'm missing?

 

Thank you!

1 ACCEPTED SOLUTION
artemus
Microsoft Employee
Microsoft Employee

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.

View solution in original post

3 REPLIES 3
artemus
Microsoft Employee
Microsoft Employee

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.

Thank you, @artemus and @jennratten!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors