Circular reference problem

didijaba

Well-known Member
Joined
Nov 26, 2006
Messages
511
Hello, pls help. I have two column, A and B in Power Pivot data model. I will try to make it simple so I'll use Excel cell reference.
Formula in A column of data model is for A1: 2+B1, A2: 2+B2, ....
Formula for of data model B1=0, for B2=sum(A$1:A1), for B3=(A$1:A2), .... Problem is I set DAX formula in A and B, but I get circular reference error. is there any way around it. I used COUNTROW to determine first row where B1=0, and FILTER, SUMX for summing values. How to get around this problem??
Thanks,
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
The best way to fix the problem is to understand what it is you are trying to accomplish. From what I can tell, column 'A' will contain powers of 2 (2,4,8,16,...) and column 'B' is column 'A' - 2. How were you going to use this in PowerPivot? What is the ultimate goal?
 
Upvote 0
This can be done all in one calculated column, but I do not know how to sum calculated values from earlier rows in that calculated column?
 
Upvote 0
So, you are good? I wasn't super sure if you were just trying to create a "running total" by your ID column? Which is easier than you are making it... :)
 
Upvote 0
Thanks, I wanted to see if recursive calculation can be done using DAX. If you have idea how to do this, I'm all ears :).
 
Upvote 0
Nope, no way to do it. It makes forward projection style calcs incredibly difficult. FY16 is [whatever was in FY15] + [new interest] + [new business]... no good way to do this. The calc can be done, but it has to be thought of as "in any given year what are ALL the things that feed into this year..." which is un-fun.
 
Upvote 0

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,078
Latest member
skydd

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