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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. 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
April Fabric Update Carousel

Fabric Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.

Top Solution Authors
Top Kudoed Authors