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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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.