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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Crazket
New Member

Circular dependency error when using CALENDAR in Power BI Desktop (works in web version)

I am facing an issue with a DAX formula: CALENDAR in Power BI Desktop, but this error does not occur when working in the web version.

 

I haven't opened the file in a while, but now I need to edit it and it gives me an error. I also can't modify it, the relationships or anything because when I update I get that error again.

 

"Unable to execute DAX A circular dependency was detected: Calendario[Calendario], 9b3bc1bb-cce3-1a00-c758-644ece7343be, Calendario[Date], Calendario[Calendario]."

 

Crazket_0-1731620823758.pngCrazket_1-1731620857163.png

Crazket_2-1731620869014.png

 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Don't use Auto Date/Time, don't use CALENDARAUTO

View solution in original post

3 REPLIES 3
Crazket
New Member

Replace the formula with Calendar = CALENDAR(DATE(2019, 1, 1), TODAY())
and reassembled the graphs containing Date. This solved the problem, a future without an automatic calendar used!

Anonymous
Not applicable

Hi @Crazket ,

Whether your problem has been resolved? If yes, could you please mark the helpful post as Answered? It will help the others in the community find the solution easily if they face the same problem as yours. Thank you.

 

Otherwise, could you please provide some raw data in your tables(exclude sensitive data) with Text format, the formula of measure/calculated column and visual Fields settings etc.? It would be helpful to find out the solution. You can refer the following link to share the required info:

How to provide sample data in the Power BI Forum

 

In addition, you can refer the following links to try to resolve it.

Understanding circular dependencies in DAX - SQLBI

Avoiding circular dependency errors in DAX - SQLBI

Best Regards

lbendlin
Super User
Super User

Don't use Auto Date/Time, don't use CALENDARAUTO

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.