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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Sharepoint Refresh - Key Match Error

I have a Dashboard that we use, that is connected via Sharepoint, and both datasources are saved on the Sharepoint site.

 

We move Dashboards through to a 'DEV' space on sharepoint to test issues like this before publishing. The main issue here is that when I refresh the dashboard locally on my Desktop it works perfectly fine, no query errors and no errors at all. Refreshes using the data sets that are saved on the Sharepoint so there is no Source errors.

 

It is only when I try and refresh the Report on Sharepoint do I get the below error. I have followed all the community solutions aswell as PBI Architechts on our team and we are all stuck right now.

 

Error Code here with redacted names: value":"The key didn't match any rows in the table."}},

1 ACCEPTED SOLUTION
v-yueyunzh-msft
Community Support
Community Support

Hi, @Anonymous 

According to the detailed error information you provided and your error description, you will encounter this error message when you publish the report on the service, but the data on the desktop was refreshed successfully before, and there is no problem:

 

  value":"The key didn't match any rows in the table."}}

 

 

Judging from the error information, it should be caused by changes in the data structure of the data source (table name, field name, field order, field data type). The data refresh on the desktop is a schema refresh, and such errors will not be encountered. , but the service above is pure data refresh. If there is any change in the data structure of the data source, such an error will be reported. Therefore, if it is convenient, you need to check carefully and confirm the root cause of the problem in the data source. If it is convenient, you also need to go to the desktop In the Power Query part, first confirm whether the preview refresh of all queries will not report the same error:

vyueyunzhmsft_0-1692928047388.png

 

There are also some cases of the same error for your reference and continue to analyze:
Chris Webb's BI Blog: Understanding The “The key didn’t match any rows in the table” Error In Power Query In Power BI Or Excel Chris Webb's BI Blog (crossjoin.co.uk)

Solved: Expression.Error: The key did not match any rows i... - Power Platform Community (microsoft.com)

Solved: Expression Error.: The key didn't match any rows i... - Microsoft Power BI Community

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

Hi, @Anonymous 

According to the detailed error information you provided and your error description, you will encounter this error message when you publish the report on the service, but the data on the desktop was refreshed successfully before, and there is no problem:

 

  value":"The key didn't match any rows in the table."}}

 

 

Judging from the error information, it should be caused by changes in the data structure of the data source (table name, field name, field order, field data type). The data refresh on the desktop is a schema refresh, and such errors will not be encountered. , but the service above is pure data refresh. If there is any change in the data structure of the data source, such an error will be reported. Therefore, if it is convenient, you need to check carefully and confirm the root cause of the problem in the data source. If it is convenient, you also need to go to the desktop In the Power Query part, first confirm whether the preview refresh of all queries will not report the same error:

vyueyunzhmsft_0-1692928047388.png

 

There are also some cases of the same error for your reference and continue to analyze:
Chris Webb's BI Blog: Understanding The “The key didn’t match any rows in the table” Error In Power Query In Power BI Or Excel Chris Webb's BI Blog (crossjoin.co.uk)

Solved: Expression.Error: The key did not match any rows i... - Power Platform Community (microsoft.com)

Solved: Expression Error.: The key didn't match any rows i... - Microsoft Power BI Community

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.