Sitemap

Power BI , Power Automate— auto refresh dataset after dataflow

3 min readFeb 18, 2022

--

Press enter or click to view image in full size

Today I want to show you how to implement an auto dataset refresh after a dataflow is refreshed. On order to this, we use Power Automate.

Let’s say that after an Iowa_Liquor_Sales dataflow is refreshed we want to refresh an Iowa_Liquor_Sales dataset automatically.

Press enter or click to view image in full size

So, create a New flow and choose an Automated cloud flow option.

Choose a When dataflow refresh completes trigger.

Press enter or click to view image in full size

After creating the trigger, you are allowed to add steps to a flow.

For a trigger step, pick a workspace as a group type, a designated workspace and a dataflow from lists.

Press enter or click to view image in full size

Add a Condition step, pick a Refresh status from available fields with a condition: “is equal to” “Success”. Like bellow.

Press enter or click to view image in full size

Within an If yes section, add an Refresh a dataset action.

Press enter or click to view image in full size

Choose a workspace and a dataset.

Press enter or click to view image in full size

Once you save the trigger. It is automatically invoked always when the dataflow is refreshed with a “Success” status.

You can check a run history as well as the flow details.

Press enter or click to view image in full size

One thing worth mentioning. Sometimes a trigger isn’t invoked immediately after a dataflow is refreshed.

As you see on the following screen. Time span is 14 min in this case.

Press enter or click to view image in full size

--

--

Michal Molka
Michal Molka

Written by Michal Molka

Data & AI Solution Architect | Tech & People Lead | Azure, Fabric, Databricks, Power BI & Power Platform | 130+ articles | 40+ certs