Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,750 --> 00:00:06,440
So quick note about adding calculated columns and measures to power b I file before we actually get
2
00:00:06,440 --> 00:00:09,080
our hands dirty and start creating some of our own.
3
00:00:09,170 --> 00:00:12,080
There are two options for adding columns and measures.
4
00:00:12,080 --> 00:00:17,580
Option one is to select either new measure or a new column from the modeling tab.
5
00:00:17,690 --> 00:00:24,020
And Option 2 is to actually right click from within a table in the data view or the field list which
6
00:00:24,020 --> 00:00:29,360
is available in either the data or the report view and choose to add a new measure or column from that
7
00:00:29,360 --> 00:00:30,410
menu.
8
00:00:30,410 --> 00:00:34,200
Now there actually is an important difference between the two approaches.
9
00:00:34,520 --> 00:00:40,460
When you insert columns or measures using the modeling tab option they'll be assigned to which every
10
00:00:40,460 --> 00:00:46,520
table is currently selected or the first table and the field list by default.
11
00:00:46,520 --> 00:00:52,250
Now when I say assigned to a table I basically just mean this field that we're creating it has to live
12
00:00:52,250 --> 00:00:57,770
somewhere it has to be organized somewhere within our data model so we can determine what its home table
13
00:00:57,830 --> 00:00:58,910
should be.
14
00:00:58,910 --> 00:01:04,940
So for instance measures that are related to sales would likely go into our sales data table whereas
15
00:01:04,970 --> 00:01:09,460
calculated columns related to customers might live in our customer or lookup table.
16
00:01:09,500 --> 00:01:14,320
It's purely an organizational tool no impact and actual functionality.
17
00:01:14,330 --> 00:01:19,280
Now if you accidentally insert a measure from the modeling tab and it gets placed or assigned to the
18
00:01:19,280 --> 00:01:26,210
wrong table not a big deal at all you can easily reassign those measures or columns to new home tables
19
00:01:26,660 --> 00:01:29,400
using the properties options within that modeling time.
20
00:01:29,690 --> 00:01:36,110
But going with option 2 actually right clicking within the table or the field list lets you be a little
21
00:01:36,110 --> 00:01:38,690
bit more deliberate about placing them.
22
00:01:38,690 --> 00:01:44,090
So that's the approach that I'm going to use and that I would recommend that you use as well.
23
00:01:44,090 --> 00:01:49,270
Now on the right side of the screen you'll see a third option there called New quick measure.
24
00:01:49,370 --> 00:01:55,130
Now when you select that quick measure option you'll see this big dialog box show up with a bunch of
25
00:01:55,130 --> 00:01:59,440
calculations and a new field list embedded in that dialog box.
26
00:01:59,570 --> 00:02:05,390
And what you've got here are basically like recipes with different calculations to perform different
27
00:02:05,390 --> 00:02:06,750
types of analyses.
28
00:02:06,890 --> 00:02:13,820
Average per category weighted average per category difference from filter values time intelligence and
29
00:02:13,820 --> 00:02:15,110
so on and so forth.
30
00:02:15,110 --> 00:02:21,260
So the way I think about these is that they're basically pre-built formula templates that kind of help
31
00:02:21,260 --> 00:02:26,580
you drag and drop fields rather than actually writing any daks from scratch.
32
00:02:26,960 --> 00:02:33,450
Now if you've taken any of my other excel courses you probably realized that I hate stuff like this.
33
00:02:33,620 --> 00:02:37,650
I feel like these types of tools they can be helpful in certain instances.
34
00:02:37,660 --> 00:02:38,780
I'll give it that.
35
00:02:38,810 --> 00:02:43,320
But generally speaking they kind of just encourage laziness.
36
00:02:43,520 --> 00:02:50,180
So they're almost like a crutch that people use to avoid actually learning and understanding the fundamentals
37
00:02:50,240 --> 00:02:51,290
of daks.
38
00:02:51,590 --> 00:02:57,590
So if you're in this course learning from me this is a no shortcut approach we're just going to say
39
00:02:57,590 --> 00:02:59,300
no to quick measures.
40
00:02:59,300 --> 00:03:00,720
From now on.
41
00:03:00,830 --> 00:03:04,210
So there's your summary for how to add columns or measures.
42
00:03:04,220 --> 00:03:08,710
Next up we're going to compare implicit versus explicit measures and practice writing.
43
00:03:08,710 --> 00:03:11,810
Our first true measure in our Adventure Works report.
4740
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.