Forum Discussion

TLibson's avatar
TLibson
Regular Visitor
27 days ago
Solved

Dataflow gen2 using variables from Variable Libraries Failing

I have a dataflow gen2 in a fabric workspace. I'm updating our workspace so it can be used with deployment pipelines. For this I'm parameterizing navigation queries and destination M code to read lak...
  • Olufemi7's avatar
    26 days ago

    Hello TLibson​,

    I will check the variable queries first. For those queries, are staging and output disabled?

    One thing worth checking is staging on the variable queries. Microsoft suggests turning this setting off when you’re using Variable.ValueOrDefault().

    Another choice is to compare the Workspace and Lakehouse IDs in your variables with the ones returned by Lakehouse.Contents(). If they are not matching, then that mismatch might be the reason you are getting the key error.

    Check the GUID casing too.

    If those match, I will then look at the destination query and table navigation.

    Microsoft docs: Variable references in a Dataflow