Forum Discussion

HamidBee's avatar
HamidBee
Power Participant
2 years ago

Clarification on Implementing RLS in Power BI via SSMS

Hi All,
 
I've been going through the Power BI documentation, particularly the section about enforcing model security and restricting access to Power BI model data. Here's the link for reference: Microsoft Documentation on Power BI Model SecurityThe documentation states: "You can also create and manage roles by using SQL Server Management Studio (SSMS), or by using a third-party tool, like Tabular Editor."
 
This statement got me wondering: does it imply that Row-Level Security (RLS) can be implemented directly on Power BI reports through SSMS? This interpretation seems logical based on the text, but I'm aware that RLS is typically implemented in SQL databases. Considering the documentation is specifically about Power BI, I find this a bit confusing.
 
Has anyone here had experience with implementing RLS in Power BI using SSMS, or can shed some light on this? Any insights or clarifications would be greatly appreciated!
 
Thanks in advance

1 Reply

  • Imagine security like water flowing downhill.

     

    You can apply security uphill (SSMS SQL) or downhill (Power BI) or both.

    If you apply "hot water" security uphill then you can't override it downhill.

     

    If you want to learn about SSMS SQL row level sceurity then please ask a SQL forum. (This is a Power Bi forum).

     

    Tabulare edirtor is only required for "Object level security" to hide columns and tables.

     

    Whereas RLS (Row Level Security) can be applied in Power BI. Learn how here 

    https://www.youtube.com/watch?v=MxU_FYSSnYU

     

    Thanks for the clear description of the problem. I wish everyone did that!

    Remember we are unpaid volunteers, and you have got free expert help which took a lot of effort,
    This solution works and does exactly what you asked.
    So please quickly click the [accept as solution] and the thumbs up button to leave kudos. 

    One question per ticket please. If you need to change or extend your request then please raise a new ticket.

    You will get a quicker response and each volunteer solver will get the kudos they deserve. Thank you ! 

    If you quote speedramps in your next tickets then I will then receive an automatic notification, and will be delighted to help you again.

    Please now click the [accept as solution] and the thumbs up button.  Thank you.