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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

How to debug a transform script?

When I try to Apply my load and transform script, I get the following error:

 

GzzztBrain_0-1651245445930.png

 

So, I understand that there is something somewhere that can't be converted to a number, but what is it? Which column and row?

 

How does one debug this sort of thing?

 

Thanks in advance.

Gzzzt

1 ACCEPTED SOLUTION
Vijay_A_Verma
Most Valuable Professional
Most Valuable Professional

In PQ screen, View menu - Check column Quality - Here you can see if any column is having errors.

Screen preview is limited to 1000 rows not to entire dataset, hence errors may not be getting reported.

At the down below, click Column profiling based on top 1000 rows and change it to entire data set.

Now check for errors.

1.png

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thanks. That did enable me to fix the problem. I had code that was a numeric character in the top 1,000 rows but later on contained alpha chartacters. 

 

However to find it, I had to go through the columns one at a time. Is there a way to make it tell me which of the columns had a problem?

Vijay_A_Verma
Most Valuable Professional
Most Valuable Professional

In PQ screen, View menu - Check column Quality - Here you can see if any column is having errors.

Screen preview is limited to 1000 rows not to entire dataset, hence errors may not be getting reported.

At the down below, click Column profiling based on top 1000 rows and change it to entire data set.

Now check for errors.

1.png

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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