基于Excel的数据分析和可视化02

切片器slice

实现数据的快速筛选 附件/Pasted image 20210829163219.png

Data Model

数据模型允许您集成多个表中的数据, 从而在 Excel 工作簿中有效地生成关系数据源。

在 Excel 中, 数据模型透明地使用, 用于提供数据透视表和数据透视图中使用的表格数据。

创建数据模型官方示例

表关系

类似于传统数据库的表外键

表间关系示例: 附件/Pasted image 20210829163807.png

表间关系编辑: 附件/Pasted image 20210829163832.png

DAX

一种类似于sql 的针对数据分析的查询语法,最终作用和透视表类似,但可以实现一些逻辑更复杂的操作。DAX示例:

Let's assume a DAX formula used to create a calculated field on a FactSales table, defined as follows: Sum of Sales Amount:=SUM(FactSales[SalesAmount])). (formula text colors are for illustrative purposes only) 附件/Pasted image 20210829164142.png

实践操作

附件/Pasted image 20210829165449.png 具体附件:

往年同期文章