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

Get certified as a Fabric Data Engineer: Check your eligibility for a 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700. Get started

Reply
LastThird
Microsoft Employee
Microsoft Employee

Error thrown due to phantom strong relationship(s) when managing aggregations

I have two (DirectQuery) detail tables, with an (imported) aggregation table based on them, but: when attempting to configure aggregation management in PowerBI, it throws this error:

"Detail column cannot be aggregated to one or more Group By columns using strong relationships."

image.png

The problem is that this error throws even when I modify (or at least I think I modify) every table related to the detail tables so that they should not be strongly-related to anything else in the model. The only table that appears like it could even possibly be strongly-related to either detail table is dim_Tenant, but changing its storage mode to Import (which I would expect to change its relationships to the detail tables to weak) has no effect on the error:

image.png

 

image.png

2 REPLIES 2
LastThird
Microsoft Employee
Microsoft Employee

So actually, never mind on this problem for now... while I'm fairly certain that it should be possible to link an agg table to multiple DirectQuery detail tables, I suspect that the way I was trying to do it here (i.e. no relationship between the detail tables) was the problem. I'm going to try some experiments with cleaner data warehouse data (e.g. Worldwide Importing) -- where the data lends itself to a direct relationship between detail tables -- and see if I'm right.

v-xiaotang
Community Support
Community Support

Hi @LastThird 

could you share your sample file after removing sensitive information? I will test it later.

 

Best Regards,

Community Support Team _ Tang

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

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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