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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. 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
watkinnc
Super User
Super User

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

--Nate


I’m usually answering from my phone, which means the results are visualized only in my mind. You’ll need to use my answer to know that it works—but it will work!!

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!

watkinnc
Super User
Super User

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

--Nate


I’m usually answering from my phone, which means the results are visualized only in my mind. You’ll need to use my answer to know that it works—but it will work!!

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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