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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
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