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.

Reply
Ben81
Helper I
Helper I

A Cyclic reference was encountered - Table created using parameters.

Hi all,

 

I have some tables added via Query Editor and I use parameters to determine the server/databse/schema and table. I do this as sometimes I need to switch to a test schema and it makes the process a lot easier. 

The problem I've encounted is that once I load a table and try to apply the tables I get the error for Cyclic reference, however this only happens on the tables that I haven't performed additional steps in the query editor. 

 

I have no idea what the issue is and haven't been sucessfull searching online for this exact scenario, so any help would be great.

 

Example:

Table 1, last step is the navigation step and this returns the cyclic ref error.
let
Source = Snowflake.Databases(#"URL", #"Wherehouse", [CreateNavigationProperties=null, ConnectionTimeout=null, CommandTimeout=null]),
Database = Source{[Name=#"DB",Kind="Database"]}[Data],
Schema = Database{[Name=#"Schema",Kind="Schema"]}[Data],
View = Schema{[Name="table",Kind="View"]}[Data]
in
View

 

Table 2, last step is filtered rows and does not return any errors

let
Source = Snowflake.Databases(#"URL", #"WhereHouse", [CreateNavigationProperties=null, ConnectionTimeout=null, CommandTimeout=null]),
Database = Source{[Name=#"DB",Kind="Database"]}[Data],
Schema = Database{[Name=#"Schema",Kind="Schema"]}[Data],
View = Schema{[Name="table",Kind="View"]}[Data],
#"Filtered Rows" = Table.SelectRows(View, each true)
in
#"Filtered Rows"

 

 

 

 

3 REPLIES 3
Ben81
Helper I
Helper I

Nobody with a solution then? 😞

amitchandak
Super User
Super User

@Ben81 , Have you added this step manually. Can you please remove it and add it again using the menu options

I didn't add the additional step manually, I did it through the menu options.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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