Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi all,
I’ve created a Power BI report that connects to a Table Valued Function (TVF) in a SQL Mirror Database. The function takes a single parameter — an input date — which I pass via a parameter configured in the semantic model.
Here’s what I’ve done so far:
Created and published the Power BI report.
The report uses Import Mode to call a SQL TVF with a date parameter. (see screenshot)
I’ve defined this date as a parameter in the semantic model.
Now, I want to automate this report to refresh and generate output (EXCEL or similar) on the first of every month, using that month's start date as the parameter.
Questions:
Is this automation possible within Microsoft Fabric?
Can I dynamically pass the date parameter (e.g., first day of the current month) at refresh time?
What combination of tools (Data Factory, Data Activator, Power Automate, etc.) would be recommended?
Is exporting the report to Excel and distributing it via email also doable as part of the automation?
Any guidance, best practices, or links to documentation would be greatly appreciated!
Thanks in advance!
Solved! Go to Solution.
Can I dynamically pass the date parameter (e.g., first day of the current month) at refresh time?
It's a two step process
1. set parameter
2. initiate refresh
You would need to use a custom connector that can run REST API calls.
Hi @abhidotnet ,
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.
Regards,
Akhil.
Hi @abhidotnet
Yes, this is totally doable. You'll need to.
Regards,
Akhil.
Can I dynamically pass the date parameter (e.g., first day of the current month) at refresh time?
It's a two step process
1. set parameter
2. initiate refresh
You would need to use a custom connector that can run REST API calls.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
6 | |
6 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
3 |