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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
chua129
Helper I
Helper I

Needed Help in circular dependency!!!

Hi Guys!

 

I need some help in circular dependency! I have a column that relies on a calculated column that is looked up from another table.  Tried to understand the articles that is posted earlier but i cant seem to! 

 

Thanks! 

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Hi,

 

Share some data, describe your question and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi,

 

Sorry, couldnt show the actual data as I have signed an agreement not to disclose. But here is a sample to what I am facing.

 

I have 3 tables, lets call it A,B and C

 

Table A has a column called Faculty and its specific ID

so eg. SCS - U113 and so on.

 

Table B has a column with the ID. (eg U113)

I have a calculated column that obtains the faculty from Table A using a LOOKUPVALUE(Faculty(Table A), ID(table A), ID(table B)

 

Table C has a column with a grouping and faculty. For example,

Faculty SCS, ACS, OCS belongs to a group call Command.

 

I need to obtain the grouping in Table B based on the calculated column from Table A but it is showing me the circular dependency error. This statement was used...

 

group = IF('Data'[Faculty]="PCS","NO",IF(OR('Data'[Faculty]="OCS",'Data'[Faculty]="SCS"),CALCULATE(FIRSTNONBLANK('Group'[group],1),FILTER('Group','Group'[ID]='Data'[ID])),IF('Data'[Faculty]="VCS",CALCULATE(FIRSTNONBLANK('Group'[group],1),FILTER('Group',' Group'[Cycle key]='Data'[Cycle Key]),ALLEXCEPT(Data,Data[Team])))))

 

Thanks !

Hi @chua129,

I need to obtain the grouping in Table B based on the calculated column from Table A but it is showing me the circular dependency error.

You could still use the LOOKUPVALUE function based on faculty column (the calculated one) in TableB and the faculty column in TableC, to return the group values.

 

Regards,

Yuliana Gu

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

Hi,

 

You can share dummy data (in a form that ca be copied in MS Excel).


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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 Solution Authors
Top Kudoed Authors