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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.