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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Mjdrejza1722
Helper I
Helper I

Operation cancelled because of locking conflicts

I have seen a lot of posts on this particular topic of locking conflicts.  I understand the basic premise of the problem.  I have had a problem with one of my visuals freezing/locking up (posted separately).  It's a wide table about 50 columns.  Seventeen (17) of the columns are just data columns I am displaying; the rest of the columns are measures (mostly simple measures involving simple aggregation and filtering).  The data and measures are assembled from a handful of data tables.  After getting about 99% to where I wanted this table, I started having trouble re-adding columns (that were previously in the table), renaming columns, etc.  I tried to rebuilt it and it seemed to work fine, but then I just tried to change one data column's option to "display items with no data," and this caused the visual to stop loading and presented me with the error "Operation cancelled because of locking conflicts."  Assuming it is similar or the same concept as when I have gotten "not enough memory" errors, I understand that something is requiring too much processing.   What I am confused by is why certain things trigger it and others don't.  It seems like my visual shouldn't be so sensitive that I cannot rename a column/measure, or toggle a feature.   Is this problem just an issue of "the straw that broke the camel's back?"

1 ACCEPTED SOLUTION
AmiraBedh
Super User
Super User

Locking conflicts in Power BI arise when there are simultaneous read/write operations on the same data, aimed at ensuring data integrity. Even seemingly straightforward actions like renaming a column or toggling a feature might trigger these conflicts, as Power BI performs a series of resource-intensive operations behind the scenes. When Power BI operates near its capacity, even slight additional loads might cause conflicts. To resolve this, consider simplifying your data model by removing unnecessary columns or measures, optimizing relationships and data types, using summarized tables for visuals where possible, splitting complex visuals into simpler ones, and ensuring your system has adequate resources for handling Power BI's demands.


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

View solution in original post

3 REPLIES 3
AmiraBedh
Super User
Super User

Locking conflicts in Power BI arise when there are simultaneous read/write operations on the same data, aimed at ensuring data integrity. Even seemingly straightforward actions like renaming a column or toggling a feature might trigger these conflicts, as Power BI performs a series of resource-intensive operations behind the scenes. When Power BI operates near its capacity, even slight additional loads might cause conflicts. To resolve this, consider simplifying your data model by removing unnecessary columns or measures, optimizing relationships and data types, using summarized tables for visuals where possible, splitting complex visuals into simpler ones, and ensuring your system has adequate resources for handling Power BI's demands.


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

@AmiraBedh I tried resolving this problem with Summarized table but then the visual didn't filtered by slicers. I tried to create relationships between the new summarized table and Dimension Tables but I couldn't. What am I missing?

I tried rebuilding some things and trusting more how the relationships played out.  I seem to have produced a more successful data model for now.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.