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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Unable to refresh the SQL DB on Pwoer BI server and also the autorefresh is not working

Hallo Everyone,

 

I am facing with a problem when I publish the power BI on Web and try to refresh the DB.

 

The Gateway is set and the DB is working well on the Power BI Desktop where I can refresh it. The problem is only occurring when I publish eh DB and try to refresh it from the web. It is important since I wasn’t to share it and assign an auto refresh schedule.

 

Could you please help me there?

Capture.PNG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thank you for your answer. Actually the problem has been solved. 

but I have used a different method as it was suggested although all of them were helpful. 

 

However, thank you for pointing out that I can creat a support ticket. That is something to use in the future. 

View solution in original post

6 REPLIES 6
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

Could you please tell me whether your problem has been solved?
Here is no content of description in the thread. If you still need help, please share more details to us.

You also can create a support ticket in Power BI Support to get further help.

https://powerbi.microsoft.com/en-us/support/ 

 

Best Regards,
Community Support Team _ Eason

Anonymous
Not applicable

Thank you for your answer. Actually the problem has been solved. 

but I have used a different method as it was suggested although all of them were helpful. 

 

However, thank you for pointing out that I can creat a support ticket. That is something to use in the future. 

v-easonf-msft
Community Support
Community Support

Hi , @Anonymous 

There are many possible reasons for this error message“The key didn‘t match any rows in the table”.

First please confirmed that you service account running the gateway have read access.

Then make sure  the data source credentials are correct. 

You also need to check the table name and table structure in the SQLDB have not been changed.Even the little difference in capitalization may cause similar errors.

 

Related thread:

https://community.powerbi.com/t5/Desktop/Gateway-refresh-error-The-key-didn-t-match-any-rows-in-the-table/td-p/856294

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

http://dataap.org/blog/2020/05/04/solved-power-bi-dataset-refresh-error-the-key-didnt-match-any-rows-in-the-table/ 

 

Best Regards,
Community Support Team _ Eason

 

Nimai123
Post Patron
Post Patron

Hello @Anonymous 

 

I have faced this same issue a few weeks back.

 

You can try doing this hope it helps!

  • Update the Gateway.
  • Re-configure the Gateway. (Check the mappings)
  • Do not run many refreshes at the same time because then the load increases on the SQL server.
  • Raise a support ticket which is free if you are a PRO user, they will help you to get the logs and help you to understand the source of error so that we can work on the right direction. 

If you like my solution give it a Kudos!

And if it solves your problem accept it as a solution.

 

Regards,

Greg_Deckler
Community Champion
Community Champion

@Anonymous 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".



Follow on LinkedIn
@ 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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
amitchandak
Super User
Super User

@Anonymous , seem like an issue with Gateway

refer

Troubleshoot gateway
https://docs.microsoft.com/en-us/power-bi/connect-data/service-gateway-onprem-tshoot
https://guyinacube.com/2016/09/21/troubleshooting-connectivity-tips/
https://www.youtube.com/watch?v=mGnNn6gnrKk

 

else log an issue -https://community.powerbi.com/t5/Issues/idb-p/Issues

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.