Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Helloooo,
suddenly the automatic refresh of my report is failing since Power BI detects a circular dependency in my calender table.
Whats surprising is that when I open the report in Power BI desktop, everything is working fine, I can refresh the data and no error is detected. So the issue is only in Power BI service but not desktop.
I did no recent changes to the report, everything has been working fine for years and now suddenly it does not anymore.
Has there been a new update that is buggy or made some changes in Power BI service? I don't know how to solve the issue, since in Power BI desktop everything is working fine and I dont know where to look.
The same issue appeared at the same time for two of my clients. For both the reports have been working just fine for last couple of months.
this is the error that power Bi service shows to me.
Thank you for your help ❤️
Solved! Go to Solution.
The support confirmed that the Product Group team from MSF is working on it. Using the Calendar function instead of CalendarAuto solves the problem as a temporary fix.
I've resolved issue in my model: i had a couple relastions 1:1 with Both filtering, i've replaced it to 1:many with Both filtering, and it works.
Hi all.
We have this problem as well, and raised a ticket with Micrsoft. We do have a call today in 20 minutes. I will let you know whats the outcome. They wrote that: "The issue can be mitigated by changing the CalendarAuto to Calendar function." which worked for me.
Here is what the support wrote me about this:
---------------------------------------------------------
As per your verbatim we understood that you are facing datasource error in multiple reports.
You could try the below suggestions:
The support confirmed that the Product Group team from MSF is working on it. Using the Calendar function instead of CalendarAuto solves the problem as a temporary fix.
Ah, perfect. This actually worked in my reports as well. Thank yo so much for this 🙂
Hi, @Babedgy
Team feedback that the fix has been deployed, do you still have this circular dependency issue?
Best Regards
Yongkang Hua
Hi @Starriver
This is the reason for things breaking Troubleshoot refresh scenarios - Power BI | Microsoft Learn
I do believe a fix is being rolled out but could take a few days.
Hello all,
I had the exactly the same issue with several models with this error , after some investigation I found that the ones I had errors I had a table connected to the Date table with :
Set all cases to :
and solve all cases where I had this issue
Hope works for you as well
kr
Paulo
Hi Paulo,
thanks, that worked for me!
Same problem existed with an 1:1 relationship in my case. Had to switch it to Many to one and single cross filter direction. Not nice, but works.
Kind regards
Simon
This didn't helped.
In one of the model I don't have date table at all.
Thanks anyway
Excellent solution, thank you for sharing!
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi all,
thanks for this post!
We are having the same problem. It all worked fine until yesterday, October 13th.
We also use the CALENDARAUTO-function to create a date table.
Automatic date/time is turned off globally.
Problem only occurs for one workspace for the date column. In other workspaces with same kind of date table it all works fine.
Further it does not only occur for the latest version of the problematic report, but also for quite old published reports.
It all works fine in Power BI desktop. Also none of the popular problems for circular dependencies does exist in the report. To figure out popular problems I referred to this article https://www.sqlbi.com/articles/avoiding-circular-dependency-errors-in-dax/
Appreciate every possible solution steps 🙂
Kind regards
Simon
Usually I have date table or cost centre tables and relationships between them.
CostCentreTable =
FILTER (
DISTINCT (
UNION ( VALUES(Table1[CostCentre]),VALUES(Table2[CostCentre]),VALUES(Table3[CostCentre]))
),
ISBLANK([CostCentre])=FALSE()
)
Hi @Babedgy
I found this issue when I had a Calendar Table that I had made was interfering with the built in calendar tables.
If you have not used the built in calendar tables (the ones that split your dates into y/q/m/d) then you can turn these off.
You can turn them off Globally for all future reports or turn them off for the current file only.
Specifically I had connected to the UK Gov Bank Holiday API and joined it to my Calendar table.
This was the specific issue for my refresh, when ever the join was recreated it broke.
In fact this error would occur when I dragged the bank holiday date onto the calendar table but not the other way around. Fun!
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Heey @SamWiseOwl,
thank you so much for your reply.
I'm not sure I understand your answer correcly but I use a measure to create my calendar table. Its the same in all of my reports and works fine for other reports. Its only in my sales dashboards that this table suddenly blocks the automatic refresh because of a circular dependency. But only in Power BI Service, not in Power BI Desktop. It's very strange.
I'm not sure if you can understand the measure since its in german but still here it is:
Hello @SamWiseOwl ,
I have same issues. Removing Auto date doens't help.
We have this problem on reports with aggregate tables
Andrej
Is yours with a Date column also or some other relationship?
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
User | Count |
---|---|
48 | |
31 | |
27 | |
26 | |
26 |
User | Count |
---|---|
60 | |
56 | |
36 | |
32 | |
28 |