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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
adnankabina
Helper II
Helper II

How to can we filter all reports their refresh status failed

Hello guys,

on my workspace there are more than 200 pbi reports. Some time it fails to refresh data due to database issue.  Most of the time it turns off refresh button. I want to check every day which file is not refreshd or has some error. I have to do one by one. Is there any filter it can show all failed ones. I can filter all database but I want only who are failed to refresh.

adnankabina_0-1679325711748.png

 

 

2 REPLIES 2
cassidy
Power Participant
Power Participant

You might find some options with the REST API https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-refresh-history

I use Power Automate to scan for failed Datasets and do a certain action.  However, I think you are saying you have 200 Datasets which is way more than I know how to manage.  Is there any opportunity for your reports to come from fewer Datasets intstead of 1 Report : 1 Dataset?  For example:  I have 200 reports and 1 Dataset, so if the Dataset fails then it is only 1 issue to resolve.

Thanks for your link. This might work but I do not know where to run this this code. 

 

 

{ "value": [ { "refreshType": "ViaApi", "startTime": "2017-06-13T09:25:43.153Z", "endTime": "2017-06-13T09:31:43.153Z", "serviceExceptionJson": "{\"errorCode\":\"ModelRefreshFailed_CredentialsNotSpecified\"}", "status": "Failed", "requestId": "11bf290a-346b-48b7-8973-c5df149337ff" } ] }

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors