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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Martin_R
Frequent Visitor

After deploying from Dev to Test Error message on relationship which does not hold any data

Hi,

I recently added a new SQL server table Inventory via import mode to my Power BI report , which links to Store on StoreKey. I also added a new visual showing Inventory for Store Name. All tables come from the same SQL database


After promoting to Test env via deployment pipeline no errors were displayed. The connections were updated to test  but when i open the viusal I get this error message.
The expression referenced a relationship between 'Inventory'[StoreKey] and 'Store'[StoreKey], which does not hold any data because it needs to be recalculated.

I can see the data in inventory table contains values for StoreKey and Store also contains all values for columns including StoreKey

Why is this happening ? How do I fix this ?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Martin_R 

 

You can troubleshoot the problem by following these steps:

 

  • Check the validity of the relationship between the two tables in the test environment
  • Whether there are calculated columns or measure that depend on the relationship between the two tables

The following documents may help you:

Solved: The relationship doesn't hold any data because it ... - Microsoft Fabric Community

Model relationships in Power BI Desktop - Power BI | Microsoft Learn

 

Best Regards,
Yulia Xu

 

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
Anonymous
Not applicable

Hi @Martin_R 

 

You can troubleshoot the problem by following these steps:

 

  • Check the validity of the relationship between the two tables in the test environment
  • Whether there are calculated columns or measure that depend on the relationship between the two tables

The following documents may help you:

Solved: The relationship doesn't hold any data because it ... - Microsoft Fabric Community

Model relationships in Power BI Desktop - Power BI | Microsoft Learn

 

Best Regards,
Yulia Xu

 

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.