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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors