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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ChrisOBrien
New Member

Object Level Security 'Cannot Load Model' error when testing roles in Power BI Desktop

Hi

 

I am trying to test some very basic object level security. I have created report that is connected to an Excel file containing 2 columns. I have created an object level security role to hide the second column using Tabular Editor 3. In Power BI Desktop, when I select the "View as" option for the role that has just been created, I get the following error message.

ChrisOBrien_0-1718265606877.png


I'm not sure what could be causing this error. Has anyone encountered this error before or have any suggestions on how to fix it?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ChrisOBrien ,

 

Refer this document, the Excel data type library does not support configuring the semantic model of OLS.

vtangjiemsft_0-1718332497986.png

 

You can configure OLS with a different data source.

 

Best Regards,

Neeko Tang

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

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @ChrisOBrien ,

 

Refer this document, the Excel data type library does not support configuring the semantic model of OLS.

vtangjiemsft_0-1718332497986.png

 

You can configure OLS with a different data source.

 

Best Regards,

Neeko Tang

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

I have the same issue and my model does not fall under any of the above restrictions.  Infact my model does not have a single Direct Query table, they are all Import Mode.

Possible Fix:
As a test, I created a Data model and created an OLS Role first , assigned it to a dummay column (table created using Enter Data). Tested OLS and it works fine.

Then I loaded my actual Data from different source, apply OLS on columns to be hidden and NO MORE ERROR! Now I need to copy all my vsuals from other PBIX, bookmarks and all.. ITS A NIGHTMARE.

Please help figure out the issue. We need to perform this for several of our existing reports.

I have the same issue and my model does not fall under any of the above restrictions.  Infact my model does not have a single Direct Query table, they are all Import Mode.

Possible Fix:
As a test, I created a Data model and created an OLS Role first , assigned it to a dummay column (table created using Enter Data). Tested OLS and it works fine.

Then I loaded my actual Data from different source, apply OLS on columns to be hidden and NO MORE ERROR! Now I need to copy all my vsuals from other PBIX, bookmarks and all.. ITS A NIGHTMARE.

Please help figure out the issue. We need to perform this for several of our existing reports.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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