经常失眠是什么原因| 香港什么东西值得买| 门庭若什么| 头发晕是什么病的征兆| 网易是什么| 木字旁与什么有关| 羲什么意思| 面色发黄是什么原因| 猪八戒叫什么名字| 满月回娘家有什么讲究| 杭州吃什么| 2d是什么意思| 长期咳白痰是什么原因| 黔驴技穷是什么意思| 澍在人名中读什么| 晚上睡觉放屁多是什么原因| 科学解释什么叫上火| 牙疼吃什么| 上火喝什么饮料| 梨花是什么生肖| 珀莱雅适合什么年龄| 玉屏风治什么病最好| 阴道b超检查什么| 上火喝什么茶| 高线是什么| 唐卡是什么材料做的| 为什么文化大革命| 石女什么样| 什么水果是寒性的| 什么是硬下疳| 蚊子为什么咬人| 251是什么意思| 怎么算自己五行缺什么| 冰岛说什么语言| 肾盂分离是什么意思| 环磷酰胺是什么药| 泄愤是什么意思| 梦魇什么意思| 挖苦是什么意思| 籽字五行属什么| 宫崎骏是什么意思| 诸事不宜是什么意思| 淋巴结钙化是什么意思| 心跳加快是什么病| 血管狭窄吃什么食物好| 口腹蜜剑什么意思| 真菌感染吃什么药| 为什么屎是臭的| 妊娠反应什么时候开始| 男生第一次什么感觉| 为什么不开朱元璋的墓| 小病不治下一句是什么| 海底椰是什么东西| 女人矜持是什么意思| 服饰是什么意思| 一什么一什么| 尿频是什么症状| 结核阳性是什么意思| 三月初一是什么星座| 4月15日什么星座| 脓疱疮是什么原因引起的| 格列卫是什么药| 咳嗽吃什么好得快| 隋朝之前是什么朝代| 为什么人会打嗝| 指甲脆是什么原因| 果胶是什么| 经信局是干什么的| 三严三实是什么| 熟络是什么意思| gs什么意思| 难缠是什么意思| 热症是什么意思| 胀气吃什么食物好| 丞相和宰相有什么区别| 早上眼屎多是什么原因| 底妆是什么意思| 水杉是什么植物| 八月五号是什么星座| 什么叫全日制本科| 乌龟为什么喜欢叠罗汉| 老抽和生抽有什么区别| 什么的梦境| 婴儿喝什么牌奶粉好| 黄山在什么地方| 兵不血刃的意思是什么| 小巴西龟吃什么食物| 万人迷是什么意思| 心机是什么意思| 居士什么意思| 什么情况下做心脏造影| 吃甘草片有什么副作用| 属虎的本命佛是什么佛| 六月二十三号是什么星座| 口腔溃疡喝什么饮料| 梦见自己爷爷死了是什么预兆| 什么叫靶向治疗| 老人头发由白变黑是什么原因| 困惑是什么意思| 九月份什么星座| 资本运作是什么意思| 乳腺增生结节吃什么药效果好| 乙肝三项检查什么| 什么是鸡眼| 甲状腺结节不能吃什么东西| 墨镜偏光是什么意思| 胸部ct可以检查出什么| 什么叫服务器| 什么药| 肿瘤前期出现什么症状| 幻觉妄想状态是什么病| 金生水是什么意思| 月经血是黑色的是什么原因| 腺样体肥大吃什么药| 有点咳嗽吃什么药| 喘不上来气是什么原因| 山穷水尽疑无路是什么生肖| 胯骨在什么位置图片| 砚台是什么| 肩周炎用什么药| 时迁是什么意思| 我们到底什么关系| 关节响是什么原因| 蘑菇炒什么好吃| 什么前什么后| 没事找事是什么意思| 是什么意思| 国药准字是什么意思| 小酌怡情下一句是什么| 形态什么| 打嗝是什么引起的| as材质是什么材料| 耳结是什么原因造成的| 服饰是什么意思| 肌酐偏低是什么原因| 双鱼座是什么星象| 维生素d3是什么| EE什么意思| 扑街是什么意思| 后壁和前壁有什么区别| 单亲是什么意思| 什么映雪| 掉头发是什么原因引起的| 西瓜什么时候成熟| 教科书是什么意思| 什么名字好听女生| 乳糖不耐受是什么意思| 司法警察是做什么的| 美篇是什么| 粉色配什么颜色| 1972年属什么生肖| 腰椎间盘突出挂什么科| cm是什么| 看肝挂什么科| 腹部痛是什么原因| 天罗地网是什么意思| 什么牌子的蜂胶最好| 非洲人一日三餐吃什么| 红枣补什么| 吃什么代谢快有助于减肥| ear什么意思| 公举是什么意思啊| 银行支行行长什么级别| 脊髓空洞症是什么病| 四个金念什么| 菩提子是什么材质| 花苞裤不适合什么人穿| 孕妇感冒可以吃什么感冒药| 蛋皮痒痒是什么病| 飞天是什么意思| 北京大学什么专业最好| 类风湿性关节炎用什么药| 白天看见蛇有什么预兆| 为什么狱警离婚率高| 猴子屁股为什么是红色| 犹太人为什么不受欢迎| 地贫和贫血有什么区别| 子宫肌瘤有什么危害| 性功能障碍吃什么药| 糖耐主要是检查什么| hmo是什么| 右胳膊麻木是什么征兆| 收缩压是什么| 老年人吃什么| 市场部是做什么的| peter是什么意思| 糖类抗原199是什么意思| 哺乳期吃避孕药对孩子有什么影响| 哲理是什么意思| 鹅蛋什么人不能吃| 周瑜和诸葛亮是什么关系| 阿拉伯人是什么种人| 掉头发吃什么好| 黍是什么意思| 什么情况下做冠脉ct| 松鼠尾巴像什么| 宿命是什么意思| 属虎和什么属相相冲| 如意代表什么生肖| 栀子有什么作用与功效| 金屋藏娇定富贵是什么生肖| 双侧下鼻甲肥大是什么意思| 胚由什么发育而来| 处女膜破了什么症状| 紫荆花的花语是什么| 痛风不能吃什么食物| 74年属什么的生肖| 天无二日指什么生肖| 下套什么意思| msi是什么意思| 女兔配什么属相最好| 电话停机是什么意思| 青苹果什么时候成熟| 孕妇甲减是什么原因引起的| 什么是耳石症| 肝癌是什么| 驻马店有什么大学| 嗓子疼看什么科室| 信球什么意思| 抗宫炎软胶囊主要治什么| 为什么会胃疼| 女人脖子后面有痣代表什么| 滑膜炎吃什么好得快| 经常手淫对身体有什么危害| 鹅蛋什么人不能吃| 鼻子流黄水是什么原因| 意淫是什么| 两弹一星指什么| 孩子睡觉流口水是什么原因| 蓝精灵是什么药| 02年的马是什么命| 哺乳期胃疼可以吃什么药| 肌酐高是什么意思| 山东日照有什么好玩的| 电泳是什么| 看书有什么好处| 食管挂什么科| 喝红茶有什么好处和坏处| 梦见大火烧山是什么意思| 隔桌不买单是什么意思| 什么水果对肝有好处| bpm是什么| 8.2号是什么星座| 林深时见鹿什么意思| bug是什么意思网络用语| 受精卵着床是什么意思| 雪里红是什么| 痤疮是什么样子的| 腰间盘突出吃什么药好| 铁低的原因是什么| 为什么医生说直肠炎不用吃药| 冲突是什么意思| 牙龈萎缩吃什么药见效快| 口语化是什么意思| 水猴子长什么样| 洋姜有什么功效与作用| 咖啡喝多了有什么副作用| 人大常委会主任是什么级别| 手指痛挂什么科| 产后屁多是什么原因| 电饭煲什么牌子好| 胃痉挛吃什么药好| 梦见牛肉有什么征兆| 乙肝e抗体阴性是什么意思| 百度Jump to content

南岸区南坪星宇花园大门前的道路上,有违章...

From Wikipedia, the free encyclopedia
百度 随着房地产业的蓬勃发展,戴家湖附近一下子涌现了许多砖厂,它们全都打戴家山的主意,合法开采的、非法盗挖的都来了。

Multidimensional Expressions (MDX) is a query language for online analytical processing (OLAP) using a database management system. Much like SQL, it is a query language for OLAP cubes.[1] It is also a calculation language, with syntax similar to spreadsheet formulae.

Background

[edit]

The MultiDimensional eXpressions (MDX) language provides a specialized syntax for querying and manipulating the multidimensional data stored in OLAP cubes.[1] While it is possible to translate some of these into traditional SQL, it would frequently require the synthesis of clumsy SQL expressions even for very simple MDX expressions. MDX has been embraced by a wide majority of OLAP vendors and has become the standard for OLAP systems.

History

[edit]

MDX was first introduced as part of the OLE DB for OLAP specification in 1997 from Microsoft. It was invented by the group of SQL Server engineers including Mosha Pasumansky. The specification was quickly followed by commercial release of Microsoft OLAP Services 7.0 in 1998 and later by Microsoft Analysis Services. The latest version of the OLE DB for OLAP specification was issued by Microsoft in 1999.

While it was not an open standard, but rather a Microsoft-owned specification, it was adopted by a wide range of OLAP vendors.

The XML for Analysis specification referred back to the OLE DB for OLAP specification for details on the MDX Query Language. In Analysis Services 2005, Microsoft added some MDX Query Language extensions like subselects. Products like Microsoft Excel 2007 started to use these new MDX Query Language extensions. Some refer to this newer variant of MDX as MDX 2005.

mdXML

[edit]

In 2001 the XMLA Council released the XML for Analysis (XMLA) standard, which included mdXML as a query language. In the XMLA 1.1 specification, mdXML is essentially MDX wrapped in the XML <Statement> tag.

MDX data types

[edit]

There are six primary data types in MDX

  • Scalar. Scalar is either a number or a string. It can be specified as a literal, e.g. number 5 or string "OLAP" or it can be returned by an MDX function, e.g. Aggregate (number), UniqueName (string), .Value (number or string) etc.
  • Dimension/Hierarchy. Dimension is a dimension of a cube. A dimension is a primary organizer of measure and attribute information in a cube. MDX does not know of, nor does it assume any, dependencies between dimensions - they are assumed to be mutually independent. A dimension will contain some members (see below) organized in some hierarchy or hierarchies containing levels. It can be specified by its unique name, e.g. [Time] or it can be returned by an MDX function, e.g. .Dimension. Hierarchy is a dimension hierarchy of a cube. It can be specified by its unique name, e.g. [Time].[Fiscal] or it can be returned by an MDX function, e.g. .Hierarchy. Hierarchies are contained within dimensions. (OLEDB for OLAP MDX specification does not distinguish between dimension and hierarchy data types. Some implementations, such as Microsoft Analysis Services, treat them differently.)
  • Level. Level is a level in a dimension hierarchy. It can be specified by its unique name, e.g. [Time].[Fiscal].[Month] or it can be returned by an MDX function, e.g. .Level.
  • Member. Member is a member in a dimension hierarchy. It can be specified by its unique name, e.g. [Time].[Fiscal].[Month].[August 2006], by qualified name, e.g. [Time].[Fiscal].[2006].[Q3].[August 2006] or returned by an MDX function, e.g. .PrevMember, .Parent, .FirstChild etc. Note that all members are specific to a hierarchy. If the self-same product is a member of two different hierarchies ([Product].[ByManufacturer] and [Product].[ByCategory]), there will be two different members visible that may need to be coordinated in sets and tuples (see below).
  • Tuple. Tuple is an ordered collection of one or more members from different dimensions. Tuples can be specified by enumerating the members, e.g. ([Time].[Fiscal].[Month].[August], [Customer].[By Geography].[All Customers].[USA], [Measures].[Sales]) or returned by an MDX function, e.g. .Item.
  • Set. Set is an ordered collection of tuples with the same dimensionality, or hierarchality in the case of Microsoft's implementation. It can be specified enumerating the tuples, e.g. {([Measures].[Sales], [Time].[Fiscal].[2006]), ([Measures].[Sales], [Time].[Fiscal].[2007])} or returned by MDX function or operator, e.g. Crossjoin, Filter, Order, Descendants etc.
  • Other data types. Member properties are equivalent to attributes in the data warehouse sense. They can be retrieved by name in a query through an axis PROPERTIES clause of a query. The scalar data value of a member property for some member can be accessed in an expression through MDX, either by naming the property (for example, [Product].CurrentMember.[Sales Price]) or by using a special access function (for example, [Product].CurrentMember.Properties("Sales Price")). In limited contexts, MDX allows other data types as well - for example Array can be used inside the SetToArray function to specify an array that is not processed by MDX but passed to a user-defined function in an ActiveX library. Objects of other data types are represented as scalar strings indicating the object names, such as measure group name in Microsoft's MeasureGroupMeasures function or KPI name in for example Microsoft's KPIValue or KPIGoal functions.

