Power BI - Optimizing models for reporting
653 views
Oct 18, 2024
Power BI - Optimizing models for reporting Watch more Videos at https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Akshay Magre, Tutorials Point India Private Limited
View Video Transcript
0:00
Hello friend and welcome to Tutorials Point
0:03
In this segment of the video we are going to see how to optimize model for reporting in Power BI desktop
0:10
So once you have already imported the data, it is not necessary that the piece of information that you get in that particular data set is useful for our visualization
0:21
For an example, that we have a data set of a customer in which I have their information
0:27
Along with that, I also have their date of birth. Now, to be honest, at the time of visualization of the report, it's not necessary to have such
0:35
kind of information with us. So what we can do about it, we can simply hide that particular column
0:42
So this is used for optimizing the models in such a way that we can specifically hide a piece
0:48
of information which is not needed. That does not imply that we have already deleted it
0:53
No, it will be just hidden in such a way that at the time. of creating or generating any kind of report
1:00
these features will not be included. All right? So we can simply hide them
1:05
The second thing that we can do is sort the data that we have
1:09
Now whenever I go under the modeling tab, we have an option which allows me to sort by column
1:15
So let's take for an example that you have a data set which is not in a proper order that you intend to
1:21
So we can use this sort button, which will help me to the sort data according to my own need
1:27
So how to optimize this models and how to work upon it, we will be having a better understanding of it in our practical approach
1:34
Hello friends and welcome. In this video we are going to learn how to optimize models for report generation in Power BI
1:42
Alright so let go ahead and see how it is done in Power BI Okay for the same reason I will move on the extreme right hand side of my screen Under the fields pane you can see the tables that we have imported using our access database
1:56
I will simply go under this date table and under this date table, you can see there are so many columns out here
2:01
Alright, so what I'll do here is I'll simply click, take this month and drag it onto the
2:07
rip-upon this particular report pane. Okay? I will take this month as well and drag it here
2:13
I will take the month name as well and I'll take the month number. Okay
2:19
So when I drag all this information, it is giving me a tabular format of all the database and it is apparently showing me the same thing that is the month
2:29
All right. But in order to get the relevant information, what we can do out here is we can hide the unnecessary columns which will be not requiring at the time of report generation
2:40
and how I do that first let me go ahead and uncheck all right what the columns
2:46
which we won't be requiring we can simply hide it and in order to hide it we have to go
2:52
onto onto that column and when you go onto that column you can see there are three dots
2:56
which says more option you simply have to click on it and simply click on hide so the moment
3:02
you click on hide it is hidden I do not want even month ID I will simply click on hide and get
3:08
it vanished all right in order to get it back you simply have to click on the street
3:13
dots and you can simply click on unhide all as well all right so this is how it
3:17
is done it's done very simply so what we will do out here I will take this
3:21
month name and drag it here on my screen so I can get all the month name and
3:26
also I will go under the sales fact and get their revenue respective revenue
3:31
so this is giving me an idea that in in the month of April watch what is the revenue out here Okay so this is in a tabular format Let get it in a column chart
3:41
In this column chart, I can get a better understanding about the figures and what are the different months associated with it
3:50
Now, as you can see along with, in this particular report, the month name, in this particular report, the month name is not aligned properly
4:01
as you can see it is written in haphazard manner what I would like to see is it
4:06
should start from Jan and end on December so in order to do this I need to sort
4:11
this particular month column and how I do that it's quite simple again I simply
4:16
have to select this month column right and I'll go under the modeling tab and under
4:20
the modeling tab I have something called as sort column by if I click on this
4:24
drop-down menu I will get bunch of options all right and in this option I will
4:30
say that get this month sorted by the month month number that is like from
4:35
one to 12 that is from January to December the moment I click on this you can see on
4:41
the on my report now my report or my chart this particular chart has been
4:47
optimized in such a way that it starts with Jan and ends on December all right
4:53
guys so this is you how you can optimize report for better results also if you
4:58
can see we have created this date two format in our basic transformation as we
5:04
have seen in our previous video under the basic transformation we have created all these columns we have also created this date two column if I
5:11
simply select this and drag it on the report chart you can see it will show
5:49
report has been generated now this is this particular in a certain format and now if I
5:54
want to change the format out here you simply have to click on the sort and if I if I
5:58
want a different format as you can see under the modeling tab I have to change the
6:03
format of it you can simply click on this drop-down menu go on the date and time
6:07
and you can select whatever format you feel like let's go ahead by let's take it
6:14
all right this looks a nice version where I have the year the month and the
6:19
dates I simply click on it you can see the format has been changed accordingly
6:24
and I can get my results accordingly the format which I can set all right so this is
6:29
very simple if I want to change the format you simply have to select that
6:33
particular column and go on sort column and change the format the way you
6:37
wanted all right under sort column you can sort it on ascend in the ascending
6:42
or descending manner or you want in from month that is Jan to December you can
6:47
sort it along with it or if you want to change the format you simply have to go under this format drop-down menu select date and
6:53
time and select the format which you are you which will be opting for for your
6:58
report generation all right guys so this was all about this video in which we
7:03
learned how to optimize our models to create proper reports in power bi all right
7:10
hopefully you guys like this video see you until next time
#Business & Productivity Software