Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:05,280 --> 00:00:06,270
In this next lesson.
2
00:00:06,270 --> 00:00:10,530
What I want to do is just spend a bit of time talking about dates and how we work with them in Power
3
00:00:10,530 --> 00:00:11,130
BI.
4
00:00:11,520 --> 00:00:15,360
So I'm just going to remove these visualizations from the previous lesson.
5
00:00:15,570 --> 00:00:18,430
So let's start off just with a simple table again.
6
00:00:18,480 --> 00:00:20,460
And let's move that over there.
7
00:00:20,850 --> 00:00:26,610
And what you'll notice is that when you brought your data into Power BI, it should have recognized
8
00:00:26,610 --> 00:00:28,920
that ordered data is actually a data field.
9
00:00:28,950 --> 00:00:31,350
And what it will do is it will give it a calendar.
10
00:00:31,680 --> 00:00:33,630
You'll see a little calendar icon next to it.
11
00:00:33,840 --> 00:00:38,100
Also, if you click on it, you should see then that it's a data type of date.
12
00:00:38,340 --> 00:00:43,440
And also you could change the format that this is displayed in if you want to, using your column tools.
13
00:00:44,260 --> 00:00:48,970
So hopefully that happened when you brought the data in that the audit data was actually seen as a data
14
00:00:48,970 --> 00:00:49,660
field.
15
00:00:49,960 --> 00:00:55,330
Now, if you move that into a table, what you'll actually see happens is that it actually creates a
16
00:00:55,330 --> 00:00:56,050
hierarchy.
17
00:00:56,410 --> 00:01:01,510
So you'll see that it automatically breaks this down into my year, my quota, my month, my day.
18
00:01:01,570 --> 00:01:04,959
So showing there's four different fields now in my table.
19
00:01:05,630 --> 00:01:08,810
If you want to see your sales value, you can add that into your table.
20
00:01:10,140 --> 00:01:10,610
Here we go.
21
00:01:10,620 --> 00:01:15,660
Now we've got each of those four different options for your hierarchy, for your date.
22
00:01:15,900 --> 00:01:20,700
What you can also see, though, is if you go to your dropdown, you can change this to be just a traditional
23
00:01:20,700 --> 00:01:21,020
date.
24
00:01:21,030 --> 00:01:26,100
So if you just said order date, now you'll see that it changes to one field and you've got a traditional
25
00:01:26,100 --> 00:01:27,510
date that you can use.
26
00:01:28,200 --> 00:01:33,540
So this hierarchy becomes very important when you're working with dates within Power BI because it gives
27
00:01:33,540 --> 00:01:38,490
you different ways of being able to aggregate your information and understand your data information.
28
00:01:38,760 --> 00:01:42,840
So over here we can see by each day what happened with ourselves.
29
00:01:42,840 --> 00:01:47,220
But what happened if we want to see for a specific year or for a specific month.
30
00:01:47,550 --> 00:01:50,310
So let's go back to looking at our data hierarchy.
31
00:01:50,700 --> 00:01:55,800
So if we go back and we actually pick our date hierarchy, so I'm just going to go down, you can see
32
00:01:55,800 --> 00:01:56,770
it's at the bottom here.
33
00:01:56,790 --> 00:02:00,750
So date hierarchy, it goes back to my year called Month day.
34
00:02:00,900 --> 00:02:04,500
Now you will see that there's a little X against each of these options.
35
00:02:04,500 --> 00:02:07,500
So if I don't want to show the day, I can actually remove it.
36
00:02:08,190 --> 00:02:13,200
Now you'll see that this is summarized by year, quarter, a month, and I'm now seeing the total sales
37
00:02:13,200 --> 00:02:14,730
for the summarization.
38
00:02:15,270 --> 00:02:18,900
So what I'm going to do is I'm actually going to remove the quota just to make this a little bit easier,
39
00:02:18,900 --> 00:02:22,740
because now we can see that we have a year and a month and we have our sales.
40
00:02:23,040 --> 00:02:26,490
So that's quite useful to be able to see your total sales by month.
41
00:02:26,910 --> 00:02:31,910
And you can see as well that this is incorrect chronological order, which is obviously quite convenient.
42
00:02:31,920 --> 00:02:33,540
Some systems don't get this right.
43
00:02:33,540 --> 00:02:38,180
It actually does it by alphabetical for your month and causes a bit of a problem.
44
00:02:38,190 --> 00:02:41,040
But as you can see, this is in your correct chronological order.
45
00:02:41,220 --> 00:02:45,660
Again, if I was to remove the month here, then you would see, then we would just then have the totals
46
00:02:45,660 --> 00:02:46,560
for our year.
47
00:02:47,190 --> 00:02:51,840
If you wanted to change this, you would have to now replace the actual field because we can't just
48
00:02:51,840 --> 00:02:52,410
add back.
49
00:02:52,410 --> 00:02:56,340
So if I want to take that out, I can just drop all the date back in again.
50
00:02:56,340 --> 00:02:59,730
And let's say we did actually want to see what's happening by year end quarter.
51
00:02:59,970 --> 00:03:05,430
Now I'd just go back and then just remove the day, remove the month, and now I could see by year on
52
00:03:05,430 --> 00:03:07,860
quarter what was happening by my sales.
53
00:03:08,100 --> 00:03:09,570
So really, really useful.
54
00:03:09,720 --> 00:03:15,360
So what I want to do is actually let's just move that across to one side and you're going to delete
55
00:03:15,360 --> 00:03:20,310
that one and we're going to look now at a matrix and what can happen with the matrix.
56
00:03:20,310 --> 00:03:21,960
So we're going to bring up a matrix.
57
00:03:21,960 --> 00:03:26,700
And as we've seen with the matrix, we're going to get the ability to work with our rows and columns.
58
00:03:27,150 --> 00:03:32,250
So let's say we drop an ordered data into our rows and let's say we drop an order date now into our
59
00:03:32,250 --> 00:03:32,940
columns.
60
00:03:33,300 --> 00:03:36,960
So you'll see that a lot of information would be displayed.
61
00:03:37,500 --> 00:03:38,970
And we've also got our cells.
62
00:03:40,560 --> 00:03:46,770
So we've got our sales and currently it is showing me by each of the years now it's not showing me currently
63
00:03:46,770 --> 00:03:49,560
the columns because I have too much data.
64
00:03:49,560 --> 00:03:53,580
So let's see with the columns, if we can bring this down a little bit, let's say we want to show the
65
00:03:53,580 --> 00:03:54,550
actual month.
66
00:03:54,570 --> 00:03:58,260
So I'm going to take out of here the day, I'm going to take out the quarter and I'm going to take out
67
00:03:58,260 --> 00:03:58,740
the year.
68
00:03:58,890 --> 00:04:00,400
So now we just got the month.
69
00:04:00,420 --> 00:04:04,980
Now you can see that it can show the amount of data and automatically what it's done.
70
00:04:05,010 --> 00:04:07,710
Let's see if we can widen this a little bit.
71
00:04:08,010 --> 00:04:08,700
There we go.
72
00:04:09,480 --> 00:04:14,440
We now have a view that is showing us by year and by month what has happened.
73
00:04:14,460 --> 00:04:19,680
So this is really your traditional management report that we often put together in Excel spreadsheets
74
00:04:19,680 --> 00:04:24,560
where we want to see by year and month exactly what's happened and what I could do as well.
75
00:04:24,570 --> 00:04:28,050
You can see that I do have the drill downs on here, but I probably wouldn't need them.
76
00:04:28,050 --> 00:04:34,050
So again, I can just remove these fields that I don't need and we just keep for example, here and
77
00:04:34,050 --> 00:04:34,620
there we go.
78
00:04:34,620 --> 00:04:35,580
We've got that.
79
00:04:36,030 --> 00:04:38,760
What you can do as well is you could see this from other dimensions.
80
00:04:38,760 --> 00:04:42,180
So you may want to see what happens by different regions.
81
00:04:42,180 --> 00:04:43,530
Let's actually use regions.
82
00:04:43,890 --> 00:04:48,600
If you pop up your regions and you'll see that you've got Asia, Europe, North America, you've got
83
00:04:48,600 --> 00:04:49,680
each of your months.
84
00:04:49,680 --> 00:04:55,800
And as we see in if we use this drill down, you will now actually drill down for each of your years
85
00:04:55,800 --> 00:05:01,590
so you can create a sort of complexity as you would want to by using these different options.
86
00:05:01,590 --> 00:05:07,650
So as you can see, the data can work as a hierarchy or it can also just work with ordered data itself.
87
00:05:08,520 --> 00:05:10,140
So we're going to conclude the lesson there.
88
00:05:10,140 --> 00:05:11,460
I will see you in the next one.
8965
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.