Forum Discussion

db042190's avatar
db042190
Impactful Individual
4 years ago
Solved

circular reference in sorting year descending

hi, i just entered this new column.  When i went to the modeling selection (left under data) and chose sort order for XYear, I got an error saying that i had created a circular reference from XYear t...
  • v-luwang-msft's avatar
    4 years ago

    Hi db042190 ,

    A circular dependency is detected whenever two objects reference each other, in such a way that Power BI cannot process the objects. 

    Based on my research, there are normally two ways to solve the circular dependency issue:

    • Add the row identifier column to one of your fact tables, then create corresponding relationships with other fact tables.
    • Use ALLEXCEPT to remove the calculated columns from the set of columns that become part of the dependency list is a viable option.

    For more details about the circular dependency issue, you can refer to this article.

     

    And you also could refer the following article:

    https://www.sqlbi.com/articles/avoiding-circular-dependency-errors-in-dax/ 

     

    Did I answer your question? Mark my post as a solution!And if question not solved ,could you share your sample data?


    Best Regards

    Lucien