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, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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