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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Babedgy
Regular Visitor

circular depenency only in Power BI Service but not Power BI Desktop

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.

Babedgy_0-1728895328080.png

 


Thank you for your help ❤️

1 ACCEPTED 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.

 

View solution in original post

16 REPLIES 16
shpazkel
New Member

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.

Starriver
Advocate III
Advocate III

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:

 

  • Currently few of our other users are facing a similar issue. An unexpected defect may have surfaced on our end which caused service outage in some regions. and our Product Group team also confirmed that it is a known issue, and they were actively working on this issue. 

 

  • The issue can be mitigated by changing the CalendarAuto to Calendar function.

 

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 🙂

Anonymous
Not applicable

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.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

pmargari
Advocate II
Advocate II

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 :
error.png

Set all cases to :

good.png

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!

@Babedgy 


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.

SimonsJourney
Frequent Visitor

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

AndrejZitnay
Post Patron
Post Patron

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()
)

 



SamWiseOwl
Super User
Super User

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.

SamWiseOwl_0-1728897147242.png

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:

Kalendertabelle =
VAR BasisKalender =
    CALENDARAUTO(12) //Gibt an, dass das Jahr im Dezember endet
RETURN
    GENERATE( //Definieren der wichtigsten Variablen
        BasisKalender,
        VAR BasisDatum = [Date]
        VAR JahresDatum = YEAR(BasisDatum)
        VAR MonatsDatum = MONTH(BasisDatum)
        VAR QuartalsDatum = QUARTER(BasisDatum)
        VAR WochenDatum = WEEKNUM(BasisDatum, 21)
        VAR TagDatum = DAY (BasisDatum)
        RETURN ROW( //Definieren der Spalten
            "Referenzdatum", BasisDatum,
            "Jahr", JahresDatum,
            "Quartal", "Qrtl " & QuartalsDatum,
            "MonatsNr", MonatsDatum,
            "Monat", FORMAT(BasisDatum, "MMMM"),
            "Woche", "KW " & FORMAT(WochenDatum, "00"),
            "TagNr", TagDatum,
            "Wochentag", FORMAT(BasisDatum, "DDDD"),
            "Jahr.MonatsNr", JahresDatum & "." & FORMAT(BasisDatum, "MM"),
            "Monat Jahr", FORMAT(BasisDatum, "MMM YY")
        )
    )
It's very basic and nothing crazy. And it does work fine in other reports so I dont understand why not in this one.

Removing Auto doesnt help too unfortunately. 

Thank you grande

 

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.

Helpful resources

Announcements
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 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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