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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Power BI Scheduler Refresh Fail : Collection was modified; enumeration operation may not execute.

I have dashboard with CouchBase (CB) Datasource (connection CData Couchbase). The dashboard that i use will refresh automatically using the scheduler I created 8 times a day (per three hours).

But in a day, on average, the scheduler only runs 4 times, the rest fail. this is quite annoying dashboard users and the problem is always repeated.

 

have a solution regarding this?

Thanks.

 

 

Detail Error :

 

Underlying error code:-2147467259
Underlying error message:ERROR [HY000] Collection was modified; enumeration operation may not execute.

 

 

refresh ss.png

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Make sure you have the same privacy level securitys ettings in Power BI Desktop and Power BI Service.

 

In Power BI Desktop:

 

Options and Settings --> Data Source Settings

For every Datasource: -->  Edit Permissions

Set Privacy Level: e.g. „Organizational“

 

Power BI Service:

 

Datasets --> (Choose you Datasets which does not update properly) --> settings --> Gateway Connection --> Actions --> (expand you cluster to show all Data Sources) --> (Choose relevant Datasource) --> Advanced Settings --> Privacy setting --> set same level (e.g. „Organizational) as in Power BI Desktop

 

 

Best Regards,
Community Support Team _ Caitlyn

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

 

Make sure you have the same privacy level securitys ettings in Power BI Desktop and Power BI Service.

 

In Power BI Desktop:

 

Options and Settings --> Data Source Settings

For every Datasource: -->  Edit Permissions

Set Privacy Level: e.g. „Organizational“

 

Power BI Service:

 

Datasets --> (Choose you Datasets which does not update properly) --> settings --> Gateway Connection --> Actions --> (expand you cluster to show all Data Sources) --> (Choose relevant Datasource) --> Advanced Settings --> Privacy setting --> set same level (e.g. „Organizational) as in Power BI Desktop

 

 

Best Regards,
Community Support Team _ Caitlyn

Anonymous
Not applicable

HI @Anonymous ,

 

We would like to know more about this issue.
Is there a problem with the refresh timeout in this failed refresh error message?
Do you have multiple scheduled refreshes configured in your workspace?
Is your workspace nearing full capacity?

 

Best Regards,
Community Support Team _ Caitlyn

Anonymous
Not applicable

Thanks for your reply.

 

1. Is there a problem with the refresh timeout in this failed refresh error message?
probably not, because if that's the case, the massage error will show something like that. But if there are other opinions regarding this, let me know.
FYI, the PBIX size in this issue = 200 MB, and the average refresh time it takes is approximately 20 minutes.

 

2.Do you have multiple scheduled refreshes configured in your workspace? YES

 

3.Is your workspace nearing full capacity? No (2.9 GB / 10 GB)

 

 

sandro_nababan_0-1663840205387.png

 

sandro_nababan_2-1663840880951.png

 

need your advice, thanks.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.