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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
AmilaMG
New Member

Refresh failed : A cyclic reference was encountered during evaluation

I have power bi desktop report that needs to refresh. when i hit refresh it gives me the error "A cyclic reference was encountered during evaluation".

This report consist of ODBC snowflake queries which has "select * from table" for odbc query. And there is no merges or append queris. This refresh worked for 2021 December update but for newer versions this issue remains same. 

 

Do anyone have some idea regarding this? Please help

6 REPLIES 6
v-stephen-msft
Community Support
Community Support

Hi @AmilaMG ,

 

Did you check your steps in the applied steps? You may find which step is the problem.

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello,
Let me first expalin my scenario:
I am trying to do incremental refresh on the dataset using stored procedure with Start Date and End Date as parameters. When the date field is filtered with these parameters as you can see them on code below from advanced editor, when closed and applied the steps, it throws the following error. Couldn't find the answer on any blog posts online.
Here is the error I get;

pthapa_0-1714677555517.png

pthapa_1-1714677635417.png

Any help would be great.

thanks,

pthapa

What do you have the #"Filtered Rows"  step for?  Seems redundant.

 

Incorporate RangeStart and RangeEnd into the query string instead of using the parameters option.

 

Or use the parameters option but check your syntax.  Chris Webb's BI Blog: Passing Parameters To SQL Queries With Value.NativeQuery() In Power Query And ...

I have the #"Filtered Rows" step for filtering a date/time field (in this case is completion date) for incremental refresh. So, the RangeStart and RangeEnd are two parameters that is used to filter the data for incremental refresh.
How do I implement in the query?

You already do that in your Stored Procedure. No need to do it again.

JamesWick
Helper I
Helper I

This can be displayed with the error "Local file header is corrupted". All connections are connections to the API, not files. Again, clicking Update will always work the second time.

 

Hope this helps,
J Wick

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors
Top Kudoed Authors