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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
baklost
Regular Visitor

Dataset not refreshing - The key didn't match any rows in the table

Hi all, 

I have searched this error and I see lots of solutions pointing to excel file names, but in my case I beleive my issue is on the D365 Business Central side. I have a report connected to D365 Business Central and I am getting this error all of a sudden. Could MS have done an update overnight to cause me the need to re-define the source? 

 

One evening I refreshed just fine, and then in the morning I went to refresh and got this error when I went in to the query builder this is the error I see...

 

baklost_0-1600123247671.png

 

 

1 ACCEPTED SOLUTION

I had to reach out to our Microsoft IT partner and they pointed out there was a MS patch that caused the connection from BC to PBI to break due to capital letters....I went into the query editor and changed "PRODUCTION" to "Production" and the connection now works.

View solution in original post

5 REPLIES 5
Jimmy801
Community Champion
Community Champion

Hello @baklost 

 

this to me seems like a problem with your query itself. Maybe your database changed in a way that your code is not working out anymore (like a renamed table or sheet). If you post the query, we could check out where you are using a key

 

BR

 

Jimmy

I had to reach out to our Microsoft IT partner and they pointed out there was a MS patch that caused the connection from BC to PBI to break due to capital letters....I went into the query editor and changed "PRODUCTION" to "Production" and the connection now works.

Greg_Deckler
Super User
Super User

@baklost What do you see when you click the button Go to Error? If it was refereshing fine and now it isn't it could be a Service glitch. Or, possibly something got added that isn't matching up on a key in another table where there is a relationship?

 

You could check the Issues forum here:

https://community.powerbi.com/t5/Issues/idb-p/Issues

And if it is not there, then you could post it.

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

I assumed it was service error at first, but it has persisted for several days now. When I click Go To error, it just points me back at this Production table code. I do think it's possible that someone added a new column to a table that I am linked to, but I didnt expect it to completely break my connection. Is there an easy way to diagnose that?

 

baklost_0-1600124736865.png

 

@baklost Well, you could try removing any relationships and then trying refresh?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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