business-intelligence
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseBusiness Intelligence
商业智能
Expert-level business intelligence for data-driven decisions.
面向数据驱动决策的专业级商业智能方案。
Core Competencies
核心能力
- Dashboard design
- Data visualization
- Reporting automation
- KPI development
- Executive reporting
- Self-service BI
- Data storytelling
- Tool administration
- 仪表盘设计
- 数据可视化
- 报告自动化
- KPI开发
- 高管报告
- 自助式BI
- 数据叙事
- 工具管理
BI Architecture
BI架构
Data Flow
数据流
DATA SOURCES → ETL/ELT → DATA WAREHOUSE → SEMANTIC LAYER → DASHBOARDS
│ │ │ │ │
▼ ▼ ▼ ▼ ▼
CRM, ERP Transform Star Schema Metrics Def Tableau/PBI
APIs, DBs Clean, Load Fact/Dims Calculations Looker/etcDATA SOURCES → ETL/ELT → DATA WAREHOUSE → SEMANTIC LAYER → DASHBOARDS
│ │ │ │ │
▼ ▼ ▼ ▼ ▼
CRM, ERP 转换处理 Star Schema 指标定义 Tableau/PBI
APIs, DBs 清洗、加载 事实/维度表 计算逻辑 Looker等工具BI Stack Components
BI栈组件
PRESENTATION LAYER
├── Executive dashboards
├── Operational reports
├── Self-service exploration
└── Embedded analytics
SEMANTIC LAYER
├── Business metrics definitions
├── Calculated fields
├── Hierarchies
└── Row-level security
DATA LAYER
├── Data warehouse (Snowflake/BigQuery/Redshift)
├── Data marts
├── Materialized views
└── Cached datasets展示层
├── 高管仪表盘
├── 运营报告
├── 自助式探索分析
└── 嵌入式分析
语义层
├── 业务指标定义
├── 计算字段
├── 层级结构
└── 行级安全控制
数据层
├── 数据仓库(Snowflake/BigQuery/Redshift)
├── 数据集市
├── 物化视图
└── 缓存数据集Dashboard Design
仪表盘设计
Dashboard Types
仪表盘类型
Executive Dashboard:
┌─────────────────────────────────────────────────────────────┐
│ EXECUTIVE SUMMARY │
├─────────────────────────────────────────────────────────────┤
│ Revenue Pipeline Customers NPS │
│ $12.4M $45.2M 2,847 72 │
│ +15% YoY +22% QoQ +340 MTD +5 pts │
├─────────────────────────────────────────────────────────────┤
│ REVENUE TREND │ REVENUE BY SEGMENT │
│ [Line chart: 12 months] │ [Pie chart: segments] │
├────────────────────────────────┼─────────────────────────────┤
│ TOP ACCOUNTS │ KEY METRICS STATUS │
│ [Table: top 10] │ [KPI cards with RAG] │
└─────────────────────────────────────────────────────────────┘Operational Dashboard:
┌─────────────────────────────────────────────────────────────┐
│ DAILY OPERATIONS │
├─────────────────────────────────────────────────────────────┤
│ Orders Today Tickets Open Avg Response SLA Met │
│ 1,247 89 12 min 98.5% │
│ vs Avg: +8% vs Avg: -12% vs Target: ✓ vs Target: ✓ │
├─────────────────────────────────────────────────────────────┤
│ HOURLY VOLUME │ QUEUE STATUS │
│ [Area chart: 24h] │ [Stacked bar by team] │
├────────────────────────────────┼─────────────────────────────┤
│ ALERTS │ TEAM PERFORMANCE │
│ [Alert list with severity] │ [Table: agents + metrics] │
└─────────────────────────────────────────────────────────────┘高管仪表盘:
┌─────────────────────────────────────────────────────────────┐
│ 高管摘要面板 │
├─────────────────────────────────────────────────────────────┤
│ 营收 销售管线 客户数量 NPS │
│ $12.4M $45.2M 2,847 72 │
│ 同比+15% 环比+22% 月内新增+340 提升5分 │
├─────────────────────────────────────────────────────────────┤
│ 营收趋势 │ 营收按细分领域分布 │
│ [折线图:12个月数据] │ [饼图:各细分领域] │
├────────────────────────────────┼─────────────────────────────┤
│ 重点客户列表 │ 核心指标状态 │
│ [表格:Top10客户] │ [带RAG状态的KPI卡片] │
└─────────────────────────────────────────────────────────────┘运营仪表盘:
┌─────────────────────────────────────────────────────────────┐
│ 日常运营面板 │
├─────────────────────────────────────────────────────────────┤
│ 今日订单量 未处理工单 平均响应时间 SLA达成率 │
│ 1,247 89 12 min 98.5% │
│ 较均值+8% 较均值-12% 达标✓ 达标✓ │
├─────────────────────────────────────────────────────────────┤
│ 小时级业务量趋势 │ 队列状态 │
│ [面积图:24小时数据] │ [按团队分组的堆叠柱状图] │
├────────────────────────────────┼─────────────────────────────┤
│ 告警信息 │ 团队绩效 │
│ [带严重级别的告警列表] │ [表格:坐席+绩效指标] │
└─────────────────────────────────────────────────────────────┘Design Principles
设计原则
Visual Hierarchy:
- Most important metrics at top-left
- Summary → Detail flow (top to bottom)
- Related metrics grouped together
- White space for readability
Color Usage:
STATUS COLORS
├── Green (#28A745): Good/On Track
├── Yellow (#FFC107): Warning/At Risk
├── Red (#DC3545): Critical/Off Track
└── Gray (#6C757D): Neutral/No Status
BRAND COLORS
├── Primary: Use for emphasis
├── Secondary: Supporting elements
└── Accent: Highlights only
DATA COLORS
├── Sequential: Light → Dark for ranges
├── Diverging: Different hues for pos/neg
└── Categorical: Distinct colors per categoryChart Selection:
| Data Type | Best Charts |
|---|---|
| Trend over time | Line, Area |
| Part of whole | Pie, Donut, Treemap |
| Comparison | Bar, Column |
| Distribution | Histogram, Box Plot |
| Relationship | Scatter, Bubble |
| Geographic | Map, Choropleth |
视觉层级:
- 最重要的指标放在左上角
- 遵循“摘要→细节”的从上到下浏览逻辑
- 相关指标分组展示
- 合理留白提升可读性
色彩使用:
状态色
├── 绿色 (#28A745): 良好/符合预期
├── 黄色 (#FFC107): 预警/风险
├── 红色 (#DC3545): 严重/偏离预期
└── 灰色 (#6C757D): 中性/无状态
品牌色
├── 主色:用于强调重点
├── 辅助色:用于支撑元素
└── 强调色:仅用于高亮内容
数据色
├── 渐变色:从浅到深表示数值范围
├── 对比色:不同色调区分正负向
└── 分类色:不同类别使用差异化色彩图表选择:
| 数据类型 | 推荐图表 |
|---|---|
| 随时间变化的趋势 | Line, Area |
| 占比关系 | Pie, Donut, Treemap |
| 对比分析 | Bar, Column |
| 分布情况 | Histogram, Box Plot |
| 关联关系 | Scatter, Bubble |
| 地理数据 | Map, Choropleth |
KPI Framework
KPI框架
KPI Development
KPI开发规范
markdown
undefinedmarkdown
undefinedKPI Definition: [Metric Name]
KPI定义: [指标名称]
Business Context
业务背景
- Owner: [Department/Role]
- Purpose: [Why this metric matters]
- Strategic alignment: [Goal it supports]
- 负责人: [部门/角色]
- 目的: [该指标的业务价值]
- 战略对齐: [支撑的业务目标]
Definition
指标定义
- Formula: [Calculation]
- Data source: [System/Table]
- Granularity: [Daily/Weekly/Monthly]
- 计算公式: [计算逻辑]
- 数据源: [系统/数据表]
- 粒度: [日/周/月]
Targets
目标值
- Target: [Value]
- Threshold (Yellow): [Value]
- Critical (Red): [Value]
- 目标值: [具体数值]
- 预警阈值(黄色): [具体数值]
- 严重阈值(红色): [具体数值]
Dimensions
维度拆分
- Time: [Day/Week/Month/Quarter/Year]
- Segments: [By region, product, etc.]
- 时间: [日/周/月/季/年]
- 细分维度: [按区域、产品等]
Caveats
注意事项
- [Known limitations]
- [Data quality issues]
undefined- [已知局限性]
- [数据质量问题]
undefinedMetric Categories
指标分类
Financial:
| Metric | Formula | Frequency |
|---|---|---|
| Revenue | Sum of closed won | Daily |
| MRR | Monthly recurring | Monthly |
| Gross Margin | (Rev - COGS) / Rev | Monthly |
| CAC | S&M Spend / New Customers | Monthly |
| LTV | ARPU × Margin × Lifetime | Quarterly |
Customer:
| Metric | Formula | Frequency |
|---|---|---|
| Active Users | DAU, WAU, MAU | Daily |
| Churn Rate | Lost / Total | Monthly |
| NPS | Promoters - Detractors | Quarterly |
| CSAT | Satisfied / Responses | Weekly |
Operations:
| Metric | Formula | Frequency |
|---|---|---|
| Throughput | Units / Time | Hourly |
| Error Rate | Errors / Total | Daily |
| Cycle Time | End - Start | Daily |
| Utilization | Active / Capacity | Daily |
财务类:
| 指标 | 计算公式 | 更新频率 |
|---|---|---|
| 营收 | 已成交订单金额总和 | 日更 |
| 月度经常性收入(MRR) | 月度订阅收入 | 月更 |
| 毛利率 | (营收-销货成本)/营收 | 月更 |
| 客户获取成本(CAC) | 销售与营销费用/新增客户数 | 月更 |
| 客户生命周期价值(LTV) | 每用户平均收入×毛利率×生命周期 | 季更 |
客户类:
| 指标 | 计算公式 | 更新频率 |
|---|---|---|
| 活跃用户数 | DAU, WAU, MAU | 日更 |
| 流失率 | 流失客户数/总客户数 | 月更 |
| 净推荐值(NPS) | 推荐者占比-贬损者占比 | 季更 |
| 客户满意度(CSAT) | 满意用户数/总响应数 | 周更 |
运营类:
| 指标 | 计算公式 | 更新频率 |
|---|---|---|
| 吞吐量 | 处理量/时间 | 小时更 |
| 错误率 | 错误数/总处理数 | 日更 |
| 周期时间 | 结束时间-开始时间 | 日更 |
| 资源利用率 | 活跃时间/总可用时间 | 日更 |
Report Automation
报告自动化
Report Types
报告类型
Scheduled Reports:
yaml
report:
name: Weekly Sales Report
schedule: "0 8 * * MON" # Every Monday 8am
recipients:
- sales-team@company.com
- leadership@company.com
format: PDF
pages:
- Executive Summary
- Pipeline Analysis
- Rep Performance
- ForecastThreshold Alerts:
yaml
alert:
name: Revenue Below Target
metric: daily_revenue
condition: actual < target * 0.9
frequency: daily
channels:
- email: finance@company.com
- slack: #revenue-alerts
message: |
Daily revenue of ${actual} is ${pct_diff}% below target.
Top contributing factors: ${top_factors}定时报告:
yaml
report:
name: Weekly Sales Report
schedule: "0 8 * * MON" # 每周一上午8点
recipients:
- sales-team@company.com
- leadership@company.com
format: PDF
pages:
- Executive Summary
- Pipeline Analysis
- Rep Performance
- Forecast阈值告警:
yaml
alert:
name: Revenue Below Target
metric: daily_revenue
condition: actual < target * 0.9
frequency: daily
channels:
- email: finance@company.com
- slack: #revenue-alerts
message: |
Daily revenue of ${actual} is ${pct_diff}% below target.
Top contributing factors: ${top_factors}Automation Patterns
自动化模式
python
def generate_report(report_config):
"""
Automated report generation workflow
"""
# 1. Refresh data
refresh_data_sources(report_config['sources'])
# 2. Calculate metrics
metrics = calculate_metrics(report_config['metrics'])
# 3. Generate visualizations
charts = create_visualizations(metrics, report_config['charts'])
# 4. Build report
report = compile_report(
metrics=metrics,
charts=charts,
template=report_config['template']
)
# 5. Distribute
distribute_report(
report=report,
recipients=report_config['recipients'],
format=report_config['format']
)
return reportpython
def generate_report(report_config):
"""
自动化报告生成流程
"""
# 1. 刷新数据源
refresh_data_sources(report_config['sources'])
# 2. 计算指标
metrics = calculate_metrics(report_config['metrics'])
# 3. 生成可视化图表
charts = create_visualizations(metrics, report_config['charts'])
# 4. 组装报告
report = compile_report(
metrics=metrics,
charts=charts,
template=report_config['template']
)
# 5. 分发报告
distribute_report(
report=report,
recipients=report_config['recipients'],
format=report_config['format']
)
return reportSelf-Service BI
自助式BI
Enablement Framework
能力成熟度模型
SELF-SERVICE MATURITY MODEL
Level 1: Report Consumers
├── View existing dashboards
├── Apply filters
└── Export data
Level 2: Data Explorers
├── Ad-hoc queries
├── Create simple charts
└── Share findings
Level 3: Report Builders
├── Design dashboards
├── Combine data sources
└── Create calculated fields
Level 4: Data Modelers
├── Create data models
├── Define metrics
└── Optimize performance自助式BI成熟度模型
Level 1: 报告查看者
├── 查看现有仪表盘
├── 应用筛选条件
└── 导出数据
Level 2: 数据探索者
├── 即席查询
├── 创建简单图表
└── 分享分析结果
Level 3: 报告构建者
├── 设计仪表盘
├── 整合多数据源
└── 创建计算字段
Level 4: 数据建模者
├── 创建数据模型
├── 定义指标
└── 优化性能Data Catalog
数据目录
markdown
undefinedmarkdown
undefinedData Catalog Entry
数据目录条目
Dataset: sales_opportunities
数据集: sales_opportunities
Description
描述
Contains all sales opportunities from CRM
包含CRM系统中的所有销售机会数据
Schema
表结构
| Column | Type | Description |
|---|---|---|
| opp_id | STRING | Unique identifier |
| account_id | STRING | Related account |
| amount | DECIMAL | Deal value |
| stage | STRING | Pipeline stage |
| close_date | DATE | Expected close |
| owner_id | STRING | Sales rep |
| 列名 | 类型 | 描述 |
|---|---|---|
| opp_id | STRING | 唯一标识符 |
| account_id | STRING | 关联客户ID |
| amount | DECIMAL | 交易金额 |
| stage | STRING | 销售管线阶段 |
| close_date | DATE | 预计成交日期 |
| owner_id | STRING | 销售负责人ID |
Refresh
刷新机制
- Frequency: Every 4 hours
- Source: Salesforce API
- Last refresh: 2024-01-15 08:00 UTC
- 频率: 每4小时
- 来源: Salesforce API
- 最后刷新时间: 2024-01-15 08:00 UTC
Usage Notes
使用说明
- Filter by is_deleted = false
- Amount is always in USD
- Stage values: Prospect, Discovery, Demo, Proposal, Negotiation, Closed Won, Closed Lost
- 需过滤is_deleted = false的数据
- 金额单位始终为美元
- 阶段值: Prospect, Discovery, Demo, Proposal, Negotiation, Closed Won, Closed Lost
Related Datasets
关联数据集
- accounts
- sales_reps
- products
undefined- accounts
- sales_reps
- products
undefinedData Storytelling
数据叙事
Narrative Structure
叙事结构
SITUATION → COMPLICATION → RESOLUTION
1. SITUATION (Context)
"Last quarter, we set a goal to increase customer retention by 10%"
2. COMPLICATION (Problem/Opportunity)
"However, churn increased by 5% in our enterprise segment"
3. RESOLUTION (Insight + Action)
"Analysis shows onboarding time correlates with churn.
Reducing onboarding from 30 to 14 days could save $2M annually"场景 → 冲突 → 解决方案
1. 场景(背景)
"上季度我们设定了将客户留存率提升10%的目标"
2. 冲突(问题/机会)
"但我们的企业客户群流失率反而上升了5%"
3. 解决方案(洞察+行动)
"分析显示,客户上手时间与流失率高度相关。
将上手时间从30天缩短至14天,每年可节省200万美元"Insight Framework
洞察框架
markdown
undefinedmarkdown
undefinedInsight: [Title]
洞察: [标题]
What happened?
发生了什么?
[Describe the observation in data]
[描述数据中的观察结果]
Why does it matter?
为什么重要?
[Business impact and context]
[业务影响及背景]
Why did it happen?
原因是什么?
[Root cause analysis]
[根因分析]
What should we do?
我们该怎么做?
[Recommended actions]
[建议行动]
Supporting Data
支撑数据
[Charts and metrics]
undefined[图表及指标]
undefinedPresentation Template
演示模板
EXECUTIVE PRESENTATION STRUCTURE
1. Headlines First (2-3 key takeaways)
2. Context (why we're looking at this)
3. Key Findings (data + insights)
4. Implications (what it means)
5. Recommendations (what to do)
6. Appendix (detailed data)高管演示结构
1. 先讲核心结论(2-3个关键要点)
2. 背景介绍(为什么关注这个主题)
3. 关键发现(数据+洞察)
4. 业务影响(意味着什么)
5. 行动建议(该做什么)
6. 附录(详细数据)Tool Administration
工具管理
Performance Optimization
性能优化
Dashboard Performance:
OPTIMIZATION CHECKLIST
□ Limit visualizations per page (5-8 max)
□ Use data extracts vs live connections
□ Minimize calculated fields in viz
□ Use context filters effectively
□ Aggregate data at source when possible
□ Schedule refreshes during off-peak
□ Monitor query execution timesQuery Optimization:
sql
-- Bad: Full table scan
SELECT * FROM large_table
WHERE date >= '2024-01-01';
-- Good: Partitioned and filtered
SELECT required_columns
FROM large_table
WHERE partition_date >= '2024-01-01'
AND status = 'active'
LIMIT 10000;仪表盘性能:
优化检查清单
□ 每页可视化组件数量控制在5-8个以内
□ 使用数据提取而非实时连接
□ 尽量减少可视化中的计算字段
□ 合理使用上下文筛选器
□ 尽可能在数据源端完成数据聚合
□ 安排在非高峰时段刷新数据
□ 监控查询执行时间查询优化:
sql
-- 不佳:全表扫描
SELECT * FROM large_table
WHERE date >= '2024-01-01';
-- 优化:分区过滤
SELECT required_columns
FROM large_table
WHERE partition_date >= '2024-01-01'
AND status = 'active'
LIMIT 10000;Governance
治理
Access Control:
yaml
security_model:
row_level_security:
- rule: region_access
filter: "region = user.region"
- rule: team_access
filter: "team_id IN user.teams"
object_permissions:
- role: viewer
permissions: [view, export]
- role: editor
permissions: [view, export, edit]
- role: admin
permissions: [view, export, edit, delete, publish]Data Quality Monitoring:
DATA QUALITY CHECKS
├── Freshness: Is data current?
├── Completeness: Are all records present?
├── Accuracy: Do values make sense?
├── Consistency: Do related metrics align?
└── Uniqueness: Are there duplicates?访问控制:
yaml
security_model:
row_level_security:
- rule: region_access
filter: "region = user.region"
- rule: team_access
filter: "team_id IN user.teams"
object_permissions:
- role: viewer
permissions: [view, export]
- role: editor
permissions: [view, export, edit]
- role: admin
permissions: [view, export, edit, delete, publish]数据质量监控:
数据质量检查项
├── 新鲜度:数据是否为最新?
├── 完整性:所有记录是否齐全?
├── 准确性:数值是否合理?
├── 一致性:相关指标是否对齐?
└── 唯一性:是否存在重复数据?Reference Materials
参考资料
- - Dashboard design patterns
references/dashboard_patterns.md - - Chart selection guide
references/visualization_guide.md - - Standard KPI definitions
references/kpi_library.md - - Data storytelling techniques
references/storytelling.md
- - 仪表盘设计模式
references/dashboard_patterns.md - - 图表选择指南
references/visualization_guide.md - - 标准KPI定义
references/kpi_library.md - - 数据叙事技巧
references/storytelling.md
Scripts
脚本
bash
undefinedbash
undefinedDashboard performance analyzer
仪表盘性能分析器
python scripts/dashboard_analyzer.py --dashboard "Sales Overview"
python scripts/dashboard_analyzer.py --dashboard "Sales Overview"
KPI calculator
KPI计算器
python scripts/kpi_calculator.py --config metrics.yaml --output report.json
python scripts/kpi_calculator.py --config metrics.yaml --output report.json
Report generator
报告生成器
python scripts/report_generator.py --template weekly_sales --format pdf
python scripts/report_generator.py --template weekly_sales --format pdf
Data quality checker
数据质量检查器
python scripts/data_quality.py --dataset sales_opportunities --checks all
undefinedpython scripts/data_quality.py --dataset sales_opportunities --checks all
undefined