Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,650 --> 00:00:06,770
Next up want to take just a minute to talk about managing and viewing as roles now within the modeling
2
00:00:06,770 --> 00:00:13,190
tab you'll see a security tool group with two options and you clicked the manager roles option.
3
00:00:13,190 --> 00:00:20,720
It allows you to actually define filtered views so that your report can be tailored to specific audiences.
4
00:00:20,720 --> 00:00:26,570
So in this case we're choosing to filter down the territory lookup table based on the condition or the
5
00:00:26,570 --> 00:00:32,870
expression that the continent fields must equal Europe and you can create a number of different roles
6
00:00:33,230 --> 00:00:36,220
based on different daks filter expressions.
7
00:00:36,230 --> 00:00:42,950
So in this case here we've created views for each territory manager Europe North America and Pacific
8
00:00:43,430 --> 00:00:49,670
based on those simple daks filter statements continent equals Europe consonant equals North America
9
00:00:50,060 --> 00:00:50,850
etc..
10
00:00:51,170 --> 00:00:57,650
Now it's important to make clear is that you're not just pointing a user to a pre-filter view.
11
00:00:57,740 --> 00:01:02,870
So when you select the Europe role that we've created for instance you're not seeing the Executive Summary
12
00:01:02,870 --> 00:01:10,430
tab pre-filter down to Europe you're seeing a version of the report that literally doesn't contain data
13
00:01:10,490 --> 00:01:12,230
for any other continent.
14
00:01:12,470 --> 00:01:18,530
And that's why this is different from simply creating a bookmark or prefilter view that you can link
15
00:01:18,530 --> 00:01:19,250
to.
16
00:01:19,280 --> 00:01:25,760
This is actually running the selected table through a daks filter expression and chopping out rows that
17
00:01:25,760 --> 00:01:27,230
don't meet the condition.
18
00:01:27,440 --> 00:01:32,720
So what we're dealing with here is essentially row level security meaning we're defining specifically
19
00:01:32,720 --> 00:01:38,990
what rows of our dataset certain users or user groups are able to access.
20
00:01:38,990 --> 00:01:41,020
So this is very simple to set up.
21
00:01:41,030 --> 00:01:43,760
Let's head to power be-I and I'll show you how this works.
22
00:01:45,120 --> 00:01:51,540
All right so back in our Exec Summary tab what we're going to do here is head to the modeling time click
23
00:01:51,540 --> 00:01:54,440
on security manager roles.
24
00:01:54,490 --> 00:01:57,710
This is where we create or define a new role.
25
00:01:57,940 --> 00:02:03,940
And just like the example we talked about let's create individual roles for each territory so that we
26
00:02:03,940 --> 00:02:05,720
can provide Adventure Works.
27
00:02:05,770 --> 00:02:12,040
Sales managers from different regions with reports that only contain the data that's relevant to them.
28
00:02:12,340 --> 00:02:20,070
So let's start with a roll named Europe and basically we define which table we need to filter down.
29
00:02:20,230 --> 00:02:26,290
In this case the only table that we need to filter is the A.W. territories look up and then we write
30
00:02:26,290 --> 00:02:31,240
a simple daks filter expression that returns a true false value.
31
00:02:31,240 --> 00:02:36,770
So in this case continent equals
32
00:02:39,530 --> 00:02:40,260
Europe.
33
00:02:40,560 --> 00:02:41,960
It's as simple as that.
34
00:02:41,990 --> 00:02:47,580
Now I was a little icon tells us that this is the table that's filtered and in the window here we see
35
00:02:47,580 --> 00:02:50,720
the expression that defines the filter.
36
00:02:50,840 --> 00:02:52,910
So press save.
37
00:02:53,020 --> 00:02:53,930
There we go.
38
00:02:54,230 --> 00:02:59,230
And now we click view as rolls we have a Europe as an option here.
39
00:02:59,250 --> 00:03:07,150
So watch what happens and pay very close attention specifically to our map and to our map slicer we
40
00:03:07,170 --> 00:03:09,000
click Europe press OK.
41
00:03:11,420 --> 00:03:12,620
See what happened.
42
00:03:12,680 --> 00:03:20,360
We are now filtered on Europe but our continent slicer only contains a single value aside from select
43
00:03:20,360 --> 00:03:22,330
all which is euro.
44
00:03:22,550 --> 00:03:29,900
So that really emphasizes the difference between simply creating a filtered view and actually defining
45
00:03:29,900 --> 00:03:35,310
row level security that prevents rows of data from actually reaching the report.
46
00:03:35,660 --> 00:03:46,350
So from here we can simply say stop doing back to normal can manage rels create another for Pacific
47
00:03:47,830 --> 00:03:56,820
territory look up and write the same kind of expression for Pacific instead of Europe.
48
00:03:58,490 --> 00:04:02,730
Save you as roles rolls.
49
00:04:02,750 --> 00:04:05,130
No we've got a Pacific option as well.
50
00:04:06,330 --> 00:04:06,900
And there you go.
51
00:04:06,900 --> 00:04:07,560
Same thing.
52
00:04:07,560 --> 00:04:15,540
So a Pacific sales manager in this example has no idea that data from Europe or North America is tied
53
00:04:15,540 --> 00:04:17,740
into this model or even exists.
54
00:04:18,120 --> 00:04:24,450
So it's a great tool when you have sensitive information or need to create very specific access rights
55
00:04:24,930 --> 00:04:28,910
for certain user groups or teams in your organization.
56
00:04:28,920 --> 00:04:32,050
So let's go ahead and stop viewing Pacific.
57
00:04:32,070 --> 00:04:39,150
Now one thing worth calling out here is that by implementing relevel security rules this does have impacts
58
00:04:39,210 --> 00:04:44,740
in other places and one area is when it comes to actually publishing reports.
59
00:04:44,790 --> 00:04:50,580
Now again publishing and collaborating will be covered in depth in an entirely separate focused course
60
00:04:51,030 --> 00:04:56,040
but it will provide a quick preview on what it looks like to load this to service.
61
00:04:56,040 --> 00:05:01,850
Now if I have ro level security roles defined that prevents me from publishing this to the Web.
62
00:05:02,040 --> 00:05:08,100
So in this case I don't really need those rules so I'm going to go back and delete the two that we created
63
00:05:08,970 --> 00:05:16,040
just so that later on I can demo what that publish to web functionality really looks like so save.
64
00:05:16,290 --> 00:05:17,670
And now we're back to usual.
65
00:05:17,670 --> 00:05:21,060
We've got no additional roles and that should do it.
66
00:05:21,100 --> 00:05:26,190
So good intro to pro-level security and using Proby as manager roles options.
6971
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.