A circular dependency was detected:

msarfaraz

New Member
Joined
Oct 18, 2012
Messages
46
I have table Name "Table of all Data" with 6 column field
Date TYDate LYTotal Available Unit This Year
Total Sale Unit This Year

<tbody>
</tbody>
Total Available Unit Last Year

<tbody>
</tbody>
Total Sale Unit This Year
01/01/201701/01/2016500350600400

<tbody>
</tbody>
I creates New column This Year Sold Unit % by formula, LY occ % = calculate(Sum('Table of all data'[Total Sale Unit This Year]))/calculate(Sum('Table of all data'[Total available Unit This year]))
and its work fine but when I create another column by formula TY occ % = calculate(Sum('Table of all data'[Total Sale Unit Last Year]))/calculate(Sum('Table of all data'[Total available Unit Last year]))
I got error "A circular dependency was detected"

Any Help
 
Last edited:

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
on a normal sheet bottom left footer shows which cell has the circular reference, or at leaset the first one to rectify
 
Upvote 0
on a normal sheet bottom left footer shows which cell has the circular reference, or at leaset the first one to rectify

Please note this is the "Power BI" forum; not the Excel forum. The formulas supplied are DAX formulas.
 
Upvote 0
Hi
I am sorry, but I do not uderstand why you used calculate function in a calcualtion column? I think its result is equal simple formula
Instead
Code:
[COLOR=#333333]This Year Sold Unit % by formula, LY occ % = calculate(Sum('Table of all data'[Total Sale Unit This Year]))/calculate(Sum('Table of all data'[Total available Unit This year]))[/COLOR]
Use
Code:
=[COLOR=#333333]'Table of all data'[Total Sale Unit This Year] / [/COLOR][COLOR=#333333]'Table of all data'[Total available Unit This year][/COLOR]
In row calculation context of table they are equal.
Regards,
 
Upvote 0

Forum statistics

Threads
1,215,963
Messages
6,127,963
Members
449,412
Latest member
montand

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top