Newton School
Newton School
DS Power BI
For example, the GIF specifies how we can see our total sales by month and segment in the form
of Visuals.
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 1/21
2/7/25, 9:19 PM Newton School
What is BI?
loading
Business intelligence (BI) is the art of turning raw business data into actionable insights.
It helps you to Uncover hidden trends and patterns, Make data-driven decisions, Boost
efficiency and performance, and Gain a competitive edge in the business. The top BI
Tools available in the market are:
1. Power BI
2. Tableau
3. Looker
Power BI Desktop: A desktop application for creating and editing Power BI reports
and dashboards.
Power BI Mobile: Mobile apps for viewing Power BI reports and dashboards on
smartphones and tablets.
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 2/21
2/7/25, 9:19 PM Newton School
Report View is where you create and edit your reports and dashboards.
Table View is where you can view and edit the data in your Power BI model.
Model View is where you can view and edit the structure of your Power BI model.
The Filter pane allows you to filter your data to focus on the specific information you need.
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 3/21
2/7/25, 9:19 PM Newton School
The Visualizations pane contains all the different types of visualizations you can use in Power
BI.
The Data pane contains all of the fields in your Power BI model. You can drag and drop fields
from the Data pane onto the canvas to create visualizations.
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 4/21
2/7/25, 9:19 PM Newton School
Power BI for analysis and visualization. It involves either fetching data directly into Power BI reports and
dashboards or connecting to data sources in real-time. Data loading is a crucial step in Power BI, as it sets
the foundation for data modeling, analysis, and creating visualizations. It supports a wide range of data
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 5/21
2/7/25, 9:19 PM Newton School
For example: You use the add feature under the standard function from the add column
tab to add a new column to increase the column value by 20.
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 6/21
2/7/25, 9:19 PM Newton School
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 7/21
2/7/25, 9:19 PM Newton School
For example, if you have a dataset with two columns, 'Price' and 'Quantity', you might
use the "Add Columns" feature to create a new column called 'Total', which is the product
of 'Price' and 'Quantity'. This would be done by adding a custom column with a formula
like
Power Query offers various basic transformations to clean, manipulate, and reshape data.
Some of these include:
5. Appending & Merging Tables: Combining multiple tables either by stacking them
(appending) or by joining based on a common column (merging).
6. Data Type Conversion: Changing the data type of columns (e.g., from text to
numbers).
These basic transformations in Power Query help in preparing and shaping data for
analysis or reporting purposes.
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 9/21
2/7/25, 9:19 PM Newton School
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 10/21
2/7/25, 9:19 PM Newton School
Example: Imagine a table with sales data. It might include columns for the number of
items sold, total sales amount, and references (foreign keys) to other tables like the time
of sale, location of sale, and product details.
Dimension Table: This table is about the context of the data. It includes descriptive
attributes or fields that are typically textual fields. These tables help to categorize,
segment, and describe data in the fact table.
Example: A product dimension table might include details about each product, like the
product name, category, size, color, and other attributes. This information helps in
analyzing the sales data from the fact table by different product characteristics.
Cardinality refers to the relationship between tables in a data model and defines how
the values in one table relate to the values in another. Cardinality is expressed in terms of
one-to-one (1:1), one-to-many (1:N), many-to-many (N:N) relationships, and Many-to-
one (N:1).
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 11/21
2/7/25, 9:19 PM Newton School
One-to-One (1:1): Each record in one table is related to only one record in another
table, and vice versa.
One-to-Many (1:N): Each record in one table can be related to multiple records in
another table, but each record in the second table is related to only one record in
the first table.
Many-to-One (N:1): Multiple rows in one table can be linked or associated with a
single row in another table.
Basics of DAX
DAX (Data Analysis Expressions) is a formula language used in Power BI for creating custom calculations
and data analysis. DAX formulas are similar to Excel formulas but are designed to work with relational data
and perform dynamic aggregation. A basic DAX formula syntax includes a function, and its arguments, and
Example: To calculate the total sales, the DAX formula could be: Total Sales = SUM(Sales[Amount]) Here,
SUM is the DAX function, and Sales[Amount] refers to the 'Amount' column in the 'Sales' table. This
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 12/21
2/7/25, 9:19 PM Newton School
Syntax: DAX formulas typically start with an equal sign (), followed by a function name,
and then its arguments within parentheses. Arguments can be columns, measures, values,
or other DAX expressions.
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 13/21
2/7/25, 9:19 PM Newton School
Aggregation Functions: Used for statistical calculations like sum, average, min, max.
Time Intelligence Functions: For time-based data calculations like year-to-date, month-to-date.
Each type of DAX function plays a specific role in data manipulation and analysis, contributing to the
versatility of Power BI in handling diverse data scenarios.
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 14/21
2/7/25, 9:19 PM Newton School
For Example: Suppose you have a Sales table in your Power BI dataset, and you want to
create a measure to calculate the total sales amount. The DAX expression for this
measure would be. TotalSales = SUM(Sales[SalesAmount])
A Power BI calculated column is a column added to a table in a Power BI dataset, and its
values are determined by a DAX formula. Unlike measures, calculated columns are
computed and stored in the dataset, taking up space, and their values are static.
Calculated columns are useful when you need to perform calculations that depend on the
row context and create a new column based on the existing data.
For Example: Suppose you want to create a custom column to track customer response
from sales then The DAX expression for this measure would be. Sales[CustomerCategory]
:= IF(Sales[TotalSale] > 100, "High Spender", "Regular Customer")
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 15/21
2/7/25, 9:19 PM Newton School
Advanced DAX
Advanced DAX (Data Analysis Expressions) functions in Power BI are sophisticated
formulas used to perform complex data manipulations and calculations. These functions
are essential for deeper data analysis, enabling the creation of dynamic reports and
dashboards in Power BI.
For Example, The CALCULATE DAX function Changes the context in which a data
expression is evaluated.
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 16/21
2/7/25, 9:19 PM Newton School
Bar Chart: A bar chart in Power BI is a horizontal graphical representation of data. It uses
bars to show comparisons among categories. One axis shows the specific categories
being compared, and the other axis represents a measured value.
Example: You can use a Bar chart to compare the total sales of different products across
a horizontal axis, making it easy to see which product is the best or least seller.
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 17/21
2/7/25, 9:19 PM Newton School
Column Chart: A column chart is similar to a bar chart but displays data in vertical
columns. It's useful for showing data changes over a period or for illustrating
comparisons among items.
Example: A Column chart could be used to show monthly revenue for a year, with each
column representing a different month, making it easy to track revenue trends over time.
Pie Chart: A pie chart is a circular statistical graphic divided into slices to illustrate
numerical proportions. Each slice represents a category's contribution to the whole.
Example: To display the market share of different companies within an industry, a Pie
chart can be used, with each slice representing a company's share of the total market.
Tables: Tables in Power BI are a grid that displays data in rows and columns. They are
best for detailed data views and for cases where it is important to display numbers
precisely.
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 18/21
2/7/25, 9:19 PM Newton School
Example: A table can be used to list detailed sales data, including columns for product
name, sales amount, sales region, and quantity sold, providing a comprehensive view of
the sales data.
Power BI offers various visualization tools like Bar charts, Column charts, Pie charts,
and Tables, each serving different purposes in data presentation and analysis
Bar Chart: A bar chart in Power BI is a horizontal graphical representation of data. It uses
bars to show comparisons among categories. One axis shows the specific categories
being compared, and the other axis represents a measured value.
Example: You can use a Bar chart to compare the total sales of different products across
a horizontal axis, making it easy to see which product is the best or least seller.
Column Chart: A column chart is similar to a bar chart but displays data in vertical
columns. It's useful for showing data changes over a period or for illustrating
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 19/21
2/7/25, 9:19 PM Newton School
Example: A Column chart could be used to show monthly revenue for a year, with each
column representing a different month, making it easy to track revenue trends over time.
Pie Chart: A pie chart is a circular statistical graphic divided into slices to illustrate
numerical proportions. Each slice represents a category's contribution to the whole.
Example: To display the market share of different companies within an industry, a Pie
chart can be used, with each slice representing a company's share of the total market.
Tables: Tables in Power BI are a grid that displays data in rows and columns. They are
best for detailed data views and for cases where it is important to display numbers
precisely.
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 20/21
2/7/25, 9:19 PM Newton School
Example: A table can be used to list detailed sales data, including columns for product
name, sales amount, sales region, and quantity sold, providing a comprehensive view of
the sales data.
Legal
Privacy Policy
https://my.newtonschool.co/course/55nfci322132/template/uuqhlq2roqzr/topic-notes/x06410fazbod?course-hash=7vci03hsaz8m 21/21