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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
admin11
Memorable Member
Memorable Member

Expression.Error: The column 'COMPANY' of the table wasn't found.

Hi All

When i refresh my PBI file , i get 8 error :-

admin11_0-1646951408525.png

when i click on View errors , i notice that below are the 8 error :-

admin11_1-1646951920072.png

When i want to delete the first Error in Sales (3) , the bracket (3) , mean that there are 3 error on Sales table , when i search for the 1st error , it said :-

Expression.Error: The column 'COMPANY' of the table wasn't found.

admin11_2-1646952250556.png

I delete it and found that my sales staff still working , I go ahead to search for 2nd error , the error very similar to above  

Expression.Error: The column 'Sal1_' of the table wasn't found.

admin11_3-1646952614469.png

 

Again i delete the error away , my table still working , then i go to 3th error :-

admin11_4-1646952931995.png

Now my first error dis-appear , i just like to know 

The first error on sales table :-

Expression.Error: The column 'COMPANY' of the table wasn't found.

Why this error appear ?

 

Hope some one can share with me.

 

Paul

 

 

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @admin11 ,

 

In general, this error indicates that you have some step in your query that explicitly references the missing column by name.

I think you can check for errors in a different way: open the advanced editor on that query, copy and paste the entire query into a text editor and do a Find for the column name.

The following changes can be made in the statement as a sample:

let
    Source = Table.RemoveColumns(
    Table.FromRecords({[CustomerID = 1, Name = "Bob", Phone = "123-4567"]}),
)
in
    Source


let
    Source = Table.RemoveColumns(
    Table.FromRecords({[CustomerID = 1, Name = "Bob", Phone = "123-4567"]}),
    "Address",MissingField.Ignore
)
in
    Source

Fore more details, you can read related document link:

Table.RemoveColumns - PowerQuery M | Microsoft Docs


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your feedback.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-henryk-mstf
Community Support
Community Support

Hi @admin11 ,

 

In general, this error indicates that you have some step in your query that explicitly references the missing column by name.

I think you can check for errors in a different way: open the advanced editor on that query, copy and paste the entire query into a text editor and do a Find for the column name.

The following changes can be made in the statement as a sample:

let
    Source = Table.RemoveColumns(
    Table.FromRecords({[CustomerID = 1, Name = "Bob", Phone = "123-4567"]}),
)
in
    Source


let
    Source = Table.RemoveColumns(
    Table.FromRecords({[CustomerID = 1, Name = "Bob", Phone = "123-4567"]}),
    "Address",MissingField.Ignore
)
in
    Source

Fore more details, you can read related document link:

Table.RemoveColumns - PowerQuery M | Microsoft Docs


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your feedback.


Best Regards,
Henry


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors