1 --MDX查询语句示例(Northwind数据库 数据仓库名叫Northwind)
 2 --查询意大利和德国货轮运送的货物总量
 3 //select {([measures].[quantity])} on columns,
 4 //{([ship country].[germany]),([ship country].[italy])} on rows
 5 //from [Northwind]
 6 --查询意大利和德国货轮运送的货物总量,使用 axis(0)代替on columns\on rows
 7 //select {([measures].[quantity])} on axis(0),
 8 //{([ship country].[germany]),([ship country].[italy])} on axis(1)
 9 //from [Northwind]
10 
11 --查询确定的时间的货品量
12 //select {([measures].[quantity])} on columns,
13 //{([orders].[order date].[1996.07-12 00:00:00])} on rows
14 //from [Northwind]

 

相关文章:

  • 2021-12-03
  • 2022-12-23
  • 2022-01-17
  • 2021-09-11
  • 2022-12-23
  • 2021-11-12
  • 2021-12-19
  • 2021-11-20
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2021-06-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案