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
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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.