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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors