March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi guys,
Just some background , i have some data that was pulled in from snowflake. The snowflake datasets sits in dataflow with a schedule refresh every 4 hours. I then created a PBI desktop to connect directly to that data flow (Refresh works fine on PBI desktop). However, the issues come after uploading it into service. I constantly get an error :
Error
Data source error: [ValidateMarkupTags][ccon]Expression.Error: The key didn't match any rows in the table.. Key = [ccon][workspaceId = "6b30afcc-43ab-4eea-a79##########"][/ccon]. Table = [ccon]#table({"workspaceId", "workspaceName", "workspaceType", "Tags"}, {})[/ccon]. [/ccon];[ccon]The key didn't match any rows in the table.[/ccon]. The exception was raised by the IDbCommand interface. Table: f_learning_course_user_new.
Some of the things that i've tried are
- Deleting that dataset and republishing
- Checking my workspace id, so far it matches.
Lineage View
Hope someone is able to advise on this. thank you.
BR
J
Hi @Jared__
The error message you're encountering suggests there's a mismatch with the keys in one of your tables after publishing to the service. Here are the steps you can take to troubleshoot and resolve the issue:
Ensure that the dataset refreshes without any issues in Power BI Desktop.
Double-check the relationships and keys within your tables to ensure they match your data model expectations.
Confirm that the Workspace ID in your data source settings matches the ID of the workspace where the dataflow is located.
Verify that the dataflow itself is successfully refreshing and does not have any errors.
Utilize the Lineage View feature in Power BI Service to examine the dataflow and dataset dependencies.
Look for any discrepancies or broken connections that might indicate where the key mismatch is occurring.
Navigate to the dataset settings in Power BI Service.
Update the credentials and connection details to ensure they are current and accurate.
Attempt a manual refresh of the dataset in Power BI Service.
If it fails, carefully review the error message for additional clues about the mismatch.
Check if there have been any schema changes in the Snowflake data source that might affect the dataset.
Look for column changes, especially those involved in key relationships or transformations.
After making any necessary corrections in Power BI Desktop, republish the dataset to Power BI Service.
If using an incremental refresh policy, verify that the configuration is correct and that the keys used are consistent with the data source.
Regards,
Nono Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Jared__
Datasets on top of Dataflows need to be refreshed after the refresh of Dataflows had finished otherwise it could create the mismatch
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
40 | |
26 | |
17 | |
11 | |
10 |
User | Count |
---|---|
58 | |
52 | |
23 | |
14 | |
11 |