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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Sparsh
New Member

Error while refreshing multiple dataflows at same time

Hi community ,

I am new to powerbi and facing this particular issue where i need to refresh my 9 dataflows daily b/w 2-9 AM 

From few days I am getting an issue when more than 1 dataflow is refreshing at same time . I have set some schedule refresh for each hour and I am observing that if a dataflow is taking more than one hour to refresh and meanwhile my second dataflow starts refreshing, I am getting an error for my second dataflow which states 

"Cannot acquire lock for model because it is currently in use."

 

I would like to know why this error comes and if I can possibly refresh multiple dataflows at same time

 

My data source is a Snowflake Database for all my dataflows . Also there is a gateway connection built using a vm server to connect to source data

 

5 REPLIES 5
Anonymous
Not applicable

Hi @Sparsh ,

 

If a dataflow takes longer than expected to refresh and another dataflow starts refreshing during this time, the second dataflow may fail to acquire the lock, leading to the error you’re seeing.

If possible, adjust the refresh schedules of your dataflows to ensure they do not overlap. This might involve setting up a delay between the refreshes of different dataflows.

You may also try to optimize your dataflows, review your dataflows to identify any opportunities for optimization that could reduce their refresh times. This could involve steps like filtering data earlier in the process, reducing the number of columns, or optimizing calculations.

 

Data Flow refresh failing with Error : Cannot acqu... - Microsoft Fabric Community

locking - Has anyone used No Lock with Power BI? - Stack Overflow

 

Best regards.
Community Support Team_Caitlyn

Sparsh
New Member

Hi @aj1973 Thanks for the reply , but I would like to tell you that I am A PPU user of powerbi 

Secondly I am refreshing 9 different dataflows once daily . The problem is not the limit . I have scheduled all of them at different times . The problem is if the refreshes of any two dataflows overlaps , I get the above error

aj1973
Community Champion
Community Champion

Is there entity or entities that are coming from same source and loaded to 2 different Dataflows? 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Yes all the 9 dataflows have same data source snowflake db 

but all 9 dataflows have different tables and i am using different sql queries to fetch data 

aj1973
Community Champion
Community Champion

Hi @Sparsh 

Your 9 Dataflows fell into this limitation

aj1973_0-1706292414143.png

you can refer to this for optimization

Understand and optimize dataflows refresh - Power BI | Microsoft Learn

 

 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

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

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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