Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

circular dependency error

Hi,   I tried to create a New Column as shown in screenshot but got an error message as displayed ;   busdetails = table in which am trying to create new column minfarekm = measure for cal...
  • Anonymous's avatar
    Anonymous
    4 years ago

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

  • Anonymous's avatar
    Anonymous
    4 years ago

    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's avatar
    Anonymous
    4 years ago

    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

  • Anonymous's avatar
    Anonymous
    4 years ago

    Thank you once again, this one is more helpful 👍