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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors