tags:

views:

403

answers:

5

Hi,

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)?

A: 

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

Raj More
A: 

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.

Jim Leonardo
+1  A: 

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.

DrewM
A: 

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...

Magnus Smith
A: 

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 http://ow.ly/2Gi9a.

Best of luck on your research,

amw96