<?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: How to Parameterize Source Database, Schema, and Table Name in Dataflow Gen2 (Databricks Source) in Dataflow</title>
    <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-Parameterize-Source-Database-Schema-and-Table-Name-in/m-p/4833174#M5470</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="606153" data-lia-user-login="Ganjikunta" class="lia-mention lia-mention-user"&gt;Ganjikunta&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out to the Microsoft Fabric Community Forum and sharing the details of your scenario. Also, thanks to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1307272" data-lia-user-login="AntoineW" class="lia-mention lia-mention-user"&gt;AntoineW&lt;/a&gt;,&amp;nbsp;for those valuable insights on this thread.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I understand that you want to parameterize the source database, schema, and table in a Dataflow Gen2 for Databricks, so that your dataflow can be reused across Dev/Test/Prod environments.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Create Parameters in Dataflow Gen2: Open your Dataflow in Power Query. Go to Manage Parameters and create parameters for Database, Schema, and Table.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Reference Parameters in Power Query M Code: You can use the parameters to dynamically construct the source reference. For example:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
Source = Databricks.Catalogs(DatabaseParam, SchemaParam, TableParam)
in
Source&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Enable Public Parameters: If you want to override these parameters externally (like from a pipeline), make sure the parameters are set as public/discoverable.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Bind Parameters in Pipelines: When using this dataflow in a pipeline, you can pass values to the parameters dynamically from variables or other sources.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Note: Currently, Dataflow Gen2 allows parameterizing schema and table names, but changing the connection details (like server/host) dynamically isn’t supported. Make sure your parameter usage aligns with Databricks SQL syntax. &lt;BR /&gt;&lt;BR /&gt;Refer this link: &lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-parameters" target="_blank"&gt;https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-parameters&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps you move forward. Please give it a try and let us know how it goes.&lt;BR /&gt;Thanks for using the Microsoft Fabric Community Forum.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Sep 2025 09:12:33 GMT</pubDate>
    <dc:creator>v-kpoloju-msft</dc:creator>
    <dc:date>2025-09-23T09:12:33Z</dc:date>
    <item>
      <title>How to Parameterize Source Database, Schema, and Table Name in Dataflow Gen2 (Databricks Source)</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-Parameterize-Source-Database-Schema-and-Table-Name-in/m-p/4832215#M5460</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Title:&lt;/STRONG&gt; How to Parameterize Source Database, Schema, and Table Name in Dataflow Gen2 (Databricks Source)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Message:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I'm working with &lt;STRONG&gt;Dataflow Gen2 in Microsoft Fabric&lt;/STRONG&gt; and need to &lt;STRONG&gt;parameterize the source connection details&lt;/STRONG&gt; for a Databricks-based setup. Specifically, I want to dynamically pass:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Source &lt;STRONG&gt;Database&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Source &lt;STRONG&gt;Schema&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Source &lt;STRONG&gt;Table Name&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The goal is to load data from &lt;STRONG&gt;Databricks&lt;/STRONG&gt; into a &lt;STRONG&gt;Lakehouse&lt;/STRONG&gt;, and I’d like to make the dataflow reusable across environments (Dev/Test/Prod) by using parameters.&lt;/P&gt;&lt;P&gt;Has anyone implemented this successfully?&lt;BR /&gt;Would appreciate guidance or examples on how to structure the Power Query M code and use parameters effectively for Databricks sources.&lt;/P&gt;&lt;P&gt;Thanks in advance!.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 10:57:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-Parameterize-Source-Database-Schema-and-Table-Name-in/m-p/4832215#M5460</guid>
      <dc:creator>Ganjikunta</dc:creator>
      <dc:date>2025-09-22T10:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to Parameterize Source Database, Schema, and Table Name in Dataflow Gen2 (Databricks Source)</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-Parameterize-Source-Database-Schema-and-Table-Name-in/m-p/4832422#M5465</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="606153" data-lia-user-login="Ganjikunta" class="lia-mention lia-mention-user"&gt;Ganjikunta&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes — you can parameterize Databricks sources in &lt;STRONG&gt;Dataflow Gen2&lt;/STRONG&gt; using &lt;STRONG&gt;Power Query parameters&lt;/STRONG&gt; (or a Variable Library if you want central management).&lt;/P&gt;&lt;H3&gt;Steps:&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Create Parameters in your Dataflow Gen2&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;In the &lt;STRONG&gt;Dataflow Gen2 editor&lt;/STRONG&gt;, go to &lt;STRONG&gt;Manage parameters&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Define parameters such as:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;pDatabase&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;pSchema&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;pTable&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Use parameters in the Databricks connector&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;When connecting to Databricks, reference your parameters in the M query.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Example Power Query M code:&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;let Source = Databricks.Catalogs("https://&amp;lt;your-databricks-workspace-url&amp;gt;", null), Database = Source{[Name = pDatabase]}[Data], Schema = Database{[Name = pSchema]}[Data], Table = Schema{[Name = pTable]}[Data] in Table &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;This way, the same dataflow can load from different databases/schemas/tables just by switching parameter values.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Switching across environments (DEV / TEST / PROD)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Instead of manually editing parameter values, you can connect them to a &lt;STRONG&gt;Variable Library&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Define a value set per environment (DEV, TEST, PROD) in the Variable Library.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;When orchestrating execution with a &lt;STRONG&gt;Data Pipeline&lt;/STRONG&gt;, import the variable values and pass them to the Dataflow activity.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;This lets you control source Database, Schema, and Table dynamically based on the environment without manual changes.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Docs: &lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/variable-library-integration-with-data-pipelines" target="_self"&gt;Use variable libraries in Data Pipelines&lt;/A&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-unicode-emoji" title=":warning:"&gt;⚠️&lt;/span&gt; Limitation on Destination (Sink)&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;The &lt;STRONG&gt;destination Lakehouse&lt;/STRONG&gt; in a Dataflow Gen2 &lt;STRONG&gt;cannot be parameterized&lt;/STRONG&gt; because the M code only controls the source — the sink is set at design time.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;This means when you deploy from DEV → TEST → PROD, you must &lt;STRONG&gt;manually change the destination Lakehouse&lt;/STRONG&gt; if it’s different.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;A common recommendation is to keep &lt;STRONG&gt;Gold (final curated tables)&lt;/STRONG&gt; in a separate workspace, so you don’t have to update every environment’s sink manually.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it can help you !&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Antoine&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 13:53:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-Parameterize-Source-Database-Schema-and-Table-Name-in/m-p/4832422#M5465</guid>
      <dc:creator>AntoineW</dc:creator>
      <dc:date>2025-09-22T13:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Parameterize Source Database, Schema, and Table Name in Dataflow Gen2 (Databricks Source)</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-Parameterize-Source-Database-Schema-and-Table-Name-in/m-p/4833174#M5470</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="606153" data-lia-user-login="Ganjikunta" class="lia-mention lia-mention-user"&gt;Ganjikunta&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out to the Microsoft Fabric Community Forum and sharing the details of your scenario. Also, thanks to&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1307272" data-lia-user-login="AntoineW" class="lia-mention lia-mention-user"&gt;AntoineW&lt;/a&gt;,&amp;nbsp;for those valuable insights on this thread.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I understand that you want to parameterize the source database, schema, and table in a Dataflow Gen2 for Databricks, so that your dataflow can be reused across Dev/Test/Prod environments.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Create Parameters in Dataflow Gen2: Open your Dataflow in Power Query. Go to Manage Parameters and create parameters for Database, Schema, and Table.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Reference Parameters in Power Query M Code: You can use the parameters to dynamically construct the source reference. For example:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;let
Source = Databricks.Catalogs(DatabaseParam, SchemaParam, TableParam)
in
Source&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Enable Public Parameters: If you want to override these parameters externally (like from a pipeline), make sure the parameters are set as public/discoverable.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Bind Parameters in Pipelines: When using this dataflow in a pipeline, you can pass values to the parameters dynamically from variables or other sources.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Note: Currently, Dataflow Gen2 allows parameterizing schema and table names, but changing the connection details (like server/host) dynamically isn’t supported. Make sure your parameter usage aligns with Databricks SQL syntax. &lt;BR /&gt;&lt;BR /&gt;Refer this link: &lt;A href="https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-parameters" target="_blank"&gt;https://learn.microsoft.com/en-us/fabric/data-factory/dataflow-parameters&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps you move forward. Please give it a try and let us know how it goes.&lt;BR /&gt;Thanks for using the Microsoft Fabric Community Forum.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 09:12:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-Parameterize-Source-Database-Schema-and-Table-Name-in/m-p/4833174#M5470</guid>
      <dc:creator>v-kpoloju-msft</dc:creator>
      <dc:date>2025-09-23T09:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Parameterize Source Database, Schema, and Table Name in Dataflow Gen2 (Databricks Source)</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-Parameterize-Source-Database-Schema-and-Table-Name-in/m-p/4835982#M5486</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="606153" data-lia-user-login="Ganjikunta" class="lia-mention lia-mention-user"&gt;Ganjikunta&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Just checking in to see if the issue has been resolved on your end. If the earlier suggestions helped, that’s great to hear! And if you’re still facing challenges, feel free to share more details happy to assist further.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 05:46:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-Parameterize-Source-Database-Schema-and-Table-Name-in/m-p/4835982#M5486</guid>
      <dc:creator>v-kpoloju-msft</dc:creator>
      <dc:date>2025-09-26T05:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to Parameterize Source Database, Schema, and Table Name in Dataflow Gen2 (Databricks Source)</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-Parameterize-Source-Database-Schema-and-Table-Name-in/m-p/4837453#M5500</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="606153" data-lia-user-login="Ganjikunta" class="lia-mention lia-mention-user"&gt;Ganjikunta&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Hope you had a chance to try out the solution shared earlier. Let us know if anything needs further clarification or if there's an update from your side always here to help.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Sep 2025 05:37:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-Parameterize-Source-Database-Schema-and-Table-Name-in/m-p/4837453#M5500</guid>
      <dc:creator>v-kpoloju-msft</dc:creator>
      <dc:date>2025-09-29T05:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to Parameterize Source Database, Schema, and Table Name in Dataflow Gen2 (Databricks Source)</title>
      <link>https://community.fabric.microsoft.com/t5/Dataflow/How-to-Parameterize-Source-Database-Schema-and-Table-Name-in/m-p/4841023#M5510</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="606153" data-lia-user-login="Ganjikunta" class="lia-mention lia-mention-user"&gt;Ganjikunta&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Just wanted to follow up one last time. If the shared guidance worked for you, that’s wonderful hopefully it also helps others looking for similar answers. If there’s anything else you'd like to explore or clarify, don’t hesitate to reach out.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 04:11:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Dataflow/How-to-Parameterize-Source-Database-Schema-and-Table-Name-in/m-p/4841023#M5510</guid>
      <dc:creator>v-kpoloju-msft</dc:creator>
      <dc:date>2025-10-03T04:11:24Z</dc:date>
    </item>
  </channel>
</rss>

