From the course: Complete Guide to Power BI for Data Analysts by Microsoft Press

Unlock this course with a free trial

Join today to access over 24,300 courses taught by industry experts.

Validate RLS roles using Power BI Desktop

Validate RLS roles using Power BI Desktop

- [Instructor] Okay, so I'm on my Power BI desktop and what I'm going to do is go back to the modeling tab and I'm going to click on this button that says view as, 'cause I want to see what's visible to people with different security roles and permissions. So this is me as the developer here going and testing to make sure that things are set up the way I want. So what I'm going to do is go down to this view as roles, and I'm going to choose Australia controller. So I want to log in to this report as if I was the Australia controller. Go ahead and click okay and it let me know that I'm viewing as the Australia controller, and if I go over to my dropdown box here, I'll see the only country that I'm allowed to see or continent is Australia. So that is the only one that I'm able to see in this particular case, and that's because that is the security that I have chosen. So I'm going to go ahead and stop viewing that and let's go and try another one. So I'm going to go view as, let's say…

Contents