Module 2 PPT
Module 2 PPT
Areas in Power
11 12 Advanced Editor
Query Editor
This is the main workspace where we add report items, such as bar
charts, maps, and pie charts, and display data using these report items
Report View
Data View
Model View
Data View
Model View
Report View
Data View
Model View
Database
Database connectors include:
Connectors
File Connectors
MySQL
SaaS Connectors
Oracle Teradata
Database
Connectors File connectors include:
File Connectors
CSV
SaaS Connectors
XML JSON
Database
Connectors Azure connectors include:
File Connectors
Azure SQL Data Warehouse
Azure Connectors
Azure Table
Azure Blob Storage Storage
SaaS Connectors
Azure SQL Database
Database
Connectors SaaS connectors include:
File Connectors
Salesforce
SaaS Connectors
Facebook QuickBooks Online
In Power BI, we can connect to files from Power BI Desktop or from Power BI Service
Using Power BI, we can also connect to various file formats, folders, etc. and
even import Power BI Report files with the .pbix extension
When we import data directly into Power BI Service, the maximum file
size should be 250 MB
Connect to an Excel workbook and use its contents as a dataset for Power BI reports and dashboards.
We can edit our data using Power Query Editor
Import a whole Excel workbook and explore it in the same way we would do when using Excel Online,
but here we cannot edit our data
3 Click on Files
We upload a local file to Power BI to build reports and • For free users, data can be refreshed daily with a
dashboards; then, we make changes to the file and upload maximum of 10,000 rows/hour
it again, providing the file name as the same, and then • For pro users, data can be refreshed hourly up to 1
Power BI will update the file million rows/hour
Microsoft SQL Server is one of the database sources available in Power BI, which is a popular relational
database management system (RDBMS)
It can handle multiple user connections and a high volume of data transactions, and it
can run both in the cloud and on-premises
The steps for connecting SQL Server to Power BI is the same as connecting
other databases such as Oracle, MySQL, or IBM Db2
Power BI Desktop
1 --> Get Data
From Power BI Desktop, we can import data from third-party online solutions
and combine the data in reports and dashboards
For example, we can create a report from Facebook that shows marketing data combined with the sales
data that is from Salesforce
R Script
Web Python Script
Connector
We can directly run Python scripts in Power BI Desktop by importing the datasets into the
Power BI data model and adding visualizations to them
Python can also be used for data cleansing, performing advanced data shaping,
analytics, etc. in Power BI Query Editor
We can also use an external Python IDE to create Python scripts and use those
scripts in Power BI Desktop
Python IDE
Python Visuals
The R programming language has been integrated with the Transact-SQL language that helps Data
Scientists develop applications in R and deploy them in a SQL Server production environment
Power Query Editor helps us load data from a wide number of data
sources and apply transformations on it
Load
Transform Data
Data
Shape
Merge Data
Data
Format
Data
01 Ribbon
02 Queries Pane
Ribbon
01 Ribbon
The ribbon in Power Query Editor has six tabs:
• Home
02 Queries Pane • Transform
• Add Column
• View
03 Data View Pane
• Tools
• Help
04 Query Settings Pane
Queries Pane
01 Ribbon The Queries pane will show the active queries and their names.
When we select a query from this pane, data will be displayed on
the Data View pane
02 Queries Pane
01 Ribbon In this pane, the data from the selected query is displayed where we
can shape, transform, or merge the data to meet our needs
02 Queries Pane
01 Ribbon This pane shows the steps associated with a query. All the operations
that we perform on the data are captured by APPLIED STEPS in the
Query Settings pane
02 Queries Pane
Using Advanced Editor, we can see the code that Power Query Editor
uses with each step, and we can also create our own code