<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dataflow Gen2: Variable Library references fail in Connection Settings in Dataflow</title>
    <link>https://community.fabric.microsoft.com/t5/Dataflow/Dataflow-Gen2-Variable-Library-references-fail-in-Connection/m-p/4965154#M5679</link>
    <description>&lt;P&gt;I have this :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In my Advanced Editor query, I have several transformation steps (adding new columns, renaming, etc.) and a merge with other queries.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-start="79" data-end="469"&gt;When I update the parameters using the Variable Library, all transformation steps work correctly, &lt;STRONG data-start="315" data-end="340" data-is-only-node=""&gt;except the Merge step&lt;/STRONG&gt;, which fails.&lt;BR data-start="354" data-end="357" /&gt;The merge returns the following error: &lt;STRONG data-start="398" data-end="469"&gt;“DataFormat.Error: There is no valid Delta table at this location.”&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Jan 2026 09:51:11 GMT</pubDate>
    <dc:creator>AntoineW</dc:creator>
    <dc:date>2026-01-30T09:51:11Z</dc:date>
    <item>
      <title>Dataflow Gen2: Variable Library references fail in Connection Settings</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Dataflow-Gen2-Variable-Library-references-fail-in-Connection/m-p/4958878#M5677</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I am working on variabilizing my Dataflow Gen2 for deployment pipelines, following the documentation on &lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-gen2-variable-references" target="_blank"&gt;Variable references&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I’ve noticed a discrepancy in how variables are handled, and I suspect it might be a bug or a UI limitation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The Issue:&lt;/STRONG&gt; When I define parameters using a &lt;STRONG&gt;Blank Query&lt;/STRONG&gt; and try to use them to replace values in the &lt;STRONG&gt;Source Connection settings&lt;/STRONG&gt; (via the user interface), the connection fails or isn't recognized.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And replace in the source:&lt;/P&gt;
&lt;PRE&gt;let
Source = Lakehouse.Contents([]),
#"Navigation 1" = Source{[&lt;STRONG&gt;workspaceId = workspace_id&lt;/STRONG&gt;]}[Data],
#"Navigation 2" = #"Navigation 1"{[&lt;STRONG&gt;lakehouseId = lakehouse_id&lt;/STRONG&gt;]}[Data],
#"Navigation 3" = #"Navigation 2"{[Id = "Table1", ItemKind = "Table"]}[Data]
in
#"Navigation 3"
&lt;/PRE&gt;
&lt;P&gt;That's not working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The Workaround (Manual M Code):&lt;/STRONG&gt; However, if I bypass the UI and manually insert the &lt;CODE&gt;Variable.ValueOrDefault&lt;/CODE&gt; syntax directly into the Source Step using the &lt;STRONG&gt;Advanced Editor&lt;/STRONG&gt;, it works perfectly.&lt;/P&gt;
&lt;PRE&gt;let
Source = Lakehouse.Contents([]),
// Retrieving variables manually works fine
&lt;STRONG&gt;workspace_id&lt;/STRONG&gt; = Variable.ValueOrDefault("$(/**/My Library/Workspace ID)", "default_value"),
&lt;STRONG&gt;lakehouse_id&lt;/STRONG&gt; = Variable.ValueOrDefault("$(/**/My Library/Lakehouse ID)", "default_value"),

#"Navigation 1" = Source{[workspaceId = workspace_id]}[Data],
#"Navigation 2" = #"Navigation 1"{[lakehouseId = lakehouse_id]}[Data],
#"Navigation 3" = #"Navigation 2"{[Id = "Table1", ItemKind = "Table"]}[Data]
in
#"Navigation 3"
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;My Question:&lt;/STRONG&gt; Has anyone else encountered this issue where the UI connection dialog doesn't seem to parse the variable reference, forcing us to hardcode M logic manually? Is there a specific syntax for the UI that differs from the Advanced Editor?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help!&lt;/P&gt;
&lt;P&gt;References:&lt;BR /&gt;- &lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-gen2-variable-library-integration" target="_blank"&gt;Dataflow Gen2 Variable Library Integration&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 15:48:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Dataflow-Gen2-Variable-Library-references-fail-in-Connection/m-p/4958878#M5677</guid>
      <dc:creator>AntoineW</dc:creator>
      <dc:date>2026-01-29T15:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Dataflow Gen2: Variable Library references fail in Connection Settings</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Dataflow-Gen2-Variable-Library-references-fail-in-Connection/m-p/4959341#M5678</link>
      <description>&lt;P&gt;Would you mind sharing a screenshot of the error or failure that you're seeing ?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 17:28:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Dataflow-Gen2-Variable-Library-references-fail-in-Connection/m-p/4959341#M5678</guid>
      <dc:creator>miguel</dc:creator>
      <dc:date>2026-01-29T17:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dataflow Gen2: Variable Library references fail in Connection Settings</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Dataflow-Gen2-Variable-Library-references-fail-in-Connection/m-p/4965154#M5679</link>
      <description>&lt;P&gt;I have this :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In my Advanced Editor query, I have several transformation steps (adding new columns, renaming, etc.) and a merge with other queries.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P data-start="79" data-end="469"&gt;When I update the parameters using the Variable Library, all transformation steps work correctly, &lt;STRONG data-start="315" data-end="340" data-is-only-node=""&gt;except the Merge step&lt;/STRONG&gt;, which fails.&lt;BR data-start="354" data-end="357" /&gt;The merge returns the following error: &lt;STRONG data-start="398" data-end="469"&gt;“DataFormat.Error: There is no valid Delta table at this location.”&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 09:51:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Dataflow-Gen2-Variable-Library-references-fail-in-Connection/m-p/4965154#M5679</guid>
      <dc:creator>AntoineW</dc:creator>
      <dc:date>2026-01-30T09:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dataflow Gen2: Variable Library references fail in Connection Settings</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/Dataflow-Gen2-Variable-Library-references-fail-in-Connection/m-p/4968865#M5680</link>
      <description>&lt;P&gt;This appears to be a screenshot of an error shown in the data preview of the Power Query editor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When using Variable.ValueOrDefault the value being used for the data preview today is the "Default". What could be happening is something related to the value that you have as default and how that is being passed into the M code. Perhaps there's something quite specific with the Lakehouse connector that returns this error or it could also be that your queries where you store your variables are set to staging hence it's actually not a scalar value but rather a table. Based on the screenshot, it does appear that both your queries are set to be staged hence it might actually field during a refresh as the values wouldn't be rendered as simple values and they'll be basically just a value within a table of a single column&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regardless, I'd recommend opening a support ticket so we can take a closer look at this behavior. Feel free to share the case number with me directly so I can take a closer look&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 12:59:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/Dataflow-Gen2-Variable-Library-references-fail-in-Connection/m-p/4968865#M5680</guid>
      <dc:creator>miguel</dc:creator>
      <dc:date>2026-01-30T12:59:43Z</dc:date>
    </item>
  </channel>
</rss>