Example query

[edit]

The following example, adapted from the SQL Server 2000 Books Online, shows a basic MDX query that uses the SELECT statement. This query returns a result set that contains the 2002 and 2003 store sales amounts for stores in the state of California.

SELECT
   { [Measures].[Store Sales] } ON COLUMNS,
   { [Date].[2002], [Date].[2003] } ON ROWS
FROM Sales
WHERE ( [Store].[USA].[CA] )

In this example, the query defines the following result set information

  • The SELECT clause sets the query axes as the Store Sales member of the Measures dimension, and the 2002 and 2003 members of the Date dimension.
  • The FROM clause indicates that the data source is the Sales cube.
  • The WHERE clause defines the "slicer axis" as the California member of the Store dimension.

Note: You can specify up to 128 query axes in an MDX query.

If you create two axes, one must be the column axis and one must be the row axis, although it doesn't matter in which order they appear within the query. If you create a query that has only one axis, it must be the column axis. The square brackets around the particular object identifier are optional as long as the object identifier is not one of the reserved words and does not otherwise contain any characters other than letters, numbers or underscores.

SELECT
    [Measures].[Store Sales] ON COLUMNS,
    [Date].Members ON ROWS
FROM Sales
WHERE ( [Store].[USA].[CA] )

References

[edit]
  1. ^ a b Carl Nolan. "Manipulate and Query OLAP Data Using ADOMD and Multidimensional Expressions". Microsoft. Retrieved 2025-08-06.

Further reading

[edit]
  • George Spofford, Sivakumar Harinath, Chris Webb, Dylan Hai Huang, Francesco Civardi: MDX-Solutions: With Microsoft SQL Server Analysis Services 2005 and Hyperion Essbase. Wiley, 2006, ISBN 0-471-74808-0
  • Mosha Pasumansky, Mark Whitehorn, Rob Zare: Fast Track to MDX. ISBN 1-84628-174-1
  • Larry Sackett: MDX Reporting and Analytics with SAP NetWeaver BW. SAP Press, 2008, 978-1-59229-249-3
[edit]
肠道菌群失调吃什么药 917是什么星座 五点多是什么时辰 sorona是什么面料 胳膊脱臼是什么症状
刺梨有什么功效 吃什么补雌激素最快 天津市市长什么级别 爸爸的姐姐应该叫什么 奶茶有什么危害
二丁颗粒主要治什么病 与虎谋皮什么意思 湿气重看中医挂什么科 为什么一吃辣的就拉肚子 绰号是什么意思
舌头尖发麻是什么原因 升血压吃什么药 凯格尔运动是什么 榴莲为什么是苦的 什么是一二三级医院
外阴痒是什么原因dayuxmw.com 安徽菜属于什么菜系hcv9jop1ns0r.cn 袢是什么意思hcv9jop7ns3r.cn 肾囊肿是什么病hcv8jop1ns2r.cn 大豆是什么豆fenrenren.com
腹腔积液是什么原因hcv8jop2ns1r.cn 慢性咽喉炎什么症状hcv9jop2ns8r.cn 什么人不能摆放大象hcv9jop0ns7r.cn 试金石是什么意思hcv8jop8ns9r.cn 户口本可以干什么坏事hcv8jop8ns3r.cn
龟头上有小红点是什么hcv7jop9ns8r.cn 肝吸虫病有什么症状hcv8jop5ns5r.cn 阑是什么意思hcv9jop5ns9r.cn 性激素六项什么时候检查hcv9jop2ns7r.cn 烧腊是什么意思hcv9jop4ns3r.cn
梭织面料是什么面料hcv7jop6ns1r.cn 阴虚体质是什么症状hcv8jop0ns2r.cn 好色是什么意思hcv8jop4ns3r.cn 舌中间有裂纹是什么原因hcv9jop7ns5r.cn 尿路感染用什么药hcv9jop8ns3r.cn
百度