Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

How to get the status of last Power BI data flow refresh using Web activity in Azure Data Factory Pi

I want to sync dta flow and data set refresh in Azure Data Factory Pipeline i am using web activity. I have successfully refreshed power bi data flow from web activity now i need to get the refresh status and if it is "Complete" than i would like to refresh the data set also. But i am getting the error in screenshot when i try to get the refresh status of data flow, the confusing thing is when i get the refresh status using python script everything works fine.

 

screenshot (1).jpg

5 REPLIES 5
Anonymous
Not applicable

Hi @Anonymous,

AFAIK, current power bi not able to configure conditional refresh based on other datasets/dataflows status.
I'd like to suggest you take a look at power bi automate, then you can create an MS flow with triggers that traced dataset status and refresh it based on specific conditions.

Power Automate and Power BI 

Refresh your Power BI dataset using Microsoft Flow 

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @Anonymous 

The only thing i can not figure out how to trigger a flow when a data flow is refreshed successfully?

Hello @Anonymous 

 

Microsoft Automate is yet upgrading, there is no such flow which can trigger from the refresh of the dataflow but thinking of the workaround we can create a Flow in Power Automate Which can trigger as the data is updated in SQL and your dataset is set to refresh automatically!!

 

I may think of another workaround of this doesn't suits your requirement, let me know!

 

Thanks

Nimai Ahluwalia

 

https://www.linkedin.com/in/nimai-ahluwalia-69b272167

Anonymous
Not applicable

Hi @Nimai123 
There is a way if you create a custom connector expalined here, you can trigger dataflow refesh from MS Flow. Also set the flag to receive an email on completion. Than create a flow which will trigger after the email is received on completion of dataflow refresh to kick off the dataset refresh.

Anonymous
Not applicable

HI @Anonymous,

Power bi rest API existed some functions to get the data source status, you can use ms flow to trace them and send a notice if it refreshes recently.

Call REST API From Microsoft FLOW 

Capacities - Get Refreshable For Capacity 

Datasets - Get Refresh History In Group 

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.