Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Good afternoon, friends, how are you?
I have a SQL database that updates every hour exactly. Since the data may take between 1 to 5 minutes to update, I would like my dataflow to be automatically updated as soon as the database finishes updating, in a push-style update rather than a pull-style.
Is there a way to check if the database has been updated in 'real-time' and update my dataflow if so?
PS: My company has a workspace with premium capacity
Tks for all
Solved! Go to Solution.
Hi. I think this is not a power bi issue but a SQL Server one.
I know that you can create Triggers for a database to run actions when something happens. You might want to read more about that. The key here is catching that event, once you can do it, it's a matter of running a Power Bi Rest API request to refresh the dataflow.
If the SQL database is in Azure, there might be something on logic apps or power automate. If it's on premise it would be reading more about Triggers probably.
I hope that helps,
Happy to help!
Hi. I think this is not a power bi issue but a SQL Server one.
I know that you can create Triggers for a database to run actions when something happens. You might want to read more about that. The key here is catching that event, once you can do it, it's a matter of running a Power Bi Rest API request to refresh the dataflow.
If the SQL database is in Azure, there might be something on logic apps or power automate. If it's on premise it would be reading more about Triggers probably.
I hope that helps,
Happy to help!
Thank you for the response.
I already have a workflow in Power Automate to refresh my dataset
I have a dataset that provides me with the date and time of the last update of the database every hour. And, if the database is up to date, it trigger another flow that updates my dataflow, and if not, it sends me an error email.
I would like to eliminate the step of updating the dataset, so that as soon as my database is updated, it would trigger my flow.
Do you know a way to do that in Power Automate? There is a way to "Connect" my SQL server in the power automate to trigger an flow?
Thanks
So you mention a dataflow in your first post and a dataset in your second. Since the terms do have different meanings/implications/solutions, which is it?
If you want the dataset to immediately update, you'd need to either convert it to a DirectQuery version and hope you're not using any DAX that's not allowed in that mode, or you have to add the refresh to your Automation flow. If this is for the dataflow, there is no DirectQuery equivalent for updating them...or anything beyond the 30-min interval refresh, so you're best off trying ibarrau's solution.
I have both, dataset and dataflow, but my reports are connected to the Dataflow. The dataset that i mentioned was a "Solution" that a found to trigger the dataflow refresh in the Power Automate.
Sorry for the confusion and tks for your answer
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
34 | |
30 | |
18 | |
12 | |
8 |
User | Count |
---|---|
50 | |
35 | |
30 | |
14 | |
12 |