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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
ngunwhy1
Regular Visitor

I am getting a can't find column error for a column I didn't know existed?

Hi,

 

I am getting an error that says can't find column and tells me the table and the name of the column but I have never used this column and didn't even know it existed. I don't know where this column has come from and I have checked the sources of all of all my tables in Power Query and it is not there. Is there any way I can see this column that it is struggling to find? Or another way around this issue.

 

I have checked the source for the table it is telling me however the column is not there either,

 

Thanks,

Neve

1 ACCEPTED SOLUTION
Anonymous
Not applicable

No matter. In whichever step is causing the error, add the last parameter: MissingField.Ignore.

--Nate

View solution in original post

2 REPLIES 2
v-kelly-msft
Community Support
Community Support

Hi  @ngunwhy1 ,

 

You could use below M code to check whether the column exists in your table:

= Table.AddColumn(#"Changed Type", "Custom", each Table.HasColumns(Source,"Column1"))

And you will see:

vkellymsft_0-1629099082377.png

You could also use below M code to get all the column names in the table:

 #"Added Custom1" = Table.AddColumn(#"Added Custom", "Custom.1", each Table.ColumnNames(Source)),
 #"Extracted Values" = Table.TransformColumns(#"Added Custom1", {"Custom.1", each Text.Combine(List.Transform(_, Text.From), ","), type text})
in
    #"Extracted Values"

And you will see:

vkellymsft_1-1629099171205.png

I made a simple sample for reference,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my reply as a solution!

Anonymous
Not applicable

No matter. In whichever step is causing the error, add the last parameter: MissingField.Ignore.

--Nate

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.