Forum Discussion

rdnguyen's avatar
rdnguyen
Helper V
4 years ago
Solved

Dataflow table lost

Hi there,    I recently experienced the case where Tables within dataflows suddenly become not recognizable. When I go and edit the dataflow, the table was there, but no other dataflow which refer ...
  • v-cazheng-msft's avatar
    4 years ago

    Hi rdnguyen,

     

    Just as the error message “The key didn’t match any rows in the table” said, this issue should be caused by there is a table name that can't be found now. And normally, these points could be the reason why this error may happen.

    • The table name has been changed, for example in the data source itself.
    • The account used to access the table doesn't have sufficient privileges to read the table.
    • There may be multiple credentials for a single data source, which isn't supported in Power BI Service. This error may happen, for example, when the data source is a cloud data source and multiple accounts are being used to access the data source at the same time with different credentials. If the data source is on-premises, you'll need to use the on-premises data gateway.

    For more details, you could refer to Error: The key didn't match any rows in the table.

     

    To remove this error, you need open the Power Query Editor of your dataflows and navigate to the affected query, if you don’t see the exact error, click on Refresh Preview and the same error will be visible there:

     

    Check M script in Advance Editor, if you see the table mentioned in error message is hardcode there, that's why it will fail if the name changed or the table dropped for any reason. You can fix that in the Advanced Editor by changing the name to the new name or you can do it by clicking on "Edit Settings" button in the alert message. And click on the new table name or the target table in the prompted dialog. 

     

    If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please let me know. Thanks a lot!

     

    Best Regards,                                               

    Community Support Team _ Caiyun