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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
JamesMurkin1
Frequent Visitor

Variable library usage leads to error with dynamic data destination

Hi,

 

I am trying to use a dataflow to load data from an external PostgreSQL database into a Lakehouse. I have dev, test, and prod workspaces created and linked through a deployment pipeline, with identical lakehouses in each. Therefore, as the dataflow goes from one workspace to the next, the destination needs to be managed accordingly (as it doesn't automatically update as part of the deployment process).

 

I have tried using a variable library (based on this documentation) that contains the Workspace and Lakehouse IDs for each stage, but run into an error.

 

I create the WorkspaceID variable using this query (with an equivalent one for the lakehouse ID), and disable staging:

JamesMurkin1_0-1775822766885.png

 

This produces the expected value:

JamesMurkin1_1-1775822886701.png

 

However, as soon as I add a table, I get the following error with the variables:

JamesMurkin1_4-1775823729836.png

The import Variable.ValueOrDefault matches no exports. Did you miss a module reference?

Details
Reason = Expression.Error
ErrorCode = 10079

 

Any help would be appreciated - thanks!

1 ACCEPTED SOLUTION
miguel
Community Admin
Community Admin

hi!

Would you mind confirming a few things, please?

- is your Dataflow a Dataflow Gen2 (CI/CD)?

- are you perhaps using a Gateway? If yes, what version is the gateway?

View solution in original post

2 REPLIES 2
miguel
Community Admin
Community Admin

hi!

Would you mind confirming a few things, please?

- is your Dataflow a Dataflow Gen2 (CI/CD)?

- are you perhaps using a Gateway? If yes, what version is the gateway?

Hi!

 

Thanks for the reply.

 

I've updated the gateway to the latest version (March 2026, was previously from July 2025) which looks to have fixed this issue. Didn't see that anywhere in the documentation so I'm glad you've pointed it out.

 

Thanks 🙂

Helpful resources

Announcements
FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Fabric Update Carousel

Fabric Monthly Update - March 2026

Check out the March 2026 Fabric update to learn about new features.

Top Solution Authors
Top Kudoed Authors