Object-Level Security hides tables, columns, and their metadata from anyone without permission to see them. Setting an object’s permission to None removes it entirely from the field list, the DAX formula bar, and every visual; Read leaves it visible. You configure this through TMDL in Power BI Desktop or with Tabular Editor, then publish and assign Viewer roles in the Power BI service. Get the role mapping wrong and Admins, Members, or Contributors will see straight through it.
TL;DR:
- Hiding objects with OLS removes them completely from the view, metadata, and visual dependencies, unlike RLS that only filters data within existing objects.
- OLS configuration is best done through TMDL in Power BI Desktop or Tabular Editor, then published and role-mapped in the Power BI service to ensure proper security.
- Limitations include loss of support for Q&A and visual features, and workspace roles such as Admins can bypass security, so careful role management is essential.
- Misconfigured OLS can break relationships or measures silently, and restricted users see error messages resembling missing fields, leading to potential support issues.
- For sensitive objects, OLS is suitable only if the model can handle the trade-offs; otherwise, consider split models or separate reports for better governance and usability.
Table of Contents
- What is object-level security in Power BI and how does it differ from RLS?
- How to configure object-level security in Power BI: TMDL and Tabular Editor
- Key limitations and runtime behaviours you need to plan for
- Best practices for designing models with OLS in mind
- How to test and troubleshoot object-level security before it reaches users
- Practitioner notes from a Fabric consultant’s field experience
- When Datataal recommends OLS versus a different approach
- Get help implementing object-level security the right way
- Sources
What is object-level security in Power BI and how does it differ from RLS?
Row-level security in Power BI filters data within a table, restricting which rows a user sees. Object-Level Security (OLS) goes a level higher: it hides entire tables and columns, along with their names, descriptions, and metadata. Set an object’s metadataPermission to None and it vanishes completely, including from the DAX formula bar, the field list, and every visual that might reference it.
That distinction matters for anything you don’t want discovered, let alone queried. A restricted user with RLS still knows a “Salary” column exists, even if every row is blank or filtered out. With OLS, that column simply isn’t there.
Typical use cases include:
- Personally identifiable information such as national insurance numbers, home addresses, or dates of birth.
- Financial detail like salary bands, margin calculations, or supplier contract values.
- Internal metadata you’d rather analysts didn’t stumble across, including staging tables, audit columns, or draft calculation groups.
The Power BI documentation on OLS treats this as metadata protection rather than data filtering. It’s the right tool when the object itself, not just its contents, needs to disappear.
How to configure object-level security in Power BI: TMDL and Tabular Editor
You have two practical routes, and which one you pick depends on your toolchain and whether the model lives in Power BI Desktop or Analysis Services.
- Author OLS in Power BI Desktop using TMDL. Open the TMDL view, create or edit a role definition, and set
metadataPermissiontoNoneorReadon the tables and columns you’re restricting. Preview the change before applying it, then publish the dataset to your workspace. - Use Tabular Editor for finer control. Open the model, go to Roles, expand Table Permissions, and toggle
NoneorReadon individual tables and columns. This remains the standard path for larger models or when you need to script changes across environments. - Use XMLA endpoints or TMSL for Premium and Analysis Services datasets. Both let you script role definitions and deploy them as part of a release, which matters once you’re managing more than a handful of roles.
- Publish the dataset, then assign security groups to roles in the Power BI service. OLS rules travel with the model, but role membership is managed separately after publishing.
- Map users and groups in Microsoft Entra ID, then validate the result with Tabular Editor’s or Power BI Desktop’s “Test as role” feature before anyone else touches the report.
The move to TMDL authoring inside Power BI Desktop is a genuine change to the workflow: OLS used to require external tooling for anything beyond the most basic setup. Tabular Editor still earns its place for bulk changes and version-controlled scripting, but you’re no longer forced to leave Desktop for a one-column fix.
Pro Tip: Always run “Test as role” straight after publishing, not just in development. Role assignments and group membership sometimes behave differently once a dataset is live in the service, and catching that early saves an awkward call from a confused stakeholder.
Key limitations and runtime behaviours you need to plan for
OLS is powerful, but it comes with constraints that catch out teams applying it for the first time.
- Feature loss. Models with OLS configured lose support for Q&A, Quick insights, Smart narrative visuals, and the Excel Data Types gallery. If your reports lean on any of these, weigh that trade-off before rolling OLS out broadly.
- Workspace role bypass. OLS only affects users in the Viewer role. Anyone with Admin, Member, or Contributor access to the workspace can see secured objects regardless of role assignment, because those roles carry edit permissions on the semantic model.
- Conflicting permissions. Setting a column to
Nonewhile its parent table is set toReadcreates a logical contradiction, and mixing roles with overlapping but inconsistent permissions is a common source of unexpected access or broken visuals. - Broken relationship chains. Hiding a column that a relationship or measure depends on doesn’t just hide that field. It can silently break the calculations built on top of it.
When a restricted user opens a visual referencing a secured object, Power BI shows an error identical to a deleted or non-existent field. To that user, the report simply looks broken, which is exactly the kind of support ticket you want to avoid before it lands in your inbox.
Best practices for designing models with OLS in mind
Treat OLS as a design decision from the start, not a bolt-on fix applied after the model is finished.
- Map roles to security groups, not individual users. Managing dozens of one-off assignments doesn’t scale and makes audits painful.
- Store TMDL scripts and Tabular Editor role definitions in source control, and run them through your ALM pipeline alongside model changes. Treat a role edit exactly like a code change: reviewed, tested in a sandbox, then deployed.
- Keep RLS and OLS as separate concerns where your model’s structure demands it. Combining both in one role definition works for simple cases but gets unwieldy fast in anything with multiple sensitivity tiers.
- Layer OLS with Microsoft Purview sensitivity labels. OLS protects the model itself, but once data is exported to Excel or a PDF, that protection is gone. Purview labels and DLP policies close that gap.
- Consider a separate model or a pre-aggregated summary table when securing an object would break relationships or degrade the report for legitimate users. Sometimes a split model beats a heavily restricted single one.
Governance frameworks matter here too. Our guide to Power BI governance covers workspace role design in more depth, which pairs directly with the role bypass issue above.
Pro Tip: Document every OLS rule with a plain-English explanation of who it blocks and why, and include a check for it in your release pipeline’s acceptance tests. Six months from now, nobody will remember why “Region_Margin” is set to None, including you.
How to test and troubleshoot object-level security before it reaches users
Never deploy OLS straight to production and hope. Build a repeatable validation routine instead.
- Apply the OLS rules in a sandbox workspace first, publish the dataset, and assign a small set of test Viewer accounts before touching production.
- Run “Test as role” for every role definition, checking each secured table and column disappears exactly as intended, no more and no less.
- Identify every measure and visual that references a secured object. A restricted column doesn’t just vanish from the field list; any measure built on it behaves as though the column no longer exists for restricted users. Build fallback measures or alternate visuals where that would otherwise break a report.
- Verify group membership in Microsoft Entra ID and confirm effective permissions, particularly for embedded reports or single sign-on scenarios where the effective identity might not match what you expect.
- Check service-side error logs when a user reports a broken visual. The “field not found” symptom is the standard fingerprint of an OLS misconfiguration.
Practitioner notes from a Fabric consultant’s field experience
OLS looks simple on paper: hide a column, assign a role, done. In practice, the hardest calls are about when not to use it. If restricting an object would strip out Q&A, break three downstream measures, and confuse half your analyst team, a model variant or an audience-specific report usually serves better than forcing OLS onto a structure that wasn’t designed for it.
Treat every TMDL script and Tabular Editor change exactly like application code. Keep it in source control, run it through an ALM pipeline, and never hand-edit roles directly in production. That discipline is what separates a governed rollout from a support queue full of “why can’t I see this field” tickets.

