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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register 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
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.