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
SteveS1
New Member

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

I need assistance.

 

I get the above shown expression error.

I am in the desktop.  I  am connecting to an Azure SQL database.  It has 20 tables. I have previously direct connected to 18 of the 20.  Now i open a brand new model, and i choose to connect to previous data source.  I see all 20 tables.  I choose the 19th table.  As soon as i 'check the box' (selecting the table), the above error (The key didn't match any rows in the table) shows up in the Navigator box. 

 

The table has a primary key.  It also has a foreign key to another table.

 

This is my first post.  Have i missed providing any important information to solving this issue?

 

1 ACCEPTED SOLUTION
pqian
Employee
Employee

You are seeing locally cached results been returned. I think the 19th table is new in the database and therefore doesn't exist in the local cache. In this case simply refresh from the navigator (button right on top of the error) should work.

In the next release of desktop we plan to automatically refresh your local cache if we see this error.

View solution in original post

21 REPLIES 21

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.