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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

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

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.