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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.