Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的 SQL Server 数据库中,我每小时都有数据。但我希望使用 SSAS CUBE 以每周的粒度每周提供这些数据。
假设您有一个日期字段,您可以在事实表视图或 dsv 中的计算列中创建一个新字段吗?这将是一个星期键,它将在星期级别加入日期维度。
然后数据将从基础小时数据中聚合起来。