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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
andrea_chiappo
Helper III
Helper III

Two identically calculated columns, one circular dependency error message

I have (among other) the following two tables: DimGroups[groupID] <-> DimGroupsUsers[groupID]  

where the arrow indicates that there's a two-way relationship linking the tables via the dimension [groupID]  

 

DimGroups

Capture.PNG   

DimGroupsUsers

Capture2.PNG

 

I first created a fatherGroupID column in DimGroupsUsers using the following formula 

 

fatherGroupID = LOOKUPVALUE(DimGroups[fatherGroupID], DimGroups[groupID], DimGroupsUsers[groupID])  
 
This worked correctly (as can be seen in the second snapshot).  
However, when I repeated the same formula to create a second column copying the description field from the first,  
using the following  
 
fatherContextName = LOOKUPVALUE(DimGroups[description], DimGroups[groupID], DimGroupsUsers[groupID])  
 
so changing only the fatherGroupID -> description , I get the circular dependency error.  
 
I even tried producing an identical column to the first, changing only the name (and keeping fathergroupID),   
but I always get the circular denpendency error.  
 
Why is this and how can I remedy? Thank you
 
UPDATE
I feel that I need to use function RELATED somehow, but I can't figure out how 
2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@andrea_chiappo 

 

To use RELATED function, ensure the Cardinality is set to Many-to-One (*:1).

 

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

there is already a many-to-one relationship

Capture.PNG

 

but the following   

fatherGroupDescription = LOOKUPVALUE(DimGroups[description], DimGroups[groupID], RELATED(DimGroupsUsers[groupID]))  
returns an error  
 
Yet, I don't understand why creating a column using LOOKUPVALUE the first time works, while the second it doesn't

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors