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:01,000
Instructor: All right,
2
00:00:01,000 --> 00:00:02,000
so we've got another pro-tip lecture here
3
00:00:02,000 --> 00:00:04,000
and this time, we're gonna talk
4
00:00:04,000 --> 00:00:07,000
about importing entire models directly from Excel.
5
00:00:07,000 --> 00:00:09,000
So in Power BI, we've got this import menu
6
00:00:09,000 --> 00:00:11,000
that we really haven't talked about yet
7
00:00:11,000 --> 00:00:15,000
and you have this option to import Excel workbook contents.
8
00:00:15,000 --> 00:00:17,000
And note that this is different
9
00:00:17,000 --> 00:00:19,000
from using the get data option
10
00:00:19,000 --> 00:00:21,000
and pointing to an Excel workbook.
11
00:00:21,000 --> 00:00:23,000
What this is doing is actually importing
12
00:00:23,000 --> 00:00:25,000
additional information about the entire model
13
00:00:25,000 --> 00:00:27,000
from Excel into Power BI.
14
00:00:27,000 --> 00:00:29,000
So what's incredibly helpful about this
15
00:00:29,000 --> 00:00:31,000
is that this process preserves
16
00:00:31,000 --> 00:00:34,000
just about all of the information about your model.
17
00:00:34,000 --> 00:00:37,000
It transitions information about the data source connections
18
00:00:37,000 --> 00:00:40,000
and queries that are in place, all the file paths,
19
00:00:40,000 --> 00:00:42,000
it maintains the query editing procedures,
20
00:00:42,000 --> 00:00:45,000
all of the applied steps, the data modeling details,
21
00:00:45,000 --> 00:00:48,000
like the relationships and hierarchies
22
00:00:48,000 --> 00:00:51,000
and field settings and formats and et cetera, et cetera.
23
00:00:51,000 --> 00:00:54,000
And then last but not least, all of your calculated columns
24
00:00:54,000 --> 00:00:56,000
and DAX measures are also imported
25
00:00:56,000 --> 00:00:58,000
from your Excel model into Power BI.
26
00:00:59,000 --> 00:01:00,000
So quick pro tip here,
27
00:01:00,000 --> 00:01:02,000
if you're more comfortable building models
28
00:01:02,000 --> 00:01:05,000
in the Excel environment, which is covered
29
00:01:05,000 --> 00:01:08,000
in Maven's Power Query, Power Pivot, and DAX course,
30
00:01:08,000 --> 00:01:10,000
then go ahead and continue to build there
31
00:01:10,000 --> 00:01:13,000
within that environment and then just import those models
32
00:01:13,000 --> 00:01:16,000
into Power BI for the reporting and visualization phase.
33
00:01:16,000 --> 00:01:18,000
You'll end up in the exact same place.
34
00:01:18,000 --> 00:01:20,000
Honestly, it's really just which environment
35
00:01:20,000 --> 00:01:22,000
you're more comfortable in.
36
00:01:22,000 --> 00:01:23,000
All right, so sit back,
37
00:01:23,000 --> 00:01:25,000
relax for a minute and just watch this demo.
38
00:01:25,000 --> 00:01:27,000
I'm gonna show you what it looks like
39
00:01:27,000 --> 00:01:29,000
when you actually import a full data model
40
00:01:29,000 --> 00:01:31,000
from Excel into Power BI.
41
00:01:32,000 --> 00:01:34,000
So this is the FoodMartDataModelCOMPLETE file
42
00:01:34,000 --> 00:01:37,000
from the Power Query, Power Pivot, and DAX course.
43
00:01:37,000 --> 00:01:41,000
And basically here, we've got a fully built data model
44
00:01:41,000 --> 00:01:43,000
with a whole bunch of tables here,
45
00:01:43,000 --> 00:01:46,000
lookup tables and data tables.
46
00:01:46,000 --> 00:01:48,000
We can jump over into the diagram view here.
47
00:01:48,000 --> 00:01:51,000
That'll show us all of our relationships,
48
00:01:51,000 --> 00:01:54,000
our table relationships in one place, right?
49
00:01:54,000 --> 00:01:56,000
We've got all these lookups.
50
00:01:56,000 --> 00:01:58,000
You can see that we've got our parameters
51
00:01:58,000 --> 00:02:00,000
and our disconnected tables as well.
52
00:02:00,000 --> 00:02:04,000
So again, it's a pretty robust model here.
53
00:02:04,000 --> 00:02:06,000
And then on top of that, we've also got all
54
00:02:06,000 --> 00:02:09,000
of our measures that we have created.
55
00:02:09,000 --> 00:02:12,000
And this would be a huge, huge headache
56
00:02:12,000 --> 00:02:14,000
if we had to recreate all of these different measures
57
00:02:14,000 --> 00:02:16,000
from scratch in Power BI.
58
00:02:16,000 --> 00:02:18,000
And luckily with this functionality,
59
00:02:18,000 --> 00:02:20,000
we won't have to do that.
60
00:02:20,000 --> 00:02:23,000
Now, one thing to note here, as part of this workbook,
61
00:02:23,000 --> 00:02:26,000
we've added all sorts of pivot tables with things
62
00:02:26,000 --> 00:02:29,000
like conditional formatting and data bars and icons.
63
00:02:29,000 --> 00:02:33,000
And there's really no equivalent Power Pivot view
64
00:02:33,000 --> 00:02:35,000
quite like this in Power BI.
65
00:02:35,000 --> 00:02:37,000
There's a matrix visual that's similar
66
00:02:37,000 --> 00:02:38,000
but not quite the same.
67
00:02:38,000 --> 00:02:41,000
So all of these views, the actual pivot tables,
68
00:02:41,000 --> 00:02:44,000
these additional tabs down here, none of that stuff
69
00:02:44,000 --> 00:02:46,000
will actually transfer over.
70
00:02:46,000 --> 00:02:49,000
So I just wanna make sure that you're clear on that first.
71
00:02:49,000 --> 00:02:51,000
All right, so from here, I'm gonna go and open up
72
00:02:51,000 --> 00:02:53,000
a brand new Power BI file
73
00:02:53,000 --> 00:02:57,000
so that we can import this model directly into it.
74
00:02:57,000 --> 00:02:59,000
All right, so I've launched my brand new workbook,
75
00:02:59,000 --> 00:03:01,000
and I'm just gonna close out of this menu here.
76
00:03:01,000 --> 00:03:05,000
And again, we are not getting data from the Get Data menu.
77
00:03:05,000 --> 00:03:08,000
We actually wanna come up to File here
78
00:03:08,000 --> 00:03:11,000
and we are going to import data
79
00:03:11,000 --> 00:03:13,000
from Power Query, Power Pivot, or Power View.
80
00:03:15,000 --> 00:03:18,000
And here is my FoodMartDataModelCOMPLETE file
81
00:03:18,000 --> 00:03:22,000
and click on this, Excel workbook contents.
82
00:03:22,000 --> 00:03:25,000
It says we don't directly work with Excel workbook contents
83
00:03:25,000 --> 00:03:27,000
but we know how to extract the useful content
84
00:03:27,000 --> 00:03:30,000
so that you can work with it in Power BI Desktop.
85
00:03:30,000 --> 00:03:32,000
And again, that's great, right?
86
00:03:32,000 --> 00:03:33,000
We don't necessarily need all
87
00:03:33,000 --> 00:03:36,000
of those pivot table views and everything like that.
88
00:03:36,000 --> 00:03:37,000
We really just wanna get all
89
00:03:37,000 --> 00:03:40,000
of the modeling in DAX and calculated columns
90
00:03:40,000 --> 00:03:43,000
and all of that stuff imported into Power BI.
91
00:03:43,000 --> 00:03:44,000
So click Start.
92
00:03:44,000 --> 00:03:46,000
Oh, and we get an error message.
93
00:03:46,000 --> 00:03:47,000
Migration failed.
94
00:03:47,000 --> 00:03:50,000
It's already open in another program.
95
00:03:50,000 --> 00:03:53,000
So let's head back over and we'll close out of Excel first.
96
00:03:53,000 --> 00:03:55,000
All right, so we'll just close out of this
97
00:03:57,000 --> 00:03:58,000
and let's hit Retry.
98
00:04:00,000 --> 00:04:01,000
All right, there we go.
99
00:04:01,000 --> 00:04:03,000
So now it says, okay,
100
00:04:03,000 --> 00:04:06,000
we've got some tables that exist in that original workbook.
101
00:04:06,000 --> 00:04:07,000
In other words,
102
00:04:07,000 --> 00:04:10,000
they were created using actual cell ranges in Excel.
103
00:04:10,000 --> 00:04:13,000
And it's just saying, hey, do you wanna copy the data
104
00:04:13,000 --> 00:04:16,000
or keep the connection between Power BI and Excel?
105
00:04:16,000 --> 00:04:19,000
And because I just wanna import everything
106
00:04:19,000 --> 00:04:22,000
into Power BI, you know, we're gonna copy the data instead
107
00:04:22,000 --> 00:04:25,000
of trying to keep some sort of connection open.
108
00:04:26,000 --> 00:04:30,000
So Power BI's running through all of their steps
109
00:04:30,000 --> 00:04:34,000
in order to import that fully built model into Power BI.
110
00:04:34,000 --> 00:04:36,000
And that went pretty quickly, right?
111
00:04:36,000 --> 00:04:36,000
And check it out.
112
00:04:36,000 --> 00:04:40,000
It's migrated all of these different tables over.
113
00:04:40,000 --> 00:04:42,000
We've got these data model connections and items,
114
00:04:42,000 --> 00:04:43,000
KPIs and measures.
115
00:04:43,000 --> 00:04:47,000
We've got 48 here, a pretty exhaustive list here
116
00:04:47,000 --> 00:04:48,000
of everything that was imported over
117
00:04:48,000 --> 00:04:50,000
into our data model.
118
00:04:50,000 --> 00:04:52,000
Back in our report view,
119
00:04:52,000 --> 00:04:53,000
we can see that we've got all
120
00:04:53,000 --> 00:04:56,000
of the tables from the model that were added.
121
00:04:56,000 --> 00:04:58,000
Jump over into our data view.
122
00:04:58,000 --> 00:05:02,000
Same thing here, like calendar table, right?
123
00:05:02,000 --> 00:05:05,000
We've got all of our different months and calculations.
124
00:05:07,000 --> 00:05:07,000
Same thing.
125
00:05:07,000 --> 00:05:11,000
Our relationship view or our model view here.
126
00:05:11,000 --> 00:05:13,000
We'll scroll over a little bit.
127
00:05:15,000 --> 00:05:17,000
Can collapse these panes so we can see it.
128
00:05:17,000 --> 00:05:19,000
Again, it's imported our data model as well.
129
00:05:19,000 --> 00:05:21,000
No, it's a little bit messy.
130
00:05:21,000 --> 00:05:23,000
We can go through and reorganize things
131
00:05:23,000 --> 00:05:26,000
but the point here is that it's imported all
132
00:05:26,000 --> 00:05:28,000
of the tables and all of our calculations.
133
00:05:28,000 --> 00:05:30,000
If I head back over here
134
00:05:30,000 --> 00:05:33,000
and we start looking at these measures,
135
00:05:33,000 --> 00:05:36,000
six-month rolling profit, click in.
136
00:05:36,000 --> 00:05:38,000
We've got all of those great DAX measures that we created
137
00:05:38,000 --> 00:05:40,000
in Excel right here in Power BI.
138
00:05:41,000 --> 00:05:43,000
So some of these details
139
00:05:43,000 --> 00:05:45,000
aren't really gonna make sense quite yet
140
00:05:45,000 --> 00:05:47,000
until we dive into the data modeling
141
00:05:47,000 --> 00:05:48,000
and DAX sections of this course.
142
00:05:48,000 --> 00:05:51,000
But again, I just wanna give you a little preview here
143
00:05:51,000 --> 00:05:51,000
and let you know
144
00:05:51,000 --> 00:05:53,000
that this is an option to be able
145
00:05:53,000 --> 00:05:57,000
to pull a fully baked model from Excel right into Power BI.
11460
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.