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
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
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.