Power BI - Row level security
893 views
Oct 18, 2024
Power BI - Row level security Watch more Videos at https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Akshay Magre, Tutorials Point India Private Limited
View Video Transcript
0:00
Hello friends and welcome to Tutorials Point
0:03
In this segment of the video we are going to see what is role level security
0:07
So guys, a role level security will allow you to secure your data at role level with security filters based on each role that you have created
0:17
So in order to create this role you simply have to go under the modeling tab and under the modeling tab you will find manage roles
0:24
The moment you click on managed role it will allow you to create roles with the help of a task
0:29
the help of a DAX expression which controls that what each role can seize what
0:35
Alright guys? So once you have published this report onto your Power BI services at that time you can
0:42
assign each user what role he has to follow. So let's go ahead and see how to apply this role level security in our practical approach
0:51
Hello friends and welcome in this segment of the video I'm going to show you how to
0:55
provide role level security in Power BI service. So let's get started off. We simply have to go under the modeling tab and under the modeling tab you will find this security group
1:06
If you're not able to find a security group, that means you need to update your Power BI desktop
1:11
And how you do that? It's very simple. You simply have to go to the Power BI website and out there you will be able to find the latest version of PowerBi desktop
1:21
Make sure that you download that and after you download it, you will be able to see this security group
1:26
Now, before I get started off and see what we are going to do, let me tell you what is the security level that we are going to provide
1:33
Now, out here in this particular scenario, you are able to see that I have different regions of India, that is different states of India and what is the revenue generated by different states
1:43
All right. Now, this is the piece of information that is available with everyone
1:47
But what we are going to do out here is that we are restricting the people or the employees of Gujarat that they will be not able to see the revenue generated by different regions or the different states and same goes vice versa I would not like to have the people from
2:06
Karnataka to view or see the revenue generated by the rest of the states all right for providing such kind of security I will go under the security group and under that I will click on this managerial tabs the moment I click on this manager
2:21
manage roles a new window will come up into picture and out here you have to create a new
2:26
rules so basically I will simply click on create role and I say this will be applied to only
2:33
the employees from the Gujarat region and if you see I have this table which is associated
2:38
in this with this report with this particular report this is the table that we will be
2:42
referring to and I'll simply click on this three dots now what is applying the
2:47
RuralL security it's just to add a filter so I will say add a
2:51
a filter to the states that's right so the moment I click on states our DAX
2:55
expression is built out here and I have to be sure that what kind of security
3:00
that I'm going to provide so I'm going to say that the people of Gujarat will
3:04
be only able to see the report that corresponds to Gujarat itself all right so
3:09
this is the security that we have provided now we have given the DAX
3:13
expression the second thing that you have to do is save this expression so I
3:17
simply click on save now this is Roe level security has been applied if you would like to see it how it is done so you
3:25
have to go under this view as rules so the moment I you click on view as roles this is
3:29
the filter that we have applied already I simply have to select this Gujarat and hit
3:34
okay the moment I hit okay you can see the people from Gujarat will be able to see
3:40
only the report that is corresponding to Gujarat itself and not the rest of the
3:44
states and that's how you provide row level security in power BI hopefully
3:50
you guys like this video see you until next time
#Business & Productivity Software
#Computer Security
#VPN & Remote Access