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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
anwarMohammed
New Member

How to fetch Gen2 Dataflow run statuses and visualize in power BI?

Hi Fabric Community 

I'm working on a solution where we monitor Fabric Gen2 Dataflow runs across multiple workspaces and log their statuses to a centralized table for reporting in Power BI.

Goal:
We want to build a monitoring dashboard that shows:

Status of each Gen2 Dataflow (Success/Failure)

Start and end time

Duration

Trigger type (Manual, Scheduled, etc.)

Last refreshed timestamp

This will help end users know the freshness and health of dataflows powering their reports.

 

1 ACCEPTED SOLUTION
v-pagayam-msft
Community Support
Community Support

Hi @anwarMohammed ,
Thank you for reaching out to us!

I would be happy to help you build a solution to monitor Fabric Gen2 Dataflow runs across multiple workspaces and create a Power BI dashboard with the details you outlined.
Please follow below steps:

We can use Fabric’s Monitoring Hub and a custom pipeline to gather refresh data, store it in a centralized table, and visualize it in Power BI. Below are the steps:

1. Gather Dataflow Refresh Details:
The Monitoring Hub in Fabric provides a unified view of Dataflow Gen2 activities across workspaces, including Status (Success/Failure), Start/End Times, Duration, Trigger Type (Manual/Scheduled), and more. For automation, use the Power BI REST API (e.g., GET /dataflows/transactions) to pull this data programmatically. Ensure your account or service principal has access to all relevant workspaces.

2. Set Up a Fabric Data Pipeline:
- Fetch refresh data via the Monitoring Hub or API.
- Extract fields like Status, Start/End Time, Duration, Trigger Type, and Last Refreshed timestamp.
- Save the data to a centralized table in a Fabric Lakehouse (e.g., Delta table) or Warehouse.
- Schedule the pipeline to run periodically (e.g., hourly) to keep your data up-to-date.

3. Build Your Power BI Dashboard:
- Connect Power BI to your centralized table.
- Create visuals: a color-coded table or card for Status (green for Success, red for Failure), a timeline or table for Start/End Times, a bar chart or KPI for Duration, a pie chart or slicer for Trigger Type, and a “Last Updated” card for Last Refreshed.
- Add filters for Workspace and Dataflow Name to enhance navigation.
Please refer the below links:
https://learn.microsoft.com/en-us/fabric/admin/monitoring-hub
https://learn.microsoft.com/en-us/fabric/data-factory/connector-rest 



If the answer meets your requirement,consider accepting it as solution.

Regards,
Pallavi.

View solution in original post

4 REPLIES 4
v-pagayam-msft
Community Support
Community Support

Hi @anwarMohammed ,
I wanted to follow up on our previous suggestions regarding the issue you are facing. We would like to hear back from you to ensure we can assist you further. If our response has addressed your query, please accept it as a solution and give a ‘Kudos’ so other members can easily find it. 
Thank you

v-pagayam-msft
Community Support
Community Support

Hi @anwarMohammed ,
I wanted to check in on your situation regarding the issue. Have you resolved it? If you have, please consider marking the reply that helped you or sharing your solution. It would be greatly appreciated by others in the community who may have the same question.
Thank you.

v-pagayam-msft
Community Support
Community Support

Hi @anwarMohammed ,
We haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.
If our response addressed  your query, please mark it as Accept Answer and click Yes if you found it helpful.
If you have any further questions, feel free to reach out.
Thank you for being a part of the Microsoft Fabric Community Forum!

v-pagayam-msft
Community Support
Community Support

Hi @anwarMohammed ,
Thank you for reaching out to us!

I would be happy to help you build a solution to monitor Fabric Gen2 Dataflow runs across multiple workspaces and create a Power BI dashboard with the details you outlined.
Please follow below steps:

We can use Fabric’s Monitoring Hub and a custom pipeline to gather refresh data, store it in a centralized table, and visualize it in Power BI. Below are the steps:

1. Gather Dataflow Refresh Details:
The Monitoring Hub in Fabric provides a unified view of Dataflow Gen2 activities across workspaces, including Status (Success/Failure), Start/End Times, Duration, Trigger Type (Manual/Scheduled), and more. For automation, use the Power BI REST API (e.g., GET /dataflows/transactions) to pull this data programmatically. Ensure your account or service principal has access to all relevant workspaces.

2. Set Up a Fabric Data Pipeline:
- Fetch refresh data via the Monitoring Hub or API.
- Extract fields like Status, Start/End Time, Duration, Trigger Type, and Last Refreshed timestamp.
- Save the data to a centralized table in a Fabric Lakehouse (e.g., Delta table) or Warehouse.
- Schedule the pipeline to run periodically (e.g., hourly) to keep your data up-to-date.

3. Build Your Power BI Dashboard:
- Connect Power BI to your centralized table.
- Create visuals: a color-coded table or card for Status (green for Success, red for Failure), a timeline or table for Start/End Times, a bar chart or KPI for Duration, a pie chart or slicer for Trigger Type, and a “Last Updated” card for Last Refreshed.
- Add filters for Workspace and Dataflow Name to enhance navigation.
Please refer the below links:
https://learn.microsoft.com/en-us/fabric/admin/monitoring-hub
https://learn.microsoft.com/en-us/fabric/data-factory/connector-rest 



If the answer meets your requirement,consider accepting it as solution.

Regards,
Pallavi.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

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 FBC25 Carousel

Fabric Monthly Update - June 2025

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