Forum Discussion

Tom12347821's avatar
Tom12347821
Frequent Visitor
2 years ago
Solved

Circular Query

I get the below message when looking at the data model on power bi service. It doesn't show up on desktop version. is there an way to identifiy exactly what it's refering to so I could fix?

 

Circular query chain present. Member name= Parameter4. Index = 383

 

Thanks,

  • I encountered the same error and resolved it by adjusting my parameters. Initially, my parameter was designed to either pull in the top 10,000 rows or display the table name.  I did this to reduce the table sizes. I corrected this by changing the parameter to point directly to the source instead of the table name.  After republishing and refreshing, the error disappeared. I hope this helps someone.

16 Replies

    • Tom12347821's avatar
      Tom12347821
      Frequent Visitor

      Thanks i have raised a ticket so will see what they say

  • gareauk's avatar
    gareauk
    Regular Visitor

    I encountered the same error and resolved it by adjusting my parameters. Initially, my parameter was designed to either pull in the top 10,000 rows or display the table name.  I did this to reduce the table sizes. I corrected this by changing the parameter to point directly to the source instead of the table name.  After republishing and refreshing, the error disappeared. I hope this helps someone.

    • Tom12347821's avatar
      Tom12347821
      Frequent Visitor

      Thanks I did managed to resolve in the end. It was the parameters that were auto generated from connecting to an excel online in the past. I removed all the sample files/paratmeter bits and reconnected the affected tables which fixed.

    • cdebackere's avatar
      cdebackere
      Resolver I

      For me I have the same problem, but I can't get it solved.

      In my case the query / function is indeed recursive on purpose. A single DB API call is limited in number of records to lets say 1000. So when I call the function, it always asks for max 1000 to the DB API, and then the rest is called from a recursive call with record 1000/2000/3000.... as starting point.

       

      This works perfectly in Desktop.

      But now when published to the service I get this error message.

       

      Any idea?