Struggling to understand circular reference

masplin

Active Member
Joined
May 10, 2010
Messages
413
I have powerpivot model in Excel 2016 and can't understand why i'm getting a circular reference for this formula


Code:
=IF(    Total EBITDA>=3000 &&
    VALUE(Results[EBITDA])<=10000 &&
    VALUE(Results[ROC])>0.20 
           ,      "Y",
      BLANK()
      )

but not for this formula

Code:
=IF(    VALUE(Results[EBITDA])>=3000 &&
    VALUE(Results[EBITDA])<=10000 &&
    VALUE(Results[ROC])>0.20 
           ,      "Y",
      BLANK()
      )

Where in the first case "Total EBITDA" is a measure =SUM(Results[EBITDA]). why does VALUE on a table column work but what looks like the same measure not?

I have another calculation I'd like to add to the IF statement using

EBIDTA 3Y Growth:=IFERROR((([Total EBITDA]-[Total EBITDA_Y3])/ABS([Total EBITDA_Y3])),BLANK())

Where Total EBITDA_Y3:=SUM([EBITDA_Y3])

but adding EBITDA 3Y Growth>0 or VALUE([EBIDTA 3Y Growth])>0 both generate a circular error

The circular reference mentions this field which make no sense as cant see any connection

CompanyFind=IF(RELATED(DME[Company name])=BLANK(),IF([KeywordInstance]=0,"Reject","New"),"DME")

The table DME only has one relationship and
Code:
KeywordInstance:=SUMX(Keyword,
    SUMX(Results,
        Keyword[Weight]*
        (LEN(LOWER(Results[Trade description]))-LEN(SUBSTITUTE(LOWER(Results[Trade description]),LOWER(Keyword[Keyword]),"")))/
        LEN(Keyword[Keyword])
    )
)

where keyword has no relationships

Any advice appreciated as just can't work out where the issue is
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Ah brilliant all becomes clear. So if i add an ID column and make it the Row Identifier should work

Thanks
 
Upvote 0
I personally haven't done that, but otherwise you might need to use ALLEXCEPT in your measure, which is pretty tedious.
 
Upvote 0
In excel works perfectly. i understand this cant be done in Power BI Desktop which must be a pain.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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