Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 to Rank to Xyear. How do i get around that?
Solved! Go to Solution.
@db042190 , Create two columns
XYear1 = [XYear]
Rank = RANKX('mytable','mytable'[XYear],,DESC,Dense)
Then sort XYear1 on rank and use XYear1 in the visual
How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c
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:
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
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:
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
@db042190 , Create two columns
XYear1 = [XYear]
Rank = RANKX('mytable','mytable'[XYear],,DESC,Dense)
Then sort XYear1 on rank and use XYear1 in the visual
How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |