Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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!
Hi,
Share some data, describe your question and show the expected result.
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
Hi,
You can share dummy data (in a form that ca be copied in MS Excel).
User | Count |
---|---|
126 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |