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

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.

Reply
Anonymous
Not applicable

Return Errors and Error Messages From Table

I'm looking to create a simple error log for the users of my power query spreadsheet. I'm looking to following the methodology found in this post viewing-error-messages-for-all-rows-in-power-query. However, this method uses the Try function on a column.

My errors are spread out across multiple columns. I tried to unpivot columns but I can't because of the errors I'm getting.

 

I could also iterate over every single cell like this Desktop/Iterate-over-each-cell-in-a-table, but I'm unsure of how to integrate these two together. Looking at power query's current error query, there is a Table.SelectRowsWithErrors function but not one that works with Columns.

 

Does anyone know how to pull a list of records, and the columns which have errors, along with an error message?

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

Try using Table.ColumnNames to get the names of columns from a table and then invoke a custom function.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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