Power Bi Session Notes
Power Bi Session Notes
1. Looker bi has recently came to the market. And its costlier than Power bi, supports only 60+
data sources but it has capacity of storing huge data
2. Microsoft has implemented many features in excel before implementing in power bi
3. Power bi components(software) : A) Power bi desktop B)Power bi services C) Power bi
report server
D) Power BI Data gateways E) Power Bi mobile apps F)Power bi report builder. Bold ones
will be covered
4. Power Bi Desktop – Complete development activity which means whatever that can be
done with a data tool – Extracting >> Transforming >> Data modelling >> Visualisation.
Extraction is fetching data & according to the end user if any modification is required that
modification is called as data transform once its done relationship between the tables that’s
called as a date model once its done however we display the data is graphs is called as
visualisation.
5. Installed software on our machine are called on premises software which ever software are
used on cloud software and those are called as cloud software
6. Power BI desktop is supported only in windows 8 & above
7. Power BI services: The web application is for interaction of end user, what ever is developed
on desktop it can be uploaded to BI services from there end user can access the data.
Scheduling, Sharing , Access To decide when to schedule when to share whom to share and
whom should we let to access. Dashboards can be also be created
8. Power bi services are could platform and not a free source , organisational
credentials(emails) is free for 2 months. I can create one for 2 months free using my
organisation email id. Power bi services are web application this can be used for end users
interaction purpose. 85% of the companies are using this .
9. Power bi report server: Is also a web application this is used to share reports to end user.
This is on premises. We need to pay and take the licence. Only 10 to 15% are using these
services in the industry. We cant dashboard this
10. Power BI datagateway: Data base and
11.
12. Once data or report is published from power bi desktop to power bi servicers there wont be
any connction between power bi desktop to power bi services only connection will be
between sql server and power bi services.
13. Data gateway isa bridge between on premises Data source to cloud platform
14. Data gateways are categorised into two types:
a) Personal data gateways
b) On Premises data gateways
15. Power BI Report builder: This is an on premises software and this can be used to create the
paginated reports. Paginated reports means exporting the data into excel or pdf if this
export has to happen user needs to have license. This is organisation level chare where it
costs 5k$ per month. When there are huge number of clients we can go by monthly
paginated license.
1. Power BI Mobile apps: If you want to view any report from mobile view we can use these
apps to view the data.
2. POWER BI DESKTOP SYLLABUS: This is where we implement complete development activity
3. Power BI desktop are categorised into 5 types:
a) Power Query
b)Power Pivot
c) Power Map
d) Power Q & A
e) Power View
4. Power Query: This can be used to extract the data from various data sources and to
perform the data transformation
5. Click on Transform data it opens a new window where we can edit and that’s called power
query editor
6. Using Power Query editor we can also transform the data which means data can be
modified. To extract the data we can use new source in power query editor
7. When excel sheet is selected each sheet is considered as one table in power query
8. Select only the sheet that you want to use
2. POWER PIVOT:
1.In power bi desktop Data tab and the model tab are called as Pivot
2. DAX Operations can be performed using data option in POWER BI desktop. Data
analysis expression is the full form of DAX – Three operations can be performed New measure, New
column, New table
Power pivot can be used to do data modelling under DAX operations, DAX is Data analysis expression
Power query editor and Power bi desktop both can be used to extract data.
After inserting the excel trainer has un checked Column distribution option under View tab
The data extracted in power pivot query if it has to be applied in power bi desktop we need to use
apply or close and apply option
Under fields the data will be displayed once the data is saved, to build further modelling we can click
on model
To analyse the data we can use DAX
26th January:
NOTE: If JOIN operation has to be performed, there should be at least 2 tables with one
common column.
4. Inner join: Whenever we want matching records from both the tables then we can use Inner
join.
5. Whenever we want common data of two tables we can use inner join. If the two different
tables has different header but with same data in a column then we can use inner join:
6. To explain the above point clearly check the above table where the header is Stu_id &
Student_id but the data in columns are same. In this case inner join can be used.
7. IF Stu_id and marks columns are selected for inner join Power bi doesn’t show any error but
it doesn’t give proper output
8. Inner join is just like vlookup in excel.
9. Inner join performs the match of every common data with with every row in the source
10. To explain 09th point clear check below SS: For 101 there are two marks so two entries will
be published or taken for 101 stu_id
11. Inner join can be performed for only 2 tables where as in SQL you can perform it for more
than 3 tables.
12. If we want to combine 3 tables we can perform inner join with the out out of two tables with
the third one.
13. What is the difference between Append and merge queries?
This will be explained once complete merge is explained.
14. Remove rows cant be used in realtime but remove columns can be. Because we don’t have
rights to delete the information
15. LEFT OUTER JOIN: Whenever we want complete information from left side table and
matching information from the right side table then LOJ can be used.
16. Takes the complete information from left side table & matching records from the right side
table. In the below table all the data had matching in the rigt side table except for 104 stu_id
but still its taken as its in the left side table.
19. Imp note: JOINs works only with columns not with Rows.
How did you think which one is left or which one is right?
Whenever two tables are considered to perform a join then the first table in the join query is
considered as left and the second one as right table.
20. Go to merge queries new and select the common column between two tables only then we
can perform merge
21.
22. Once merge happens The last column in the above table comes with no data but just with
TABLE content in the last column then we need to click on the top and select the required
contents from the table. This means all the data of the first table will be displayed and then
we need to select the required data to be displayed in the last column. If we want to add any
other column from the second table Click on Expanded order settings and select the column
from the second table to be displayed
23. Full Outer join: When ever we want complete information from both the tables then we can
use Full outer join.
24. Below is an example of output of Full Outer join:
25. LEFT ANTI: Whenever we want data which is only available from left side table then we can
use LEFT ANTI. This means only the data of left table is displayed but not common data
between two tables. Please check the below example where LA is used:
26. RIGHT ANTI: Whenever we want data which is only available from right side table then we
can use RIGHT ANTI. This means only the data of right table is displayed but not common
data between two tables. Please check the below example where LA is used.
27.