Reply
LastThird
Microsoft Employee
Microsoft Employee
Partially syndicated - Outbound

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

Syndicated - Outbound

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

Syndicated - Outbound

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.

 

avatar user

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)