English 中文(简体)
What is MDX and what is its use in SAP BPC
原标题:
  • 时间:2009-11-09 18:01:43
  •  标签:
  • sap
  • mdx

I would like to know more about "MDX" (Multidimensional Expressions).

What is it?
What is it used for?
Why would you use it?
Is it better than SQL?
What is its use in SAP BPS (I haven t seen BPC, just heard that MDX is in it and want to know more)?

最佳回答

MDX is the query language developed by Microsoft for use with their OLAP tools. Since its creation, others (The open source project Mondrian, and Hyperion) have tried to create versions of it for use in their products.

OLAP data tends to look like a star-schema with a central fact table surrounded by multiple dimensions. MDX is designed to allow you to query these structures and create cross-tab type results.

While the language looks like SQL it doesn t behave like it and if you are an SQL programmer, the mental leap can be tough.

As to whether it is better than SQL, it serves a highly specialized purpose, i.e. analyzing data in a specific format. So if you want to query a star schema, it is better, otherwise, SQL will probably do the job.

问题回答

MDX means Multi Dimensional eXpressions or some such. It is relevant to OLAP cubes and not to regular relational databases such as Oracle or SQL Server (although some SQL Server editions come with Analysis Services which is OLAP). The multidimensional world is about data warehousing and efficient reporting, not about doing normal transactional processing so you wouldn t use it for an order entry system, but you might move that data into a datamart to run reports against to see sales trends. That should be enough to get you started I hope.

SQL is for traditional databases (OLTP). Most people learn the basics fairly easily. MDX is only for multi-dimensional databases (OLAP), and is harder to learn than SQL in my opinion. The trouble is they look very similar.

Many programmers never need MDX even if they have to query multi-dimensional databases, because most analysis software forces them to build reports with drag-drop interfaces.

If you don t have a requirement to work with a multi-dimensional database, then don t create one just for the fun of it.....it won t be...

There are 2 versions of SAP-BPC (Business Objects Planning and Consolidation)

  1. SAP-BPC Netweaver
  2. SAP-BPC Microsoft Analysis Services

The Microsoft analysis services version of the product allows you to use MDX or multi dimensional expressions to both query the multi-dimensional database (OLAP) and write calculation logic.

However, SAP-BPC does not require a knowledge of MDX to either be used or administered.

You can see product documentation and a demonstration.

Best of luck on your research,

Focused on SAP BPC:

What is it used for?

It s used when you want to apply some custom calculation/business logic over many records/intersections and after submitting raw data. Example, first send prices in one input schedule, then quantities in other one, as a third step run a calculation for sales amount based on prices and quantities for all products. It s also used to execute the Business Rules, for that you run a predefined program (like CALC_ACCOUNT, CONSOLIDATION, etc)

Is it better than SQL?

In BPC, "SQL" logic scripts have better performance than MDX. However SQL for BPC purposes has not much to do with SQL used in other it s just how they call it.

You will get a good start by just searching for MDX in the search box up top.





相关问题
ASP.NET and SAP integration

Hai guys, Has anyone had an experience integrating ASP.NET application with SAP? If yes, I would like to hear about those experiences.

how to set up environment for web dynpro?

Is there a way I can learn on Web Dynpro without having to set up an SAP environment? There was an opening for a job requiring Web Dynpro skills and it was mentioned alongside with other Java skills. ...

custom container [closed]

In SAP, can we have a push button on custom container in ALV. Is it possible or is there any other possibilities for that.? Pls help me... Thanks in advance

Open the SAP thick client screen from Java program

Having any thick client like SAP Logon installed, users can connect to required SAP server and access data through transactions. What I am trying to do? - To invoke the SAP thick client installed in ...

ERP What to read/practice?

I had been learning ERP applications this summer during internship. As I am a programmer about to graduate, I want to have a solid software branch that would get me through till I am sure about what ...

How to Hyperlink to a Business Objects Report in Infoview

Is there a way to craft a hyperlink that connects to a Crystal Report or Webi within Infoview? Ideally, unauthenticated users would be challenged with Infoview security and then redirected to the ...

What is MDX and what is its use in SAP BPC

I would like to know more about "MDX" (Multidimensional Expressions). What is it? What is it used for? Why would you use it? Is it better than SQL? What is its use in SAP BPS (I haven t seen BPC, ...

热门标签