cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Dataflow chain refresh error - lock model

I have 3 Dataflows created which basically brings tables from 3 different sources.

Then I tried to create a Transformation Dataflow in which I am using all the linked tables coming from earlier Dataflows.

 

While I try to schedule these 3 Dataflows at the same time say for example DF1, DF2, DF3 at 8:00 it's getting failed due to below error.

 

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

 

Does this mean I can't refresh all the three DF's at the same time? I don't want to wait for 30 mins interval for second DF to refresh and consecutively another 30 mins for next.

 

Can I know why is this happening please?

 

3 REPLIES 3
alexgor87
Advocate I
Advocate I

I had the same error with the linked dataflows: "Cannot acquire lock for model <...> because it is currently in use". My scenario is the following: DF1->DF2, DF1->DF3. All DFs are in the same workspace.

My observations:
1. If the DF1, DF2, DF3 have a refresh scheduled on the same time, then DF1 returns an error.
2. If the DF1 is scheduled to 30 minutes before DF2 and DF3, then it runs well.
Yes, the DF1 refresh triggeres an automatic refresh of the destination DFs, and DF2 and DF3 are refreshing twice, but there are no errors in this scenario.
Hope this will help.

Anonymous
Not applicable

The Sources I am using are MYSQL, SQL On Premesis, Sharepoint. Only one out these will be successful as the other will throw the below error.

Anything to do with gateway settings? This is strange.

 

The Transformation Dataflow will auto refresh soon after actual DF1, DF2, DF3 starts refresh as I am using linked Entities from them as said above. Thanks for your help

Hi @Anonymous 

I found some blogs about refresh dataflow, I hope they could help you.

Blog1: Dataflows in Power BI: Overview Part 5 – Data Refresh

Blog2: Dataflows - Refresh Dataflow

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

Helpful resources

Announcements
collabdays lisbon

CollabDays Lisbon - 26 November 2022

Sessions include practical, hands-on experience that will help you take the next step in your career and know-how.

Difinity Conference

Difinity Conference 2022

Difinity is the largest Microsoft Data, AI, Power BI, Power Platform and Business Applications Conference in New Zealand.

European Share Point Conference

European Share Point Conference

This conference returns live and in-person in Copenhagen this 28 November-01 December with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors