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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.