Tips / Trick require

For Community

I am facing Circular issue “Expressions in schema ‘GNL_DATA_Schema’ have a circular definition. Check app formulas and initial values for column ‘DEBIT’”

There are three COLUMNS [DEBIT] [CREDIT] [TYPE]
when trying (using 2 different SLICES and 2 different Menu in One common Table)
If( [TYPE]=X, [DEBIT] = [CREDIT],"") here [DEBIT] is hidden, non editable , not required
If ([TYPE]=Y, [CREDIT] = [DEBIT,"") here [CREDIT] is hidden, non editable, not required
The error received is "Expressions in schema ‘GNL_DATA_Schema’ have a circular definition.
if there is something to resolve that