Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I am working with a customer, in a managed services setting, where I have recently been contacted on a support ticket.
The issue is that the dataset for some of their reports fails on REFRESH.
Specific error message below.
Underlying error code: -2147467259
Underlying error message: The key didn't match any rows in the table.
DM_ErrorDetailNameCode_UnderlyingHResult: -2147467259
Microsoft.Data.Mashup.ValueError.Key: [Schema = "dbo", Item = "PBI_SalesHist_Reps"]
Microsoft.Data.Mashup.ValueError.Reason: Expression.Error
Microsoft.Data.Mashup.ValueError.Table: #table({"Name", "Data", "Schema", "Item", "Kind"}, {})
Cluster URI: WABI-US-EAST2-redirect.analysis.windows.net
Activity ID: 1780f2e9-47f0-44dd-b7ea-b7743ab4c57f
Request ID: 9c25c8e4-82ce-d822-291d-962e5f8a7a23
Time: 2021-09-02 13:15:58Z
On closer investigation, here are more details:
Thanks in advance.
Thanks for the update, that does appear to be weird.
Can you confirm you have got the latest On-Prem gateway installed?
Hi @Anonymous
The issue is with the underlying data source missing keys on a relationship in the table PBI_SalesHist_Reps.
In order to get data from a cloud and on-prem source it all has to go through the gateway in order to get it to refresh successfully. The way it is configured is correct.
Ask them to make sure that all the data is in the underlying source tables and to test it by running Power BI desktop and then refresh.
Forgot to mention... my first troubleshooting step was to download the dataset into PBI Desktop and refresh it... it refreshes successully there. No issues.
I had the exact same pb, it was due to a user access right pb on the SQL machine database. I created a new windows user, gave the good access rights on the SQL server then use that same user in powerbi service & it worked right away. No more refresh issue with underlying ids. Actually before it could access the SQL server but not the tables because of rights access.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
32 | |
20 | |
19 | |
14 | |
12 |
User | Count |
---|---|
28 | |
18 | |
16 | |
16 | |
14 |