Power BI
Power BI
▸ Custom visualizations
▸ Native Office 365 integration
On Premises
Product Portfolio
Collaborate Analyze
Publish Visualize
Power BI Desktop
Get Data
Easily connect, clean, and mashup data
Data Sources
Secure, live connection to the data
Connect
sources on-premises and in the
Access
cloud
Publish
Power BI Gateways
Age_Bins = IF(Churn_Modelling[Age]>=60,
"Above 60", "Below 60")
Time Intelligence Functions
▸ Enables user to manipulate data using time periods
such as years, quarters, months, and days
▸ Creating calculations over those time periods
▸ Most common time periods:
▹ Year– to – Date
▹ Quarter – to – Date
▹ Month – to – Date
▹ Last Year
▹ Full Year
▹ Rolling 12 Months
Time Intelligence: TOTALYTD
Total Sales =
sum('Sales OrderDetails’
[Order Line Total])
AVERAGE, AVERAGEA,
AVERAGE X
▸ AVERAGE → Averages out the data
▸ AVERAGEA → Considers non-integer values as null
▸ AVERAGEX → Creates In memory measure
▹ Also an iterator function
▹ Works row by row
▹ Has awareness of rows in a table
▹ Can reference the intersection of each row with any
columns in the table
Tool Tips and Drill Throughs
Best Practice:
Organize your Code
▸ Create a separate table for measures
▸ Limit Visuals: As visuals interact with each other, if we have more
visuals, it might take a lot of time to refresh.
Tool tips & Drill through can be used.
▸ Process as much data as required in the original source
▸ Certified Visuals are recommended
▸ Use a lighter background
Data Types
▸ Numeric
▸ String
▸ Bool
▸ DateTime
A visual representation
of data is called
visualization.
For example, a chart, or
a graph can be used to
represent data visually.
Building Blocks of Power BI
Visualizations Datasets Reports Dashboards Tiles
A dataset is a
collection of data
or information.
Building Blocks of Power BI
Visualizations Datasets Reports Dashboards Tiles
A collection of
visualizations that
appear together
on one or more pages.
It is a collection of
items that have
common motive.
Building Blocks of Power BI
Visualizations Datasets Reports Dashboards Tiles
A tile is a single
visualization
found in a report
or on a dashboard.
Power BI
8
Charts
1 Bar, Column, Line & Area Charts
Combination Charts
Different
2
A key performance
indicator (KPI) is a visual
cue that communicates
the amount of progress
made toward a target.
When should we use KPIs?
What is a
KPI? When to use? Requirements Visualizations
TARGET TREND
Requirements for KPIs
What is a
KPI?
When to use? Requirements Visualizations
BASE MEASURE
TARGET MEASURE
THRESHOLD
KPI Visualizations
What is a When to
KPI? use?
Requirements Visualizations
Edit
10
Interactions
Formatting
11
Options
Security in
12
Power BI
Administration
13
Options
1 Admin
2 Member
Different
Roles in 3 Contributor
Power BI 4 Viewer
Different Roles in Power BI
Link:
https://docs.microsoft.com/
en-us/power-bi/collaborate-
share/service-roles-new-
workspaces
Data
14
Visualization
“ Data visualization
helps to bridge the gap
between numbers and
words
Derived Data
Metrics Cleaning
Numerical Categorical
Data Data
Analysis Analysis
Data Cleaning: Handling Missing Values
1. Delete rows/columns
▹ Rows: can be deleted if it has an insignificant no. of missing values
▹ Columns: can be deleted if it >75%
of missing values
2. Replace with mean/median/mode
▹ Can be used on an independent variable when it has numerical variables
▹ Categorical features: Apply mode method
3. Algorithm Imputation
▹ Machine learning algorithms e.g. KNN, Naïve Bayes, Random Forest
4. Predicting the missing values
▹ Training set: Data set with no missing values
▹ Testing set: Data set with missing values
▹ Target variable: Missing values
Types of Data
Qualitative Quantitative
Indicates
Represents Value Represents measurement
classifications
qualitative info represents qualitative info which are
without order discrete units with order different and can
be ranked
Discrete Continuous
From
Feature Feature Calculated
Domain
Binning Encoding from Data
Knowledge
Handle Missing Value
Delete Rows/Columns
This method we commonly used to handle missing values. Rows can be deleted if it has
insignificant number of missing value Columns can be delete if it has more than 75% of missing
value
Algorithm Imputation
Some machine learning algorithm supports to handle missing value in the
datasets. Like KNN, Naïve Bayes, Random forest.
.
Standard Scaler
Standard scaler ensures that for each feature, the mean is
zero and the standard deviation is 1,bringing all feature to the
same magnitude. In simple words Standardization helps you
to scale down your feature based on the standard normal
distribution
Standardization
.
Normalization
Min-Max Scaler
Normalization helps you to scale down your features
between a range 0 to 1
Outlier Treatment
Outliers are the most extremes values in the data. It is a
abnormal observations that deviate from the norm.
Outliers do. not fit in the normal behaviour of the data.
… but I am
I am a Mobile locked in by my Locked In Subscriber 3
Four Churn Segments
customer … contract
Churn
Extract Drivers
Trends
Acquisition Tariff & Customer Recharge Monthly Segmented Subscriber
Data Usage Data level Data data Snapshot Targeting Monitoring
Aggregate
Clean
Transform
Targeted Actionable
Ready to Marketing Insights
use data
Customer
Profiles
▸ Business Understanding
▸ List of churn drivers / KPIs for
▸ Identify data requirements and ▸ Business Analysis of
tracking and monitoring
explore data availability standardized data
▸ A generated list of recommended
▸ Request and extract data required ▸ Predictive model design
subscribers for targeted churn
to build a model ▸ Development and campaigns
▸ Aggregate, Clean and Standardize Implementation of
▸ Recommendations on monthly
data in desired format for model Predictive model
churn initiatives
Thank
you!
Any questions?
Resources
▸ Power BI Documentation
▹ https://docs.microsoft.com/en-us/power-bi/
▸ Power BI Guided Learning
▹ https://docs.microsoft.com/en-us/power-bi/guided-learning/
▹ https://www.youtube.com/playlist?list=PL1N57mwBHtN0JFoKSR0n-tBkUJHeMP2cP
▸ Power BI White Paper
▹ https://docs.microsoft.com/en-us/power-bi/guidance/whitepapers
▸ Power BI Blogs
▹ https://powerbi.microsoft.com/en-us/blog/