<?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: Automated Power BI Report with Parameter in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Automated-Power-BI-Report-with-Parameter/m-p/4750167#M62074</link>
    <description>&lt;LI-CODE lang="markup"&gt;Can I dynamically pass the date parameter (e.g., first day of the current month) at refresh time?&lt;/LI-CODE&gt;
&lt;P&gt;It's a two step process&lt;/P&gt;
&lt;P&gt;1. set parameter&lt;/P&gt;
&lt;P&gt;2. initiate refresh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would need to use a custom connector that can run REST API calls.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jul 2025 20:46:38 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2025-07-01T20:46:38Z</dc:date>
    <item>
      <title>Automated Power BI Report with Parameter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Automated-Power-BI-Report-with-Parameter/m-p/4750151#M62073</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I’ve created a Power BI report that connects to a &lt;STRONG&gt;Table Valued Function (TVF)&lt;/STRONG&gt; in a &lt;STRONG&gt;SQL Mirror Database&lt;/STRONG&gt;. The function takes a single parameter — an input date — which I pass via a parameter configured in the semantic model.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Here’s what I’ve done so far:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Created and published the Power BI report.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;The report uses &lt;STRONG&gt;Import Mode&lt;/STRONG&gt;&amp;nbsp;to call a SQL TVF with a date parameter. (see screenshot)&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I’ve defined this date as a parameter in the semantic model.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Now, I want to &lt;STRONG&gt;automate this report to refresh and generate output (EXCEL or similar) on the first of every month&lt;/STRONG&gt;, using that month's start date as the parameter.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Is this automation possible within &lt;STRONG&gt;Microsoft Fabric&lt;/STRONG&gt;?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Can I dynamically pass the date parameter (e.g., first day of the current month) at refresh time?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;What combination of tools (Data Factory, Data Activator, Power Automate, etc.) would be recommended?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is exporting the report to Excel and distributing it via email also doable as part of the automation?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any guidance, best practices, or links to documentation would be greatly appreciated!&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 20:24:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Automated-Power-BI-Report-with-Parameter/m-p/4750151#M62073</guid>
      <dc:creator>abhidotnet</dc:creator>
      <dc:date>2025-07-01T20:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Power BI Report with Parameter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Automated-Power-BI-Report-with-Parameter/m-p/4750167#M62074</link>
      <description>&lt;LI-CODE lang="markup"&gt;Can I dynamically pass the date parameter (e.g., first day of the current month) at refresh time?&lt;/LI-CODE&gt;
&lt;P&gt;It's a two step process&lt;/P&gt;
&lt;P&gt;1. set parameter&lt;/P&gt;
&lt;P&gt;2. initiate refresh&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You would need to use a custom connector that can run REST API calls.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 20:46:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Automated-Power-BI-Report-with-Parameter/m-p/4750167#M62074</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2025-07-01T20:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Power BI Report with Parameter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Automated-Power-BI-Report-with-Parameter/m-p/4750492#M62079</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="798045" data-lia-user-login="abhidotnet" class="lia-mention lia-mention-user"&gt;abhidotnet&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Yes, this is totally doable. You'll need to.&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Use Power Automate to trigger on the 1st of every month.&lt;/LI&gt;
&lt;LI&gt;In the flow, calculate the first day of the month and use the Power BI REST API to update the parameter.&lt;/LI&gt;
&lt;LI&gt;Then call the refresh API to refresh the dataset.&lt;/LI&gt;
&lt;LI&gt;(Optional) After a delay, use the export API to generate an Excel/PDF and email it out.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Akhil.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jul 2025 06:21:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Automated-Power-BI-Report-with-Parameter/m-p/4750492#M62079</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-02T06:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Automated Power BI Report with Parameter</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Automated-Power-BI-Report-with-Parameter/m-p/4757265#M62162</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="798045" data-lia-user-login="abhidotnet" class="lia-mention lia-mention-user"&gt;abhidotnet&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;I’m following up to confirm that all items discussed have been addressed. If there’s anything else you need, I’d be happy to assist.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Akhil.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 05:40:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Automated-Power-BI-Report-with-Parameter/m-p/4757265#M62162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-07-09T05:40:54Z</dc:date>
    </item>
  </channel>
</rss>

