CH 08
CH 08
1 2
3 4
www.huna.group www.huna.group
Content
• Business Analytic Model
• Type of Data Analysis
• Data Analysis Role
• Data Analysis Process Business
Analytic
Model
5 6
1
2/7/2022
www.huna.group www.huna.group
Business Analytics Maturing Stages
Type of Data Analysis
7 8
www.huna.group www.huna.group
Comparison Descriptive analytics
• Descriptive analytics help answer questions about what has happened based on
historical data. Descriptive analytics techniques summarize large datasets to
describe outcomes to stakeholders.
• Metric
• KPIs
• ROI
• Net Income
• Net Sale
• Gross Profit
• Profit Margin
9 10
www.huna.group www.huna.group
Diagnostic analytics
• Diagnostic analytics help
Predictive
answer questions about
why events happened.
Diagnostic analytics
analytics
techniques supplement
basic descriptive analytics,
and they use the findings • Predictive analytics help
from descriptive analytics answer questions about
to discover the cause of what will happen in the
these events. future. Predictive analytics
• Identify anomalies in the techniques use historical
data. These anomalies might data to identify trends and
be unexpected changes in a determine if they're likely
metric or a particular
market. to recur.
• Collect data that's related to • Neural networks
these anomalies.
• Decision trees
• Use statistical techniques to
discover relationships and • Regression.
trends that explain these
anomalies.
BY MR. HUYNH NAM www.giangdayit.com BY MR. HUYNH NAM www.giangdayit.com
11 12
2
2/7/2022
www.huna.group www.huna.group
Prescriptive analytics Cognitive analytics
• Prescriptive analytics help • Cognitive analytics attempt
answer questions about to draw inferences from
which actions should be existing data and patterns,
taken to achieve a goal or derive conclusions based
target. By using insights on existing knowledge
from predictive analytics, bases, and then add these
organizations can make findings back into the
data-driven decisions. knowledge base for future
inferences, a self-learning
feedback loop.
13 14
www.huna.group www.huna.group
Summary Roles in Data
15 16
www.huna.group www.huna.group
What is Metric versus
KPI
• Measure (đo lường) là các con số chúng ta thu được
nhờ vào các phép đo, thể hiển số lượng hoặc mức độ
của một thứ nào đó.
• Metric (chỉ số) là các dẫn xuất của các số đo, thường
được biểu thị dưới dạng %, tỷ lệ…. Metric được sử
17 18
3
2/7/2022
www.huna.group www.huna.group
Ví dụ Metric và KPI What is ROI
• Banking • ROI (Return On Investment – Tỷ suất Hoàn vốn) là tỷ lệ lợi nhuận thu được so với
• Metric: Chỉ số đo lường số tài khoản mà ngân hàng nắm giữ chi phí đầu tư ban đầu.
• KPI: Đánh giá hiệu suất của ngân hàng “số tài khoản được mở / một giao dịch viên / mỗi chi
nhánh” => KPI số lượng tài khoản ngân hàng được mở trên mỗi giao dịch viên ở mỗi chi
nhánh” => Theo dõi được năng suất của nhân viên tại các chi nhánh,từ đó đo lường hiệu
suất của nhân viên giao dịch => Chiến lược đẩy mạnh đào tạo quản lý nhân viên
19 20
www.huna.group www.huna.group
What is Gross Profit Profit Margin
• Lợi nhuận gộp hay lãi gộp (tiếng Anh: Gross Profit) là phần lợi nhuận mà công ty • Margin (tiền ký quỹ) là khoản tiền được
kiếm được sau khi trừ chi phí liên quan đến việc sản xuất và bán sản phẩm, hoặc vay từ một công ty môi giới để mua một
chi phí liên quan đến việc cung cấp dịch vụ của công ty. khoản đầu tư. Đó là sự chênh lệch giữa
tổng giá trị tài sản nắm giữ trong tài
• Công thức xác định: Lợi nhuận gộp sẽ xuất hiện trên báo cáo thu nhập của công ty khoản của nhà đầu tư và số tiền cho vay
từ nhà môi giới. Mua ký quỹ là hành vi
và có thể được tính bằng cách trừ đi giá vốn hàng bán từ doanh thu. Những số liệu vay tiền để mua tài sản.
này có thể được tìm thấy trên báo cáo thu nhập của công ty. Xác định lợi nhuận • Profit Margin (biên lợi nhuận hay tỷ suất
gộp lợi nhuận), được hiểu là mức chênh lệch
• Lợi nhuận gộp = Doanh thu bán hàng - Giá vốn hàng bán (COGS) giữa giá bán của một sản phẩm và chi phí
sản xuất cộng thêm với các chi phí tiêu
thụ của nó. Mức lãi gộp của một doanh
nghiệp sẽ phụ thuộc vào thặng số tính
• Ví dụ: Một doanh nghiệp thu 200.000 đô la doanh thu bán hàng. Chúng ta hãy giả bằng % chi phí xác định giá bán. Mức lãi
sử rằng chi phí hàng hóa bao gồm 20.000 đô la mà nó chi cho sản xuất vật tư, gộp sẽ được biểu thị bằng tỷ lệ lợi nhuận
hoặc doanh thu.
cộng với 80.000 đô la mà nó phải trả cho chi phí lao động.
BY MR. HUYNH NAM www.giangdayit.com BY MR. HUYNH NAM www.giangdayit.com
21 22
www.huna.group www.huna.group
Introduce Business Intelligence, Data Analytic and Visualization Tool
Introduction to Self-Service BI
Solutions
25 26
4
2/7/2022
www.huna.group www.huna.group
Behind
Dashboard
Application
27 28
www.huna.group www.huna.group
BI Process
29 30
www.huna.group www.huna.group
Quá trình xây dựng Ví dụ quy trình BI với MS-Power BI
sản phẩm Business Problem definition Data collection
Intelligence
Refine model
Garbage
in
Feedback garbage
out
Spreadsheet
analytics
Data visualization
& Decision support
BY MR. HUYNH NAM www.giangdayit.com BY MR. HUYNH NAM www.giangdayit.com
31 33
5
2/7/2022
www.huna.group www.huna.group
Transformation Data
• Shaping data means transforming the data: renaming columns or tables, changing
text to numbers, removing rows, setting the first row as headers, and so on. Relationship
• Combining data means connecting to two or more data sources, shaping them as
needed, then consolidating them into a useful query • Relationship is used to define the
connections or the relation between
two or more tables. The relationship is
used when we want to perform an
analysis based on multiple tables.
Relationship helps us to display the
data and correct information between
multiple tables
• There are three types of relationship:
one-to-one, one-to-many and many-to-
many
34 35
www.huna.group www.huna.group
Interactive Data Visualizations Dashboard
36 37
www.huna.group www.huna.group
Content
• Data Architecture • Advanced Topics
• Enterprise Data Warehouse (EDW) • DB vs EDW vs EDL
• EDL vs Data marts
Modern Data Architecture for the
• Extract, Transformation and Loading
(ETL) • No-SQL
• Data Management
Data Driven Enterprise
• Online Transaction Processing (OLTP)
• Online Analytical Processing (OLAP) • Data model
• Fact and Dimension • Next Generation Data Architecture
• Star and Snow Flake Schema Design • Data Engineering
• Datamart in EDW
• Data Lake
• Data Pipeline
38 39
6
2/7/2022
www.huna.group www.huna.group
Data Architecture Enterprise Data Warehouse
40 41
www.huna.group www.huna.group
OLTP and OLAP System Fact and Dimension
42 43
www.huna.group www.huna.group
Star Schema & Snow Flake Design Data Mart in EDW
44 45
7
2/7/2022
www.huna.group www.huna.group
Data Lake Data Pipeline Design
46 47
www.huna.group www.huna.group
Advanced Topics (Self-studying) (Overview) Fact & Dimension
• Comparison among Database, EDW and EDL
• Comparison EDW, EDL and Data Mart
• Comparison SQL and No-SQL
• Data Management
• Data Modeling and Data Architecture
• Next Generation Data Architecture with Cloud
• Data Engineering (DE)
48 49
www.huna.group www.huna.group
(Overview) Data Modeling
50 51