One thing documentation rarely stresses enough: performance. Combining OLS with DirectQuery tables or already-complex row filters can add real overhead. Test that combination under realistic load before it reaches end users, not after. Our performance tuning guide walks through how to structure those tests.
When Datataal recommends OLS versus a different approach

OLS earns its place when the objects being hidden are genuinely sensitive and the model can absorb the trade-offs, lost Q&A support, stricter role design, careful measure planning, without degrading the report for everyone else. When those trade-offs start outweighing the benefit, a split model or a separate audience-specific report is usually the better call, even though it means maintaining two artefacts instead of one.
Consultants support organisations through role design, ALM pipelines for TMDL scripts, and governance frameworks that keep OLS rules auditable rather than scattered across ad hoc Tabular Editor sessions. Getting the architecture right before deployment avoids the broken-visual support tickets that come from rushed rollouts.
— Michael
Get help implementing object-level security the right way
A Microsoft Fabric consultant can provide a more direct route to a governed Power BI rollout than piecing together TMDL scripts, Tabular Editor sessions, and ALM pipelines on your own. Expert help in model design, role architecture, and governance helps organisations get OLS deployment right the first time, rather than discovering the gaps through support tickets after go-live.

Services may include semantic model design, ALM pipeline setup for TMDL deployments, role and permission architecture, and broader Fabric governance engagements covering tenant migration and data classification alongside Microsoft Purview. If your organisation is planning to secure sensitive tables or columns, or you’ve inherited a model where OLS was bolted on without proper testing, an audit is the sensible starting point. Get in touch through Datataal’s Microsoft Fabric consulting services to scope a pilot, request a governance review, or discuss a full model redesign.
Sources
For the authoritative detail behind everything covered here, start with Microsoft’s own pages: the Object-Level Security documentation, the Analysis Services tabular model security reference, and the Power BI security white paper. For modelling and governance guidance built around real deployments, see Datataal’s guides on data modelling and Power BI governance.
- Object-Level Security (OLS) with Power BI – Microsoft Fabric
- Analysis Services tabular model object-level security | Microsoft Learn
- Enforce semantic model security — Restrict access to model objects