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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ngunwhy1
New Member

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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