Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,450 --> 00:00:04,930
Next up I want to take just a second to talk about refreshing queries.
2
00:00:04,930 --> 00:00:09,480
Now in the Home tab of your power be I file outside of the query editor.
3
00:00:09,610 --> 00:00:15,780
You see this refresh button across all of your views and by default when you press that button it's
4
00:00:15,780 --> 00:00:22,860
going to refresh every single query every connection every table that exists in your model by default
5
00:00:23,490 --> 00:00:26,680
but you can customize these refresh options.
6
00:00:26,820 --> 00:00:32,910
So within the query editor in that queries pain can actually right click any one of your individual
7
00:00:32,910 --> 00:00:40,970
connections or tables and you can simply de-select or uncheck that box that says include in report refresh.
8
00:00:41,250 --> 00:00:47,130
And as you might expect that prevents that file from refreshing whenever you hit that refresh command
9
00:00:47,190 --> 00:00:48,250
from the Home tab.
10
00:00:48,540 --> 00:00:50,760
So helpful protip here.
11
00:00:51,060 --> 00:00:57,690
What you can do is exclude all of your queries that don't change often or don't change at all like your
12
00:00:57,690 --> 00:01:01,420
lookup tables aren't a static data tables that you might have.
13
00:01:01,710 --> 00:01:06,480
So let's go ahead and open up the query editor and make some of these adjustments ourselves.
14
00:01:07,570 --> 00:01:07,840
All right.
15
00:01:07,840 --> 00:01:14,080
So here I am back in my query editor see my four queries or connections here and when I right click
16
00:01:14,110 --> 00:01:19,900
each one of these you'll see that include in a report refresh line and I see a checkbox which means
17
00:01:19,900 --> 00:01:29,960
that each one of these tables product customer calendar and sales will all refresh with the report.
18
00:01:29,970 --> 00:01:37,760
In fact if I just go back to my relationships view here and press refresh you'll see all four of these
19
00:01:37,760 --> 00:01:41,630
tables are evaluating processing refreshing.
20
00:01:41,630 --> 00:01:48,650
So essentially power be-I is going to those source paths and refreshing the data and the CXXVI even
21
00:01:48,650 --> 00:01:50,050
if nothing has changed.
22
00:01:51,590 --> 00:01:52,560
So there you go.
23
00:01:52,550 --> 00:01:55,220
It's just refreshed all four tables.
24
00:01:55,340 --> 00:02:01,970
Now hop back into the query editor and what I want to do here is actually prevent my three lookup tables
25
00:02:02,390 --> 00:02:04,600
from refreshing when I hit that command.
26
00:02:04,940 --> 00:02:10,560
Because at least for the time being I'm not going to be adding information about products about customers.
27
00:02:10,590 --> 00:02:16,670
I don't need to add more dates to my calendar but just for the sake of example let's keep A.W. sales
28
00:02:17,060 --> 00:02:17,730
as is.
29
00:02:17,780 --> 00:02:25,850
Let's allow the sales data to refresh so I can simply right click and click that include and report
30
00:02:25,850 --> 00:02:34,560
refresh option which just de-selected it to do the same thing for customer and the same thing for calendar.
31
00:02:34,630 --> 00:02:42,870
And now when I close and apply and press refresh again only that A.W. sales table was loaded.
32
00:02:43,050 --> 00:02:46,010
And you see that it worked a lot more quickly that time.
33
00:02:46,020 --> 00:02:51,490
That's because we're not refreshing three queries that aren't including a more data it's just redundant.
34
00:02:51,520 --> 00:02:53,750
It's a little bit inefficient and slow.
35
00:02:53,760 --> 00:02:58,800
So again good rule of thumb if you have data that's static if you have tables that aren't going to be
36
00:02:58,800 --> 00:03:05,220
changing go ahead and exclude those from the report refresh and only refresh the ones that may be changing
37
00:03:05,220 --> 00:03:05,990
over time.
4121
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.