cancel
Showing results for 
Search instead for 
Did you mean: 
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".


@ 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!:
Mastering Power BI 2nd Edition

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?


@ 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!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors