Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:05,060 --> 00:00:08,870
Welcome to this section on Power BI and working with Excel.
2
00:00:09,020 --> 00:00:14,840
So no matter how well Power BI may meet your requirements, often you may well feel that you would want
3
00:00:14,840 --> 00:00:15,920
to work with Excel.
4
00:00:15,980 --> 00:00:21,200
Excel has got a tremendous amount of tools and capabilities that really are great for working with data
5
00:00:21,200 --> 00:00:24,710
as well, and sometimes you just may find that things are easier in Excel.
6
00:00:24,740 --> 00:00:28,820
So what we're going to explore in this section is just basically some of the ways that Power BI and
7
00:00:28,820 --> 00:00:30,350
Excel can work together.
8
00:00:30,650 --> 00:00:36,320
I'm going to take you through what currently is working with Power BI, but this is an area that Microsoft
9
00:00:36,320 --> 00:00:38,780
continually evolves and changes and updates.
10
00:00:38,780 --> 00:00:43,910
So you may find that they, as you go through in time, that things do update in this area.
11
00:00:43,940 --> 00:00:48,080
Now what I have done is I've gone back to my data model example.
12
00:00:48,080 --> 00:00:52,490
So you might remember earlier on in the course we created all of this data.
13
00:00:52,490 --> 00:00:56,900
So we had a whole bunch of measures and calculated columns that we created.
14
00:00:57,170 --> 00:01:00,170
So let's just have a look at some of the data just to refresh our memory.
15
00:01:00,170 --> 00:01:01,800
So I'm going to create a table.
16
00:01:01,800 --> 00:01:06,480
And you may remember that I used the subregion, which kind of gave me a list of countries that we've
17
00:01:06,480 --> 00:01:10,120
got, and then we had some different fields that we were working with.
18
00:01:10,140 --> 00:01:13,560
So, for example, we had our total sales, we had our total profit.
19
00:01:13,590 --> 00:01:16,080
We were able to work with a profit ratio.
20
00:01:16,230 --> 00:01:17,910
You may remember those figures.
21
00:01:17,940 --> 00:01:22,920
We had things as well, such as the number of customers we had, what was our highest sale, and if
22
00:01:22,920 --> 00:01:25,360
I've got a couple of averages, average sale.
23
00:01:25,380 --> 00:01:26,780
Average sale per customer.
24
00:01:26,790 --> 00:01:29,710
So we had quite a bit of data that had been calculated.
25
00:01:29,730 --> 00:01:34,320
What we're going to do in this example, though, is we're going to see how we could work with Excel
26
00:01:34,320 --> 00:01:35,060
from this.
27
00:01:35,070 --> 00:01:39,620
And the first part of this is I need to actually publish this into the power BI service.
28
00:01:39,630 --> 00:01:43,470
You're going to see that when we work with Excel, we're going to use the Power BI service to help us.
29
00:01:43,470 --> 00:01:45,170
So I'm going to start off with this report.
30
00:01:45,180 --> 00:01:47,880
It's just a very simple table, but we're going to publish it.
31
00:01:47,880 --> 00:01:52,950
And you remember the first part that we need to do with our data model is actually we need to save this.
32
00:01:52,950 --> 00:01:55,470
So what I'm going to do is I'm going to just save this.
33
00:01:55,470 --> 00:01:57,000
So please just go into your file.
34
00:01:57,010 --> 00:01:58,320
Just going to save.
35
00:01:58,350 --> 00:01:59,550
You can see this one here.
36
00:01:59,550 --> 00:02:03,810
I've called data model, but you can give it whatever name you want to, so I'm just going to click
37
00:02:03,810 --> 00:02:05,310
on the save button on that.
38
00:02:05,550 --> 00:02:08,490
So once you've saved this, this is going to be the name of the report.
39
00:02:08,520 --> 00:02:11,160
The next part that we're going to do is we're going to publish.
40
00:02:11,250 --> 00:02:13,110
So we're going to select our publish button.
41
00:02:13,110 --> 00:02:16,860
And you remember from earlier on in the course, we had different workspaces.
42
00:02:16,890 --> 00:02:21,390
Now for me, I'm going to use the training workspace, but you can use the my workspace if you want
43
00:02:21,390 --> 00:02:23,460
to, but I'm going to put it into training.
44
00:02:23,460 --> 00:02:26,490
So we're going to select training and I'm going to click on the select button.
45
00:02:26,760 --> 00:02:26,970
Okay.
46
00:02:26,970 --> 00:02:32,400
So you'll see that that now starts to publish up to the power BI service and it should succeed quite
47
00:02:32,400 --> 00:02:32,850
quickly.
48
00:02:33,330 --> 00:02:33,930
Okay, there we go.
49
00:02:33,930 --> 00:02:34,920
We got success.
50
00:02:34,920 --> 00:02:37,020
So we're going to go into the power BI service.
51
00:02:37,020 --> 00:02:38,790
I'm going to bring up my browser.
52
00:02:39,030 --> 00:02:39,360
Okay.
53
00:02:39,360 --> 00:02:41,100
So we're back in the power BI service.
54
00:02:41,100 --> 00:02:43,980
I'm on the home screen, so I'm going to go down to my workspaces.
55
00:02:43,980 --> 00:02:47,040
If you published into the my workspace, please choose that one.
56
00:02:47,040 --> 00:02:53,100
I'm just going to go to my training one and you can see now that I do have my data model, I've got
57
00:02:53,100 --> 00:02:56,240
the data set and I do also have the little report.
58
00:02:56,250 --> 00:03:00,780
So what I'm going to do is I'm going to open up the report and you should see that table that we've
59
00:03:00,780 --> 00:03:02,910
just created being shown at the time.
60
00:03:03,060 --> 00:03:03,900
So there we go.
61
00:03:03,900 --> 00:03:05,610
We've now got this information.
62
00:03:05,730 --> 00:03:10,020
And what you will see is that there's some different options that we can use in terms of being able
63
00:03:10,020 --> 00:03:11,810
to analyze this with Excel.
64
00:03:11,820 --> 00:03:17,280
So the first one that I want to show you is that we've got on the export is that you've got an analyze
65
00:03:17,280 --> 00:03:18,630
in Excel option.
66
00:03:18,630 --> 00:03:19,740
So we're going to select that.
67
00:03:19,740 --> 00:03:24,420
And what it's going to do is it's going to open up the online Excel and it's going to create a connection
68
00:03:24,420 --> 00:03:26,700
to this underlying Power BI dataset.
69
00:03:26,970 --> 00:03:31,290
It's then going to allow us to use pivot tables to be able to create our reports.
70
00:03:31,380 --> 00:03:37,440
So let's choose that analyze in Excel and it's going to tell us creating the Excel file and do we want
71
00:03:37,440 --> 00:03:39,420
to open in Excel for the Web?
72
00:03:39,420 --> 00:03:42,000
So we're going to select that and we're going to allow that to happen.
73
00:03:42,480 --> 00:03:42,750
Okay.
74
00:03:42,750 --> 00:03:46,170
You may get a couple of dialogs that you need to just get through.
75
00:03:46,170 --> 00:03:46,410
Click.
76
00:03:46,410 --> 00:03:48,180
Yes, you're going to allow this to happen.
77
00:03:48,180 --> 00:03:53,730
And then you can see now that our pivot table fields are now available and we've got a traditional pivot
78
00:03:53,760 --> 00:03:54,420
table.
79
00:03:54,720 --> 00:03:58,170
Now, if you're not familiar with pivot tables, there really are great technology.
80
00:03:58,170 --> 00:04:02,550
Basically, they work like rows, columns, values, very similar to the matrix that we did earlier
81
00:04:02,550 --> 00:04:03,420
on in the course.
82
00:04:03,420 --> 00:04:06,930
So let's say, for example, I wanted to see a list of all my customers.
83
00:04:06,960 --> 00:04:11,190
You could just click on the customers and you'll see they'll go into my rows and now my Excel.
84
00:04:11,220 --> 00:04:13,590
I've got actually a list of all my customers.
85
00:04:13,680 --> 00:04:19,500
Let's say I wanted to see a list of all the sales that are for my customers.
86
00:04:19,529 --> 00:04:26,190
Now, if I go down to my sales and I select my sales and I try and drag it, if I go to the values,
87
00:04:26,190 --> 00:04:31,110
you see that if I drop it there, it says it cannot be placed in that area of the report.
88
00:04:31,350 --> 00:04:37,350
Now, the reason for that is your numeric fields that are a part of your data actually cannot be used
89
00:04:37,350 --> 00:04:38,480
in pivot tables.
90
00:04:38,490 --> 00:04:42,630
The only fields that can be used in pivot tables are actually your measures.
91
00:04:42,630 --> 00:04:48,030
And this is part of the reason why I went back to actually using this this data set, because we created
92
00:04:48,030 --> 00:04:50,220
quite a lot of measures when we were going through this.
93
00:04:50,400 --> 00:04:54,210
But please note, that's that's one of the limitations here, is that when you're working with pivot
94
00:04:54,240 --> 00:04:56,970
tables, you have to be able to use measures.
95
00:04:56,970 --> 00:04:59,580
If I choose measures, you're going to see this actually works perfectly.
96
00:04:59,580 --> 00:05:00,030
I can use my.
97
00:05:00,050 --> 00:05:04,700
Total sales, total profit and give my profit ratio.
98
00:05:05,240 --> 00:05:07,100
And get my lowest sale for that customer.
99
00:05:07,100 --> 00:05:08,000
Highest sale.
100
00:05:08,000 --> 00:05:10,730
And you can see that my pivot table now builds up.
101
00:05:11,060 --> 00:05:12,920
Now, please note as well, this is dynamic.
102
00:05:12,920 --> 00:05:19,370
So when you refresh this using your pivot table, you will see that you will actually get new information
103
00:05:19,370 --> 00:05:20,870
as as it comes along.
104
00:05:20,870 --> 00:05:25,220
So you can go along to your refresh and choose your refresh options for this.
105
00:05:25,220 --> 00:05:30,920
But this is one of the limitations that you do have, is that you do need to use measures for this.
106
00:05:30,920 --> 00:05:35,150
You cannot actually use the actual data field that is in the reports.
107
00:05:35,150 --> 00:05:38,510
So just be aware of that as a limitation.
108
00:05:44,260 --> 00:05:48,370
I just wanted to do a quick update on the Analyze with Excel feature.
109
00:05:48,370 --> 00:05:52,660
So you've just seen in the lesson that we were not able to use the numeric fields that were part of
110
00:05:52,660 --> 00:05:53,300
the table.
111
00:05:53,320 --> 00:05:54,820
However, that's now changed.
112
00:05:54,820 --> 00:05:59,470
So if you look at the table now, you'll see that all our measures have actually now been included into
113
00:05:59,470 --> 00:06:00,640
the actual data table.
114
00:06:00,640 --> 00:06:05,230
Whereas with part of the lesson you saw previously, you would have seen that it had its own table called
115
00:06:05,230 --> 00:06:05,890
measures.
116
00:06:05,890 --> 00:06:09,850
And now if we use these numeric fields, let's just grab our customer again.
117
00:06:09,890 --> 00:06:11,500
Let's pop the customer into our rows.
118
00:06:11,500 --> 00:06:13,450
Let's say we want to know the total sales.
119
00:06:13,450 --> 00:06:18,790
You'll see now that the sum of the sales will actually work if we use our profit, for example.
120
00:06:18,910 --> 00:06:23,860
Also, let's say, for example, we wanted to see our average profit, for example, just pop in the
121
00:06:23,890 --> 00:06:27,490
sum of sales to there and I can go across to my pivot table.
122
00:06:27,520 --> 00:06:32,940
I could say summarize values, go to my averages and you'll see then that that would recalculate.
123
00:06:32,950 --> 00:06:35,290
So just a quick little update just to show you.
124
00:06:35,290 --> 00:06:40,570
You can now actually use those numeric fields in your pivot table, which I think can make a huge difference
125
00:06:40,570 --> 00:06:42,880
to your analysis when you're working with Excel.
126
00:06:42,970 --> 00:06:43,110
Okay.
127
00:06:43,120 --> 00:06:44,660
We're going to continue the lesson.
128
00:06:45,140 --> 00:06:51,170
Now, the next example that I want to look at is the ability to be able to output your table as data
129
00:06:51,170 --> 00:06:53,000
that you can work with in Excel.
130
00:06:53,030 --> 00:06:57,890
Now what you've got is if you go to the three ellipses, you'll see that there's more options.
131
00:06:57,890 --> 00:07:01,760
And one of the options you've got is the ability to be able to export your data.
132
00:07:01,760 --> 00:07:06,080
So when we select export data, you'll see that you get specific options.
133
00:07:06,080 --> 00:07:11,870
You can do your data with your current layout, or you could do summarize data or even look at the underlying
134
00:07:11,870 --> 00:07:12,530
data.
135
00:07:12,560 --> 00:07:17,390
Now you can see that this has been turned off by the report author because often the underlying data
136
00:07:17,390 --> 00:07:22,640
may have thousands and thousands of rows and they may not want you to be able to actually then export
137
00:07:22,640 --> 00:07:24,200
large amounts of quantity.
138
00:07:24,530 --> 00:07:28,310
So let's say, for example, we wanted to pick the summarize data.
139
00:07:28,580 --> 00:07:32,210
Now you can see down in the file format that we've got different options.
140
00:07:32,210 --> 00:07:38,310
So traditionally what we were able to do was we could export this to a CSV or we could export this to
141
00:07:38,310 --> 00:07:39,080
an Excel file.
142
00:07:39,200 --> 00:07:42,770
Now when you exported it, it then basically was exported.
143
00:07:42,770 --> 00:07:47,560
At that point in time, there was no live connection that allowed you to refresh this data.
144
00:07:47,570 --> 00:07:53,930
However, there's now a live connection option where you can now export your summarized data and then
145
00:07:53,930 --> 00:07:57,020
as the data changes, you can have it refreshed in your Excel.
146
00:07:57,050 --> 00:07:58,880
So let's have a look at an example of that.
147
00:07:58,880 --> 00:08:00,830
We're going to choose with the live connection.
148
00:08:00,830 --> 00:08:07,400
We're going to export this again to our Excel, and this will probably open up again our Excel.
149
00:08:07,400 --> 00:08:09,500
So we're going to choose that to say open.
150
00:08:26,410 --> 00:08:31,200
Okay, so my excel is now opened and you can see again, I'm getting some warnings about Protected view.
151
00:08:31,210 --> 00:08:32,350
I'm going to enable that.
152
00:08:32,350 --> 00:08:34,090
I'm going to enable the content.
153
00:08:34,090 --> 00:08:38,980
But basically we now have the data in our Excel.
154
00:08:39,400 --> 00:08:39,669
Okay?
155
00:08:39,669 --> 00:08:44,250
So if we look at this, what it's done is it's actually created an Excel table and you can see that
156
00:08:44,290 --> 00:08:49,330
I've got the name of my table, I've got the name of my field and I've actually got the data now that
157
00:08:49,330 --> 00:08:50,740
has been brought into this.
158
00:08:50,860 --> 00:08:56,290
You'll also see that you do get the ability to use your traditional Excel types of filters.
159
00:08:56,290 --> 00:08:59,680
So this is a proper Excel table that you're working with.
160
00:08:59,710 --> 00:09:01,210
You'll see that table design.
161
00:09:01,240 --> 00:09:06,160
I've got a table name and you can actually use this now, say in creating a pivot table.
162
00:09:06,160 --> 00:09:10,810
So if you said I wanted to insert a pivot table, say insert, pivot table from this because you're
163
00:09:10,810 --> 00:09:15,910
going to say from the table, and we could now say that we're going to include this into a pivot table
164
00:09:15,910 --> 00:09:16,450
itself.
165
00:09:16,450 --> 00:09:19,630
Obviously, you're just working with the rows of data that you do have.
166
00:09:19,630 --> 00:09:25,480
But if I go back in my sheet and I go back to this, you will see that with your table design, you're
167
00:09:25,480 --> 00:09:26,930
able to refresh this.
168
00:09:26,930 --> 00:09:31,730
And when you refresh it because it's got a live connection, any new updates should then be brought
169
00:09:31,730 --> 00:09:32,870
through into the table.
170
00:09:32,970 --> 00:09:37,700
At the time of putting this together, this is a relatively new feature, so please just be aware that
171
00:09:37,700 --> 00:09:38,990
things may change with this.
172
00:09:38,990 --> 00:09:43,520
And as I noted right at the beginning of the lessons, this area is something that Microsoft tends to
173
00:09:43,520 --> 00:09:44,660
play around with quite a lot.
174
00:09:44,660 --> 00:09:46,730
So you might find that it does change.
175
00:09:46,940 --> 00:09:47,870
But there we go.
176
00:09:47,870 --> 00:09:53,690
We've now got a table that has been created within Excel and we've even created a pivot table and we
177
00:09:53,690 --> 00:10:00,140
could say that we would want to see, for example, our countries see a number of customers or average
178
00:10:00,140 --> 00:10:02,540
sales, highest sale.
179
00:10:02,540 --> 00:10:03,410
And there we go.
180
00:10:03,410 --> 00:10:05,060
We've now created that pivot table.
181
00:10:05,060 --> 00:10:10,220
And one of the things here is because we're using a table within Excel, we don't have the limitations
182
00:10:10,220 --> 00:10:14,270
that we did with the other one where we were needing to use any measures.
183
00:10:14,270 --> 00:10:17,450
With this one here we can use any field that was exported.
184
00:10:17,450 --> 00:10:19,820
So just something to take into consideration.
185
00:10:20,440 --> 00:10:21,160
Okay, so there we go.
186
00:10:21,160 --> 00:10:25,300
There's a couple of options that you can use when you're analyzing your data with Excel.
187
00:10:25,330 --> 00:10:26,960
We're going to conclude the lesson there.
188
00:10:26,980 --> 00:10:28,060
I will see you in the next one.
18651
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.