Forum Discussion

kcantor's avatar
kcantor
Icon for Community Champion rankCommunity Champion
10 years ago
Solved

Expression.Error: The key did not match any rows in the table

I have a data set that has refreshed successfully in the past. It was built 3 days ago and refreshed fine for two days. Now I cannot refresh it either on the desktop version or from services. The error reads Expression.Error: The key didn't match any rows int he table. Other tables return the error message Load was cancelled by an error in loading a previous table. I tried to delete the problematic table from the data set with plans to re add it later. When I deleted the problem table, a second table threw the same error. I removed it too and a third then erred.  It is a domino effect. All tables are failing one at a time. The tables, however, are fine. I can use them in other documents and in PowerPivot. any ideas?

A coworker updated her version and the gateway and is getting the same error. This was built in a group and resides in the group folder.

  • Ran into this issue myself within the Power BI Desktop and was able to resolve the issue through the following:

     

    1. Select Edit Queries from the menu to open the Query Editor
    2. Use the left hand menu to select one of the queries having the issue (will have the triangular warning sign)
    3. On the applied steps menu at the right select the source step.
    4. In the top menu bar, select Refresh Preview.

    In my case there were several queries having this same issues and the steps above resolved each of them.

     

    Hope this helps -

45 Replies