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
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
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.