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
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
Super User
Super User

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! Prices go up Feb. 11th.

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.