olap之查询语句(select..from..where)
lbbb 2000-04-14 11:05:00 数据仓库中要进行olap查询,where的使用方法。
比如要查1997年10月1日-1997年12月15日的数据。
microsoft olap MDX Sample #3:
with member [Measures].[Store Sales Last Period] as '([Measures].[Store Sales], Time.PrevMember)'
select
{[Measures].[Store Sales Last Period]} on columns,
{TopCount([Product].[Product Department].members, 5, [Measures].[Store Sales Last Period])} on rows
from Sales
where ?????????