Forum Discussion

ChrisAZ's avatar
ChrisAZ
Helper V
1 year ago
Solved

Removed column from table and now getting error

I am unclear on how I can remove a column from a CSV source file location without getting this error? I know it is looking for that column based on my initial import, but what is the process for adju...
  • anilelmastasi's avatar
    1 year ago

    Hi ChrisAZ ,


    1. Open Power Query Editor
    In Power BI Desktop, go to Home → Click Transform Data (to open Power Query Editor).
    Find the query that loads your CSV file.
    2. Identify and Remove the Broken Step
    In Power Query Editor, check the Applied Steps pane on the right.
    Look for the step where the missing column was referenced (likely under "Changed Type", "Removed Columns", or "Renamed Columns").
    Click on that step—Power BI will show an error like "The column Operator was not found".


    Either remove that step or modify it to exclude the missing column. (You can send the M code of that step, if you have still problem.)


    3. Refresh the Query
    Click Close & Apply to save the changes.
    Try refreshing the dataset.