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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sabd80
Helper IV
Helper IV

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 IV
Helper IV

I solve it.

 

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

View solution in original post

6 REPLIES 6
sabd80
Helper IV
Helper IV

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.