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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Zoubeyr
Frequent Visitor

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
MVP

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors