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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Bartlomiej
New Member

Expression.Error column "x" of the table wasn't found

Hi,

I have a problem with query:

let
    Źródło = Excel.CurrentWorkbook(){[Name="Tabela7"]}[Content],
    #"Zmieniono typ" = Table.TransformColumnTypes(Źródło,{{"ID", type text}}),
    #"Wywołana funkcja niestandardowa" = Table.AddColumn(#"Zmieniono typ", "Table 0", each #"Table 0"([ID])),
    #"Rozwinięty element Table 0" = Table.ExpandTableColumn(#"Wywołana funkcja niestandardowa", "Table 0", {"", "2018/Q1", "2017/Q4", "2017/Q3", "2017/Q2", "2017/Q1", "2016/Q4", "2016/Q3", "2016/Q2", "2016/Q1"}, {"Table 0.", "Table 0.2018/Q1", "Table 0.2017/Q4", "Table 0.2017/Q3", "Table 0.2017/Q2", "Table 0.2017/Q1", "Table 0.2016/Q4", "Table 0.2016/Q3", "Table 0.2016/Q2", "Table 0.2016/Q1"})
in
    #"Rozwinięty element Table 0"

Some tables from source doesn,t have all the mentioned columns. Best option for me would be place value 0 in place of free slots, but I have no idea how to do that, even with "try" expression (mentioned here. Anyone could help?

2 ACCEPTED SOLUTIONS
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Bartlomiej,

 

If I understand your scenario correctly that you have an error message "Expression.Error column "x" of the table wasn't found "in Query Editor?

 

If it is, you should back track through applied steps until you find where the error is in Query Editor.

 

You could have a reference of this similar thread.

 

If you still need help, I would appreciate it if you could share a dummy pbix file which can reproduce the issue, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
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

Hi @v-piga-msft

I had to delete files because of lack of space on dropbox. Anyway I have already solved the problem. I have edited my query and deleted every columns except of the first one, and it worked.

Thanks for help Smiley Happy

 

View solution in original post

5 REPLIES 5
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @Bartlomiej,

 

If I understand your scenario correctly that you have an error message "Expression.Error column "x" of the table wasn't found "in Query Editor?

 

If it is, you should back track through applied steps until you find where the error is in Query Editor.

 

You could have a reference of this similar thread.

 

If you still need help, I would appreciate it if you could share a dummy pbix file which can reproduce the issue, so that we can help further investigate on it? You can upload it to OneDrive or Dropbox and post the link here. Do mask sensitive data before uploading.)

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-piga-msft

 

Thanks for your help, unfortunatelly this solution didn't work for me.

 

About my case, first I made query wich download table 0 from website: https://www.biznesradar.pl/raporty-finansowe-rachunek-zyskow-i-strat/11-BIT-STUDIOS,Q

 

Secondly I made list with ID to download automatically other data and then I add "query from list" (not sure if it is correct english name of that function). In that query I added column with function (download table 0).

 

Error apears (picture in folder) when table 0 for exact ID doesn't contain every columns from query. For example query is starting from 2015/Q1 and for one case table starts with 2015/Q2. Then error "Expression.Error column 2015/Q1 of the table wasn't found" appears. In that case i would like to "simulate" that column with some error message and download the rest of the table. Is that possible?

 

Picture and file: https://www.dropbox.com/sh/yluopazngdpwy2n/AAAiamcDQW8b2zRN_Hcb09c8a?dl=0

 

Best regards,

Bartek

Hi @Bartlomiej,

 

It seems that there is something wrong, I cannot find your picture and file by the links, could you share again?

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-piga-msft

I had to delete files because of lack of space on dropbox. Anyway I have already solved the problem. I have edited my query and deleted every columns except of the first one, and it worked.

Thanks for help Smiley Happy

 

Hi @Bartlomiej,

 

It's gald that you have solved your problem.

 

You could accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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