日期表
本课属于 Coddy Power BI 学习旅程的“时间智能”单元。第 1 课,共 17 课。
Dates 中每一天都有一行,涵盖 2024 年和 2025 年,并包含 Year、Quarter、Month、MonthNumber 和 Weekday。
它与 Sales[Date] 关联。按日期列进行切片:时间函数需要完整的日历。
月份名称按 A 到 Z 排序;在坐标轴上使用 MonthNumber。
挑战
简单2025 年每个月的情况如何?创建一张显示 Revenue 的折线图,使用 Dates[MonthNumber] 作为坐标轴,并筛选年份为 2025。
亲手试试
报表数据模型
折线图
字段
- Sales
- OrderID
- Date
- StoreID
- ProductID
- CustomerID
- Quantity
- UnitPrice
- Amount
- Revenue
- Total Units
- Customers
- Products
- Stores
- Customers
- Dates
- Targets