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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Circular Dependency in the Desktop but not in the Fabric Service after March 2024 Update

Hello 

 

After the March 2024 update a Circular Dependency Detected error began to appear in a relationship that seemed to be fine since forever. In fact, the Fabric Service does not issue this error. What's worse, any changes I try to make to the dataset regardless of where the changes are made; this error pops up and completely ignores applying the changes I want to make. Is there a "bug" in the latest Desktop update? Why did this error not exist prior to this? I need help, I can't seem to shake off this issue and I have several updates I need to make to this dataset which cannot be made in the Fabric service.

Status: Investigating

Hi @BI4Kids 

Thanks a lot for the sample, I tested it based on the sample you provided. I didn't encounter any DAX related errors during the whole process. You can refer to my screenshot. 

Recording 2024-04-22 at 02.50.26.gif

The version I'm currently testing is 2.128.952.0 64-bit (April 2024). If you've updated to that version and are still having problems testing it out, I'd suggest mentioning a Support Ticket. A dedicated Microsoft engineer will come to solve the problem for you.

It would be great if you continue to share in this issue to help others with similar problems after you know the root cause or solution.

The link of Power BI Support: https://powerbi.microsoft.com/en-us/support/

For how to create a support ticket, please refer to https://community.powerbi.com/t5/Community-Blog/How-to-create-a-support-ticket-in-Power-BI/ba-p/6830...

 

Best Regards,
Community Support Team _ Ailsa Tao

 

 

 

 

 

 

Comments
BI4Kids
Regular Visitor

I just discovered that I could revert back to a previous version of the Power BI Desktop from Power BI updates archive. So I installed the February 2024 update and sure enough the error is gone. I guess the March 2024 is "buggy"...

 

If anyone else is experiencing similar issues, you can test if its from the most recent update by reverting back to the previous version of Power BI desktop from here:

 

https://learn.microsoft.com/en-us/power-bi/fundamentals/desktop-latest-update-archive?tabs=powerbi-d...

 

So will someone from Microsoft Power BI let me know once this bug is corrected??

v-yetao1-msft
Community Support
Status changed to: Investigating

Hi @BI4Kids 

Please check if there is an error associated with the blank value, and if so, change it to 0. 

 

Best Regards,
Community Support Team _ Ailsa Tao

BI4Kids
Regular Visitor

@v-yetao1-msft There does not seem to be. I initially thought I did, but to no avail was it that. It seems there is a flaw with the update. I dont get the error in the service and the February update does not give the error.

NarWind
Regular Visitor

I've got the exact same issue with a client. Relationships that worked for months suddenly broke. I'm using a calculated table that is related back to another dimension table. 

sgroth001
Frequent Visitor

I have the same thing.

ebeery
Solution Sage

We're seeing this error too, with a calculated table that has a 1:N relationship with a dimension table.  This table and relationship have existed in this state for > 2 years with no issues until the March 2024 version of PBI Desktop was released.

 

In our case, the issue appears to be related to the internal VALUES() function that's contained within SUMMARIZECOLUMNS, as described in the articles linked below.  

 

Replacing the SUMMARIZECOLUMNS function with an equivalent expression using FILTER, ADDCOLUMNS, CROSSJOIN, and DISTINCT seemed to "solve" the issue.

 

What's not at all clear to me is why this code worked for the last 2+ years, but is only causing circular dependency errors since the March 2024 release.  

Avoiding circular dependency errors in DAX - SQLBI

ebeery_0-1712698017681.png

 

SUMMARIZECOLUMNS – DAX Guide

ebeery_1-1712698041234.png

 

BI4Kids
Regular Visitor

@ebeery thanks for the addiional context to the issue. But I still believe SUMMARIZECOLUMNS creates DISTINCT records innately. This calculated table worked all this time up until the March Desktop update. In addition, the SERVICE does not have any issues with the relationship.

 

I tried changing this:

 

BI4Kids_0-1712764271801.png

to this:

BI4Kids_1-1712764880795.png

but now the query takes astronomically longer; in fact what used to take less than 9 seconds ran for more  than 5 minutes before I canceled it. I believe there is a flaw with the DAX error handling in this latest update. 

ebeery
Solution Sage

@BI4Kids I agree, something strange is going on.

 

Double-check that DAX though - did you intend for the DATESBETWEEN to be part of the FILTER function, rather than part of the CROSSJOIN?

BI4Kids
Regular Visitor

@ebeery I did originally, but the process ran unusually long and never finished. So I tried to get the date filter executed a bit deeper in the query to see if it made a performance difference; which it did not. At this point, I am just going to continue to develop this dataset in February 2024 update and wait on MS to resolve the obvious issue with the March update. Hopefully soon, because this is annoying...

v-yetao1-msft
Community Support
Status changed to: Investigating

Hi all ,

Power BI Desktop has been updated to April version , you can test it on a new version and see if the problem persists. Looking forward to the results of your tests.

 

Best Regards,
Community Support Team _ Ailsa Tao