cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
eli-k
Frequent Visitor

Mass error handling

Hi all, 

I have a query with many errors in a specific column, resulting from different kinds of problems. I would like to get a list of these problems in order to deal with each one specifically.

I can easily create a table containing only the rows of the query with errors, but then in order to see the specific problem for each error I have to click in the ERROR cell and see the error messages in the bottom of the screen. 
This takes forever in is extremely unefficient in mass error handling. Also I can't export this table to someone working on one of the source files in excel so they can easily see what the problems are and solve them - they have to have access to my file in order to get the extra details for each error.
In order to solve this I would like to add a new column to the table containing those error messages. 

I this at all possible?

1 ACCEPTED SOLUTION
Vijay_A_Verma
Super User
Super User

What I would suggest is following -

1. Let's say the column which is having errors is called Data.

2. In a custom column, put following

=try [Data]

3. Now, it will create a column having records

4. Expand this column - This will create 2 columns - HasError and Error

HasError - True / False - You can filter on True to focus only on Error rows

Error - Will contain a record

5. Now, expand this Error record which will give all required information

1.png

View solution in original post

2 REPLIES 2
Vijay_A_Verma
Super User
Super User

What I would suggest is following -

1. Let's say the column which is having errors is called Data.

2. In a custom column, put following

=try [Data]

3. Now, it will create a column having records

4. Expand this column - This will create 2 columns - HasError and Error

HasError - True / False - You can filter on True to focus only on Error rows

Error - Will contain a record

5. Now, expand this Error record which will give all required information

1.png

Beautiful!! Thank you so much!

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors