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
smjzahid
Helper V
Helper V

How to Stop - Replace Error and Rename Column Steps in Power Query

In my dataflow I note that below 2 highlighted steps (Replace Errors, Renamed Columns) are getting inserted automatically by the Power Query (I dont want those 2 steps to be added).

 

What I have done I removed both the steps and save the dataflow, and then when I open the dataflow again I see below 2 steps again, (being added automatically by the Power Query)

 

How do I avoid those 2 steps getting added automatically.

 

smjzahid_0-1597733310638.png

 

6 REPLIES 6
Anonymous
Not applicable

Hello,

This issue affects dataflow as well. It's simply impossible to create a reference to queries giving table that contain binary columns. 

Maybe an improvement on the next versions to avoid type detection completely is due.

 

Best regards,

teylyn
Advocate III
Advocate III

I have the same problem. It keeps transforming a date column to text.

 

tomek_gacek
New Member

@smjzahid 

You could try to define dataypes for each column.
I had the same situation:

tomek_gacek_0-1606308917761.png


and this is caused that all columns had "Any" datatype

tomek_gacek_1-1606309000035.png


when i converted back to the right datatype problem was resolved.
Let me know if it helps.

Anonymous
Not applicable

This was the solution for me. Once I explicitly defined the data types for all columns, the "Replace Errors" step was not being automatically generated anymore.

cassidy
Power Participant
Power Participant

Did you figure out how to stop it?  I have the same issue and the suggested tip didn't work.

Fowmy
Super User
Super User

@smjzahid 

Can you try the following:

Go to Data Flow and edit, Select Project Option and Options in Home Tab, Untick "Automatic Detect column types. . . .".

It is supposed to remove automatic type change but try if it works for your issue as well.

Fowmy_0-1597734631194.png

________________________

Did I answer your question? Mark this post as a solution, this will help others!.

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube, LinkedIn

 



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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.