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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Sreeja_G
Microsoft Employee
Microsoft Employee

Row level security for Fabric semantic model from Power BI desktop

Hello,

 

Reaching out to you as I need help in defining RLS for my Fabric SQL end point semantic model from Power BI desktop. Can I achieve setting up RLS for my semantic model from Power BI Desktop?It makes use of Direct Lake. If Yes, Can I publish RLS settings back to my Fabric workspace from Power BI desktop? Manage Roles is grayed out when I opened Fabric semantic model in Power BI desktop and in Fabric portal, it shows below message that RLS has moved to Powet BI desktop when we go for security option in Fabric semantic model, can you please help me in achieving RLS for my Fabric semantic model. Thanks in advance.

Sreeja_G_0-1708541022567.png

 

3 REPLIES 3
amitchandak
Super User
Super User

@Sreeja_G , As of now you can use RLS on Direct Lake mode.

You can do that on a custom semantic model using the Tabular editor. But it may fall back to Direct Query.

Also Report will secure not the SQL endpoint

 

I have used Tabular editor for Calculation group, but do have tested RLS

Create a calculation group on a custom dataset in Microsoft Fabric using Tabular Editor 3

https://www.youtube.com/watch?v=eAgyuuOn0rI&list=PLPaNVDMhUXGZNJX_cmGNnbroGXETISJQf&index=1

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Thanks @amitchandak . Will I be able to apply RLS as Userpriciplename() in Tabular Editor. Please advice!

Also dont understand this message since you cant actually use powerbi desktop to change RLS for fabric semantic models. Seems like a step back that you can only use SQL to define RLS inside fabric or am i missing something. Would be a dealbreaker for us if RLS cant be defined using DAX

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

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