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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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".


@ 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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors
Top Kudoed Authors