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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Gandhia
Helper III
Helper III

Expression.Error: The key didn't match any rows in the table.

Good morning everyone,


I have a problem with few reports: Expression.Error: The key didn't match any rows in the table.

And I know the error occurs because there is some "Removed Coloumns" and/or "Removed Other Columns" and/or "Renamed columns" (can see them in desktop --> Transform data) (+ in some reports there are a lot of other changes, too. For example "Added column", "Removed Duplicates", "ExpandTableColumn", "Nested Join" etcetc. 
So the problem is: datasets don't refresh because there have done changes in data source. Dataflows works now, but datasets need changes that they would refresh again. 

For example when there is Renamed Columns in applied steps, I can see what columns have changed, and what they were before change and what they are now. But I don't know and cant solve this issue: HOW can I get over this error? I can't go to the data source and change them, so I need to do it in Power Query I think.

And in Power bi Service there are a refresh errors in datasets. (The 'Column X' column does not exist in the rowset) and the other "The column 'Column X' of the table wasn't found... ... The exception was raised by the IDbCommand interface. Table: [Table's name]

Does anyone have any ideas or solution for this annoying problem? Faster the better. 🙂

Thank you in advance!

4 REPLIES 4
ryan_mayu
Super User
Super User

@Gandhia 

if the column name changed, you can go to advanced editor to do the corresponding change.

11.PNG





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Thanks for the answer. Yes, but how I should do it in concrete terms? In advanced editor it looks like I don't need to do corresponding changes; For example there is already "Table.RenamedColumn(#"Changes type",{{"ID", "Company_ID"}, "CurrentYearToday", "Year"}, {"OrganizationID", "CompanyID"}...

So what should I do? If the Power Query knows those changes etc., why there is still error? And what should I do that I can solve this problem? I don't understand it 😕

could you pls share the pbix file? the error may cause by different reasons. 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Unfortunately it is not possible, which make this more difficult.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors