<?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 pass parameters to Dataflow in a Data Pipeline? in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-pass-parameters-to-Dataflow-in-a-Data-Pipeline/m-p/4792917#M11637</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1261412"&gt;@tan_thiamhuat&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;please follow below steps to pass dates dynamically:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Make your notebook return a JSON array of dates like: ["2025-08-01","2025-08-02","2025-08-03"]&lt;/LI&gt;
&lt;LI&gt;In the ForEach Items box, read that output: @json(activity('Notebook_GenerateDates').output.result.exitValue)&lt;/LI&gt;
&lt;LI&gt;Pass into Dataflow – Inside the ForEach, open the Dataflow activity → Parameters tab.&lt;/LI&gt;
&lt;OL&gt;
&lt;LI&gt;Create a parameter in your Dataflow called &lt;STRONG&gt;InputDate.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Map it to the loop’s current value: &lt;STRONG&gt;@item()&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;LI&gt;Use in Dataflow – In Power Query, replace your hard-coded line: InputDate = "2025-08-01" with the parameter: &lt;STRONG&gt;InputDate = Text.From(InputDate)&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Prashanth Are&lt;/P&gt;
&lt;P&gt;MS Fabric community support&lt;/P&gt;</description>
    <pubDate>Mon, 11 Aug 2025 09:00:44 GMT</pubDate>
    <dc:creator>v-prasare</dc:creator>
    <dc:date>2025-08-11T09:00:44Z</dc:date>
    <item>
      <title>how to pass parameters to Dataflow in a Data Pipeline?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-pass-parameters-to-Dataflow-in-a-Data-Pipeline/m-p/4792161#M11612</link>
      <description>&lt;P&gt;I need to pass a range of dates (generated by a Notebook) to a Dataflow which is in a ForEach loop, as seen below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tan_thiamhuat_0-1754795212752.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1289954iC0C449BD84932C29/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tan_thiamhuat_0-1754795212752.png" alt="tan_thiamhuat_0-1754795212752.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;a) In the Notebook, it creates a array of dates:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tan_thiamhuat_1-1754795298248.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1289955i8CC50FF0376112EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tan_thiamhuat_1-1754795298248.png" alt="tan_thiamhuat_1-1754795298248.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;with its StartDate and EndDate specified as Parameters:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tan_thiamhuat_3-1754795427987.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1289957i03F62AE0439F6681/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tan_thiamhuat_3-1754795427987.png" alt="tan_thiamhuat_3-1754795427987.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;b) I need to pass those of each date ['2025-08-01','2025-08-02', '2025-08-03'] to the Dataflow in the ForEach loop. In the ForEach, Settings-&amp;gt;Items, I have below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tan_thiamhuat_5-1754795599348.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1289960iD4598DE7B4377F3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tan_thiamhuat_5-1754795599348.png" alt="tan_thiamhuat_5-1754795599348.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;c) In the Dataflow, I have the InputDate which is hardcoded:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tan_thiamhuat_6-1754795747974.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1289961iC8D155D268CE65ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tan_thiamhuat_6-1754795747974.png" alt="tan_thiamhuat_6-1754795747974.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;How do I pass the InputDate as a Parameter to the Dataflow?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Aug 2025 03:17:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-pass-parameters-to-Dataflow-in-a-Data-Pipeline/m-p/4792161#M11612</guid>
      <dc:creator>tan_thiamhuat</dc:creator>
      <dc:date>2025-08-10T03:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass parameters to Dataflow in a Data Pipeline?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-pass-parameters-to-Dataflow-in-a-Data-Pipeline/m-p/4792917#M11637</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1261412"&gt;@tan_thiamhuat&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;please follow below steps to pass dates dynamically:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Make your notebook return a JSON array of dates like: ["2025-08-01","2025-08-02","2025-08-03"]&lt;/LI&gt;
&lt;LI&gt;In the ForEach Items box, read that output: @json(activity('Notebook_GenerateDates').output.result.exitValue)&lt;/LI&gt;
&lt;LI&gt;Pass into Dataflow – Inside the ForEach, open the Dataflow activity → Parameters tab.&lt;/LI&gt;
&lt;OL&gt;
&lt;LI&gt;Create a parameter in your Dataflow called &lt;STRONG&gt;InputDate.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Map it to the loop’s current value: &lt;STRONG&gt;@item()&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;LI&gt;Use in Dataflow – In Power Query, replace your hard-coded line: InputDate = "2025-08-01" with the parameter: &lt;STRONG&gt;InputDate = Text.From(InputDate)&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Prashanth Are&lt;/P&gt;
&lt;P&gt;MS Fabric community support&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 09:00:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-pass-parameters-to-Dataflow-in-a-Data-Pipeline/m-p/4792917#M11637</guid>
      <dc:creator>v-prasare</dc:creator>
      <dc:date>2025-08-11T09:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to pass parameters to Dataflow in a Data Pipeline?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-pass-parameters-to-Dataflow-in-a-Data-Pipeline/m-p/4800889#M11814</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1261412"&gt;@tan_thiamhuat&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;We would like to confirm if you've successfully resolved this issue or if you need further help. If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Prashanth&lt;/P&gt;
&lt;P&gt;MS fabric community support&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 10:03:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/how-to-pass-parameters-to-Dataflow-in-a-Data-Pipeline/m-p/4800889#M11814</guid>
      <dc:creator>v-prasare</dc:creator>
      <dc:date>2025-08-19T10:03:09Z</dc:date>
    </item>
  </channel>
</rss>

