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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Refresh failed and solved re-entering credentials

Hi,

I'm having daily refresh errors from different PowerBI reports with single connections to an Azure SQL DB.

 

The message errors are of the type:

  • The key didn't match any rows in the table.
  • The SELECT permission was denied on the object

 

If I try to refresh the dataset manually it fails again with the same error message, but if I re-enter the credentials from the Azure SQL connection and I refresh the dataset it works correctly.

 

The different reports use different credentials in some cases, but the password hasn't changed in any case.

 

¿What can be the origin of this problem?

I'm finding more than 20 daily refresh errors.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @venal the posts you show are related with code problems.

On all my cases, the reports refresh correctly after renew the credentials on datasource.

View solution in original post

3 REPLIES 3
venal
Memorable Member
Memorable Member

@Anonymous 

Please refer the links.

https://community.powerbi.com/t5/Desktop/Expression-Error-The-key-didn-t-match-any-rows-in-the-table/td-p/186522

https://community.powerbi.com/t5/Desktop/Expression-Error-The-key-didn-t-match-any-rows-in-the-table/td-p/493013

https://community.powerbi.com/t5/Desktop/The-key-didn-t-match-any-rows-in-the-table-Table/td-p/335889

https://community.powerbi.com/t5/Desktop/powerbi-com-only-The-key-didn-t-match-any-rows-in-the-table/td-p/28933

 

There were lot of causes to to get the above error.

If the error comes, please try to refresh the data model from Desktop and publish the same to the same workspace.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more
If this post was helpful may I ask you to mark it as solution and click on thumb symbol?

Anonymous
Not applicable

Hi @venal the posts you show are related with code problems.

On all my cases, the reports refresh correctly after renew the credentials on datasource.

nickyvv
Most Valuable Professional
Most Valuable Professional

I was having the exact same issue today for an on-premises SQL database with a Windows (service)account. Strange thing is it only happened with one source.

The things I found:

  • The Power BI gateway entry was disconnected due to failed impersonation I believe.
  • I tested the service account directly on the database and that worked.
  • I re-entered the (same) credentials as were already in the gateway and the error was gone

I have no idea what happened.



Did I answer your question? Mark my post as a solution!

Blog: nickyvv.com | @NickyvV


Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors