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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Marcelo_br
Regular Visitor

Unable to refresh data, the key didn't match any rows (Synapse sql)

Hello,

 

I started running into this issue of "key didn't match any rows" with the dashboard that I manage and i can't get close to a solution on that.

The funny thing is that everything refreshs without an issue from the desktop, but after the dashboard is published, it never refreshs and it throws those errors on different tables at random ( it usually changes after I go to Powerquery on desktop and refresh preview on all tables, then apply& close and refresh all data).

 

I also have some other dashboards consuming data from the same database, so I'd assume it's not on the server side.

 

Any one has any sugestion before I try to recreate the file from scratch(hoping this might be the last solution) ?

 

Data source error: Expression.Error: The key didn't match any rows in the table.. Microsoft.Data.Mashup.ErrorCode = 10061. Key = [Schema = "iam_billing", Item = "tb_allocation_target_account"]. Table = #table({"Name", "Data", "Schema", "Item", "Kind"}, {}). ;The key didn't match any rows in the table.. The exception was raised by the IDbCommand interface. Table: Allocation Target per account.
Cluster URI: WABI-US-NORTH-CENTRAL-D-PRIMARY-redirect.analysis.windows.net
Activity ID:
Request ID:
Time: 2025-04-08 18:57:12Z

 

EDIT:

I don't know why I can't reply this topic, but I guess I solved my own issue.

The dashboard probably had multiple credentials for the same data source. I reviewed all tables and set to the same configuration ( connecting to the database instead of the server + navigating to the database), cleared credentials and once the credential was refreshed, finally I could replicate the issue on the desktop.

 

Refreshed everything and it worked like a charm.😬

1 ACCEPTED SOLUTION
v-sathmakuri
Community Support
Community Support

Hi @Marcelo_br ,

 

Thank you so much for sharing this, This kind of post is incredibly valuable to the community. Definitely consider turning this into a blog post so others can benefit from your experience more easily

https://community.fabric.microsoft.com/t5/Power-BI-Community-Blog/bg-p/community_blog 

 

Please consider Accepting as solution to help the other members find it more quickly.

 

Thanks & Regards,

Rekha,

Customer Support Team

View solution in original post

2 REPLIES 2
v-sathmakuri
Community Support
Community Support

Hi @Marcelo_br ,

 

Thank you so much for sharing this, This kind of post is incredibly valuable to the community. Definitely consider turning this into a blog post so others can benefit from your experience more easily

https://community.fabric.microsoft.com/t5/Power-BI-Community-Blog/bg-p/community_blog 

 

Please consider Accepting as solution to help the other members find it more quickly.

 

Thanks & Regards,

Rekha,

Customer Support Team

Idrissshatila
Super User
Super User

Hello @Marcelo_br ,

 

yes, this issue means that there is some sort of access / permission issue with the data source.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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