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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Anonymous
Not applicable

circular dependency error

Hi,

 

I tried to create a New Column as shown in screenshot but got an error message as displayed ;

 

dsmitha_0-1648563762699.png

busdetails = table in which am trying to create new column

minfarekm = measure for calculating the minimum fare km by refering to a field in the table named Distance 

( MINFAREKM = CALCULATE(distance[TRIPDISTANCE]/2-2 ))

 

rateslababvminfare=field in busdetails table

 

request your help to solve the issue

4 ACCEPTED SOLUTIONS
Anonymous
Not applicable

I recommend trying to create the same expression as a measure instead.

View solution in original post

Anonymous
Not applicable

I recommend reading what Marco Russo wrote about the differences between calculated columns and measures for the best answer to your question: Calculated Columns and Measures in DAX 

View solution in original post

Anonymous
Not applicable

You're welcome. Creating a measure in place of a calculated column has worked for me as a quick fix, but it might not always be the right solution. The SQLBI guys explain how to handle circular dependencies while maintaining a calculated columns, here

View solution in original post

Anonymous
Not applicable

Thank you once again, this one is more helpful 👍

View solution in original post

8 REPLIES 8
Anonymous
Not applicable

Thank you once again, this one is more helpful 👍

Anonymous
Not applicable

Does it need to be a column or can you use a measure?

Anonymous
Not applicable

Dear bchager,

 

Column will be fine 

 

 

 

Anonymous
Not applicable

I recommend trying to create the same expression as a measure instead.

Anonymous
Not applicable

sure, i will do that, thank you 

 

can you please explain why this circular reference issue came with column creation 

Anonymous
Not applicable

I recommend reading what Marco Russo wrote about the differences between calculated columns and measures for the best answer to your question: Calculated Columns and Measures in DAX 

Anonymous
Not applicable

thank you very much , it was an enlightening experience

Anonymous
Not applicable

You're welcome. Creating a measure in place of a calculated column has worked for me as a quick fix, but it might not always be the right solution. The SQLBI guys explain how to handle circular dependencies while maintaining a calculated columns, here

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.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.