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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
drorli
Helper I
Helper I

Error: "Expression.Error: The column 'Column Name' of the table wasn't found" For existing Column

Hi,

 

The below is driving me crazy! I have a table with an existing column ("Issue key"). I know it exists since I filter empty and select distinct on it ...

Still, when trying to buffer the table (or Group By another column) I get an error that the column does not exits.

Any Idea?

 

let
Source = ALL_ENTITIES,
#"Issue Type as text" = Table.TransformColumnTypes(ALL_ENTITIES,{{"Issue key", type text}}),
#"Remove Empty Issue Type" = Table.SelectRows(#"Issue Type as text", each [Issue key] <> null and [Issue key] <> ""),
TEST = Table.Buffer(#"Remove Empty Issue Type"),
#"Grouped Rows" = Table.Group(#"Remove Empty Issue Type", {"Project Code"}, {{"Latest Update Date", each List.Max([Updated]), type nullable date}})
in
#"Grouped Rows"

 

Error:

drorli_0-1724586041159.png

 

1 ACCEPTED SOLUTION
drorli
Helper I
Helper I

Problem solved. It was unrelated, in obtaining the data for '

ALL_ENTITIES

View solution in original post

3 REPLIES 3
drorli
Helper I
Helper I

Problem solved. It was unrelated, in obtaining the data for '

ALL_ENTITIES
shafiz_p
Resident Rockstar
Resident Rockstar

Hi @drorli  This simply means that the steps don't have any column named "Issue key". Please try to check step by step and make sure its presence. Since, you have not provided any data, it is not possible to check the root cause. If you want community to check, please provide data.

Thanks @shafiz_p . Unfortunatly, it is not that simple.

This row, works without issue:

#"Remove Empty Issue Type" = Table.SelectRows(#"Issue Type as text", each [Issue key] <> null and [Issue key] <> "")

This is proof that column [Issue key] exists.

 

The next row does not explicitly mention column [Issue key] at all, I just ask:

TEST = Table.Buffer(#"Remove Empty Issue Type"),

 

Still, it complains that "The column 'Issue key' of the table wasn't found"

So, it is something deeper ...

 

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.