Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,000 --> 00:00:02,000
Instructor: Optimization presets in Power BI
2
00:00:02,000 --> 00:00:05,000
allow you to apply predefined optimization settings
3
00:00:05,000 --> 00:00:08,000
that will either reduce the number of queries,
4
00:00:08,000 --> 00:00:11,000
keep the default query interaction settings,
5
00:00:11,000 --> 00:00:15,000
or allow you to customize the query reduction settings.
6
00:00:15,000 --> 00:00:17,000
So the optimization presets are located
7
00:00:17,000 --> 00:00:20,000
just to the right of the pause visual queries
8
00:00:20,000 --> 00:00:22,000
and currently have three options.
9
00:00:22,000 --> 00:00:24,000
First, we have this query reduction option,
10
00:00:24,000 --> 00:00:27,000
which is really best suited for direct query connections
11
00:00:27,000 --> 00:00:29,000
because it turns off all cross filtering,
12
00:00:29,000 --> 00:00:33,000
cross highlighting, and it adds an apply button to slicers.
13
00:00:33,000 --> 00:00:36,000
Remember that direct query connections need to send all
14
00:00:36,000 --> 00:00:38,000
of the queries back to the data source,
15
00:00:38,000 --> 00:00:40,000
which isn't stored within memory.
16
00:00:40,000 --> 00:00:43,000
And doing this can be time intensive.
17
00:00:43,000 --> 00:00:45,000
Up next, we've got our interactivity mode
18
00:00:45,000 --> 00:00:48,000
and this is the default setting in Power BI desktop,
19
00:00:48,000 --> 00:00:50,000
and it's best used when your data model
20
00:00:50,000 --> 00:00:52,000
is built using the import mode
21
00:00:52,000 --> 00:00:55,000
because it allows for all filtering, highlighting,
22
00:00:55,000 --> 00:00:57,000
and real-time changes to slicers and filters
23
00:00:57,000 --> 00:00:59,000
within a page or report.
24
00:00:59,000 --> 00:01:01,000
And then our last option here allows you to
25
00:01:01,000 --> 00:01:04,000
actually customize the exact query reduction settings
26
00:01:04,000 --> 00:01:06,000
that you'd like to apply to your report.
27
00:01:06,000 --> 00:01:09,000
This option opens up the query reduction options panel
28
00:01:09,000 --> 00:01:12,000
from our option and settings menu,
29
00:01:12,000 --> 00:01:13,000
which we'll check out now.
30
00:01:14,000 --> 00:01:17,000
All right, so from our Adventure Works report
31
00:01:17,000 --> 00:01:20,000
we're gonna head up to the optimization presets tab here.
32
00:01:20,000 --> 00:01:20,000
And you can see here
33
00:01:20,000 --> 00:01:24,000
that we currently are using our interactivity mode.
34
00:01:24,000 --> 00:01:26,000
Again, this is that default setting,
35
00:01:26,000 --> 00:01:28,000
but let's update this to query reduction.
36
00:01:28,000 --> 00:01:30,000
And when we click query reduction
37
00:01:30,000 --> 00:01:32,000
we get this little menu here.
38
00:01:32,000 --> 00:01:35,000
It says, your report is optimized for query reduction.
39
00:01:35,000 --> 00:01:38,000
The preset turns off cross highlighting, cross filtering,
40
00:01:38,000 --> 00:01:41,000
and they've added an apply button to the filter pane
41
00:01:41,000 --> 00:01:43,000
so you can apply changes when you're ready.
42
00:01:43,000 --> 00:01:45,000
And then it's got this kind of pro tip here
43
00:01:45,000 --> 00:01:46,000
to further reduce queries
44
00:01:46,000 --> 00:01:50,000
insert and apply all slicers button to any page.
45
00:01:50,000 --> 00:01:52,000
Again, we'll cover that in just a moment here
46
00:01:52,000 --> 00:01:53,000
in a different lecture.
47
00:01:53,000 --> 00:01:55,000
So we'll say, all right, got it.
48
00:01:55,000 --> 00:01:56,000
That makes sense.
49
00:01:56,000 --> 00:01:59,000
And now what you'll notice is, again, that cross filtering
50
00:01:59,000 --> 00:02:02,000
and cross highlighting has been turned off, right?
51
00:02:02,000 --> 00:02:05,000
So if I were to click on the accessories category here,
52
00:02:05,000 --> 00:02:09,000
right, nothing is updating throughout the report, right?
53
00:02:09,000 --> 00:02:12,000
You can see that there's a little icon that's kind
54
00:02:12,000 --> 00:02:15,000
of spins to indicate that something should be happening,
55
00:02:15,000 --> 00:02:18,000
but nothing is actually filtering or highlighting.
56
00:02:18,000 --> 00:02:20,000
Same thing happens if I click on
57
00:02:20,000 --> 00:02:21,000
the revenue trending line chart.
58
00:02:22,000 --> 00:02:25,000
And then if I select something from the matrix visual here,
59
00:02:25,000 --> 00:02:28,000
like our 30 ounce water bottle, same deal.
60
00:02:28,000 --> 00:02:31,000
Nothing is filtering, we're not cross highlighting anything.
61
00:02:31,000 --> 00:02:34,000
All of that functionality has been turned off.
62
00:02:34,000 --> 00:02:36,000
The other piece to call out here is that
63
00:02:36,000 --> 00:02:38,000
within the filters pain, right,
64
00:02:38,000 --> 00:02:41,000
we've got this apply button here that's been added
65
00:02:41,000 --> 00:02:44,000
and right now it's grayed out because we haven't actually
66
00:02:44,000 --> 00:02:47,000
added any sort of filter context to the report.
67
00:02:47,000 --> 00:02:48,000
But what if we did this?
68
00:02:48,000 --> 00:02:50,000
Let's click out of this matrix visual
69
00:02:50,000 --> 00:02:52,000
and let's select our line chart.
70
00:02:52,000 --> 00:02:56,000
And let's say we wanna apply a filter against total revenue.
71
00:02:56,000 --> 00:02:58,000
Let's say our total revenue is greater
72
00:02:58,000 --> 00:03:00,000
than a million dollars.
73
00:03:02,000 --> 00:03:04,000
Once we add in that new filter context
74
00:03:04,000 --> 00:03:08,000
the apply button is illuminated, we can click apply
75
00:03:08,000 --> 00:03:10,000
and we can see the updates are actually made here
76
00:03:10,000 --> 00:03:11,000
within the report.
77
00:03:13,000 --> 00:03:14,000
If we were to clear this out
78
00:03:14,000 --> 00:03:17,000
and then we would have to click apply again to
79
00:03:17,000 --> 00:03:18,000
apply those changes to the report.
80
00:03:18,000 --> 00:03:20,000
Pretty straightforward here,
81
00:03:20,000 --> 00:03:23,000
but that's really the core functionality
82
00:03:23,000 --> 00:03:25,000
within that query of reduction preset.
83
00:03:27,000 --> 00:03:29,000
All right, so this is interactivity mode.
84
00:03:29,000 --> 00:03:31,000
And again, like this is the default setting.
85
00:03:31,000 --> 00:03:34,000
So the report now updates, filters, highlights, et cetera
86
00:03:34,000 --> 00:03:37,000
as expected when any sort of interaction is made
87
00:03:37,000 --> 00:03:39,000
within the report, right?
88
00:03:39,000 --> 00:03:42,000
We can click on accessories here, and you can see that
89
00:03:42,000 --> 00:03:44,000
all of our visuals update accordingly,
90
00:03:44,000 --> 00:03:46,000
based on that selection,
91
00:03:46,000 --> 00:03:48,000
could select an individual data point
92
00:03:48,000 --> 00:03:50,000
from our revenue trending chart.
93
00:03:51,000 --> 00:03:54,000
And again, we're filtering as well.
94
00:03:54,000 --> 00:03:57,000
All right, and now the third option here.
95
00:03:57,000 --> 00:03:59,000
This actually lets you customize the different
96
00:03:59,000 --> 00:04:01,000
optimization presets that you would like to apply
97
00:04:01,000 --> 00:04:03,000
to your report.
98
00:04:03,000 --> 00:04:07,000
And what this does is it actually opens up a new window
99
00:04:07,000 --> 00:04:10,000
that's located within your options and settings
100
00:04:10,000 --> 00:04:11,000
within the report.
101
00:04:11,000 --> 00:04:13,000
And so if we scroll down here, you can see
102
00:04:13,000 --> 00:04:18,000
that it's a current file setting for query reduction, right?
103
00:04:18,000 --> 00:04:21,000
It isn't global, it just applies to this current file.
104
00:04:21,000 --> 00:04:23,000
And again, pretty straightforward here.
105
00:04:23,000 --> 00:04:25,000
You have an option here to reduce the number
106
00:04:25,000 --> 00:04:26,000
of queries that are sent.
107
00:04:26,000 --> 00:04:29,000
So again, we can disable cross highlighting
108
00:04:29,000 --> 00:04:30,000
and filtering by default.
109
00:04:30,000 --> 00:04:34,000
We can add an apply button to each individual slicer here.
110
00:04:34,000 --> 00:04:35,000
Power BI lets us know
111
00:04:35,000 --> 00:04:37,000
that this isn't a recommended approach.
112
00:04:37,000 --> 00:04:39,000
Instead, they've talked about using
113
00:04:39,000 --> 00:04:42,000
an apply all slicers button to each page.
114
00:04:42,000 --> 00:04:45,000
And then our last option here is all about filters, right?
115
00:04:45,000 --> 00:04:48,000
You've got some more granular control about when
116
00:04:48,000 --> 00:04:51,000
and how to apply filters to your report page.
117
00:04:51,000 --> 00:04:53,000
All right, so we're gonna click okay here.
118
00:04:53,000 --> 00:04:55,000
We're gonna come back and we're gonna make sure
119
00:04:55,000 --> 00:04:58,000
that we leave the set to our interactivity mode.
120
00:05:00,000 --> 00:05:02,000
And all right, with that, that's your crash course
121
00:05:02,000 --> 00:05:04,000
in optimization presets and Power BI.
9795
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.