当前位置:网站首页>Multidimensional pivoting analysis of CDA level1 knowledge points summary
Multidimensional pivoting analysis of CDA level1 knowledge points summary
2022-07-25 13:51:00 【Fox's hat】
Multidimensional pivoting
Strategic analysis
This chapter is a new addition to the new edition , It accounts for a large proportion in the exam , It's difficult to learn , We need to pay high attention to .
Intensive lecture at the examination site
Overview of multidimensional data model OLAP
For table data structures , Take fields or records as references to data 、 Data of basic units of operation and calculation .
dimension – Business perspective , Dimension fields – The text type , Measure — Business behavior results , Measurement field – Numerical type .
Pivoting – Summarize and analyze scattered data .
Dimension table – Only contain dimension information , Fact table – It contains dimension information , It also contains measurement information .
Multidimensional data model is also called cube 、 Cube , It refers to data sets of different categories that are related to each other through some kind of connection . The advantage is that you can comprehensively map the actual situation of a business with data from multiple perspectives .
Multidimensional data model creation method
Connection summary of two adjacent tables , I. list dimensions , A table shows the measurement , Select summary calculation rule .
For one-way filters , The starting side of the arrow is the dimension 、 Pointing to one side is a measure .OLAP When connecting summary , Who measures , Who is the main watch ( Who knows the business result data , Who is the boss )
Three corresponding relationships :
1. one-on-one . It hardly appears in the actual scene . The primary key is connected with the primary key 、 Two tables have the same primary key .
2. Many to many . There will be , But try to avoid . Non primary key connection non primary key , It will double the measurement .
3.1 For one more ( A one-way ). Try to use many to one . When one-way filtering direction , One table filters multiple tables .
Type1: I. list dimensions , Multi table measurement .
Type2: error 
3.2 For one more ( two-way ). When two-way filtering direction , Multiple tables can filter one table , However, the filtering method is different from that of filtering multiple tables with one table .
Type1: I. list dimensions , Multi table measurement .
Type2: A table shows the measurement , Multi table dimensions .
Cross table filtering
Cross connect Multiple connection modes exist at the same time , But only one model works .
Three models ( Compulsory examination ):
Star pattern – A fact table is connected with multiple dimension tables
Snowflake mode – Based on the star pattern , Dimension tables are linked to more dimension tables
Constellation mode – Several fact tables share some dimension tables
5W2H Thinking model

Basic perspective rules
5 There are three basic rules of perspective :
total sum、 Count count、 Average average、 Maximum max、 minimum value min
Average trap : use average The total average value obtained is the total average value of the primary key .
Perspective rule extension
5 Comparison calculation rules : Average ratio ( Actual value and average value )、 Benchmark ratio ( Actual value and reference value )、 The goal is better than ( Actual value and target value )、 Standard ratio ( Actual value and standard value )、 Proportion ( Part and total 、 Proportion of sales in different regions ).
5 Summary rules in three times :MTD Summary from the beginning of the month to the current date 、QTD Summary from the beginning of the quarter to the current date 、YTD、 Chain ratio 、 Year on year . Among them, month on month and year-on-year are suitable for long-term data indicators .
2 Comparison summary rules : Comparison percentage ( actual value / Contrast value *100%)、 Percentage difference –( actual value - Contrast value )/ Contrast value *100%.
Inter line perspective : Calculate the overall summary value for each row of values , Similar to windowing function .
Multidimensional perspective analysis application
Exercise summary
边栏推荐
- Esp32 connects to Alibaba cloud mqtt IOT platform
- LabVIEW的内部错误
- Error of Tencent cloud [100007] this env is not enable anonymous login
- 飞盘局有多快乐?2022年轻人新潮运动报告
- Uncaught SyntaxError: Octal literals are not allowed in strict mode.
- Blocking queue for concurrent programming
- Immortal software in the computer that I don't want to delete all my life
- Sword finger offer special assault edition day 10
- Uncaught SyntaxError: Octal literals are not allowed in strict mode.
- Hcip day 6 notes
猜你喜欢

How happy is the frisbee bureau? 2022 youth trendy Sports Report

IM system - some common problems of message streaming

Redux usage and analysis

刷题-洛谷-P1059 明明的随机数

Internal error of LabVIEW

Brush questions - Luogu -p1085 unhappy Jinjin

职场「数字人」不吃不睡007工作制,你「卷」得过它们吗?

adb通过Wi-Fi连接小米手机

DNS resolution error during windows unbutu20 lts apt, WGet installation

Mxnet implementation of densenet (dense connection network)
随机推荐
Int array get duplicate data
@classmethod 装饰器
dp-851
Uniapp handles background transfer pictures
Sports luxury or safety luxury? Which type of Asian Dragon and Volvo S60 should we start with?
Framework package merge script
Brush questions - Luogu -p1150 Peter's smoke
Nodejs link MySQL error: Er_ NOT_ SUPPORTED_ AUTH_ MODEError: ER_ NOT_ SUPPORTED_ AUTH_ MODE
伯克利博士『机器学习工程』大实话;AI副总裁『2022 ML就业市场』分析;半导体创业公司大列表;大规模视频人脸属性数据集;前沿论文 | ShowMeAI资讯日报
Uncaught SyntaxError: Octal literals are not allowed in strict mode.
HTTP cache tongtianpian, there may be something you want
[server data recovery] HP EVA server storage raid information power loss data recovery
MySQL 01: Source command
Pytest.mark.parameterize and mock use
Install oh my Zsh
hcip第九天笔记
「数字安全」警惕 NFT的七大骗局
6.27 uniapp项目历程
Internal error of LabVIEW
Canal realizes MySQL data synchronization