Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
sabd80
Helper III
Helper III

Calculated Column error Circular dependency

Hi,

I am trying to create a few calculated columns from one table.

 

I had no issue creating the first one, Actual:

Actual = CALCULATE(sum('Consolidated Sales'[GrossSalesValue]),'Consolidated Sales'[Source]="Actual")
 
But for the second one, Budget, I get this error:

A circular dependency was detected: Consolidated Sales[Column], Consolidated Sales[Actual], Consolidated Sales[Column].

Budget = CALCULATE(sum('Consolidated Sales'[GrossSalesValue]),'Consolidated Sales'[Source]="Budget")
 
2024-12-02_11-02-36.png
 
How can I fix this?
1 ACCEPTED SOLUTION
sabd80
Helper III
Helper III

I solve it.

 

Budget=
 IF('Consolidated Sales'[Source]="Budget", 'Consolidated Sales'[GrossSalesValue])

View solution in original post

6 REPLIES 6
sabd80
Helper III
Helper III

I solve it.

 

Budget=
 IF('Consolidated Sales'[Source]="Budget", 'Consolidated Sales'[GrossSalesValue])
DivkLearner
Resolver I
Resolver I

Hello @sabd80

 

I tried the same sample and found the solution is to use "Measure" instead of "Calculated Column".

DivkLearner_0-1733112326906.png

 

Let me know if you are looking for something specific and I can help you with it. 

Regards, 

DivKlearner, A bit forward daily. 

Link to my channel on Power BI.

https://www.youtube.com/watch?v=aADx2sPA2D0&list=PLDUIC70xSiVQQpfqGhOjBVDF8IBP2k6ob

 

Ashish_Mathur
Super User
Super User

Hi,

Share the download link of the PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi, @sabd80 

Thanks for lbendlin's reply. You can provide a pbix file without sensitive data for testing. It might solve the problem faster.

Best Regards,
Yang

Community Support Team

lbendlin
Super User
Super User

is GrossSalesValue a calculated column?

no

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors