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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.