Forum Discussion

Young_G_Han's avatar
Young_G_Han
Helper III
1 year ago
Solved

Circular dependency detected error, but I cannot find the problem in my desktop file

  Dear Sir   I have uploaded a report and set a schedule refresh. I don't know how it happened, but the refresh suddenly failed due to the circular dependency detected error. And I want to check m...
  • rajendraongole1's avatar
    1 year ago

    Hi Young_G_Han - you may want to consider rebuilding the _Date table without the CALENDARAUTO() function. Instead, use a specific date range with the CALENDAR() function, which can help you manually control the date range and avoid potential conflicts.

    eg: _Date = CALENDAR(DATE(2020,1,1), DATE(2024,12,31))

     

    You can use a simpler function like CALENDAR() if you don't need the dynamic nature of CALENDARAUTO().

    you can also cross check In Power BI Desktop, you can use the Query Dependencies View to visualize relationships between your queries. This can help you identify where the circular dependency might be occurring.

    cross check the model view and connections.