Forum Discussion

CatPhish's avatar
CatPhish
Advocate I
7 years ago
Solved

Cyclic Reference Error on Initial Refresh

I am getting the dreaded "A Cyclic reference was encountered during evaluation" when I refresh my Power BI desktop report file. However, I only get the error when I kick off the initial refresh after opening the file.

 

Each subsequent refresh runs without a problem. If I close the file and reopen it, the initial refresh will throw the error. Also, the table that throws the error is not always the same and there is no additional information provided.

 

This is a very straight forward file, with no append queries or other processes that create derivative tables. Basically, four tables from our local SQL Server database are imported, no manipulations or changes are made to the data.

 

I have been searching the interwebs for anything that can help me sort this out and have not found anything about the problem I'm having.

 

EDIT: I just tried refreshing the file on another PC we use for Power BI and I didn't get the cyclic reference error.  So strange.

 

If anyone has any thoughts about how to diagnose this, I would be eternally grateful. If there is any additional information I could provide, let me know.

  • CatPhish's avatar
    CatPhish
    7 years ago

    I solved  the problem  by uninstalling the Microsoft Store version, and using the regular download.  No problems since then.

7 Replies

    • CatPhish's avatar
      CatPhish
      Advocate I
      Cherie, thanks for getting back to me. I've tried clearing the cache a number of time, and it did not fix the error. I'm on the Windows Store version of the desktop so I always have the latest version (currently Version: 2.65.5313.621 64-bit (December, 2018). I'll open a support ticket.
      • v-cherch-msft's avatar
        v-cherch-msft
        Microsoft Employee

        Hi CatPhish

         

        Could you tell me if your problem has been solved? If it is, welcome to share the solution and mark it as solution. More people will benefit from here. 

         

        Regards,

        Cherie

  • shailesht003's avatar
    shailesht003
    Frequent Visitor

    The issue is with the DB/schema parameter in the PBI Desktop version of April 2022. If you replace the parameters with the actual value it works.
    In case you cant publish without using parameters, consider using previous versions such as March 2022. (It works in PBI March 2022)

    You can download the previous version from the below link.
    https://docs.microsoft.com/en-us/power-bi/fundamentals/desktop-latest-update-archive?tabs=powerbi-desktop

    Until we have the fix available in April 2022 version, you can use the previous version as a workaround.

    Cheers.