The Very Basics of Row Level Security (RLS – Power BI Tutorial)

There are many videos on YouTube already dedicated to this topic. So why am I doing another one? Well, the goal here is not to teach you Row Level Security. My goal is to help you understand how Row Level Security works. In this video I will discuss what makes row level security work in Power BI:

  1. Ability to know who is connected to the model using USERPRINCIPALNAME() function
  2. Ability to define filters (static and dynamic) as well as group those filters in security roles
  3. Ability to assign users to one or more roles, which then defines what filters are applied when a user connects to the model.

Also, I am providing a dataset with this tutorial with roles create for an HR type of analysis. And, finally, I will show you how to test these security roles so we can emulate different users and see whether our logic works as it should.

You can download the power bi desktop file used in this video here.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s