Showing posts with label analysis. Show all posts
Showing posts with label analysis. Show all posts

Friday, March 30, 2012

Order headers and lines

Hi,

I am trying to design a data mart that will server as a data source for an Analysis cube. I would like to know the best practice for handling order headers and order lines. Do I need 2 fact tables in the data mart, and does there need to be a foreign key relationship between them.

The header table will contain information like whether a delivery was made on time, which depot delivered the order, how many times the delivery was attempted, total distribution charge, whereas the line table will contain product related information with quantities ordered / delivered, and the cost per line

Thanks

Depends on the analysis that needs to be supported, both by the data mart and the cube. For example, the FactInternetSales and FactResellerSales tables in the sample Adventure Works DW database are at the line level. But from your description, it sounde like there are relevant measures at both the header and line item level, so 2 fact tables (with 2 mesure groups) may be preferable. The detail table would then have a foreign key for the parent header table.

In terms of dimensions, those which directly relate to the detail measure group can be configured with a "many-many" relation to the header measure group (using the detail measure group and header fact dimension as intermediates). And those dimensions which directly relate to the header measure group can be configured as "referenced" (via the header fact dimension) for the detail measure group.

This article argues for a single detail-level fact table, but the AS 2005 modelling features may mitigate some of these issues:

Managing Your Parents

Be mindful of reporting needs when designing parent and child fact tables

By Ralph Kimball

...

Monday, February 20, 2012

Oracle and Analysis Services

We have a world wide ERP built on top of Oracle and .net.

We have no way to change Oracle for SQL Server at this time.

But, we would like to use the Excel OLAP features.

From what we've seen, the OLAP features in Excel only work on top of SQL Server's Analysis Services.

Is this true?

Could we have Oracle and just Analysis Services installed?

What would be the cost of such a solution (could you point a price table)?

Thanks a lot.

Analysis Services is fully supported to build cubes based on the data in Oracle relatonal database.

Analysis Services is integral part of SQL Server product offering, you will need to obtain full licence for SQL Server product to run Analysis Services.

You are not required to install SQL Server relational engine on your machine. Installation of Analysis Serivces is self contained.

Pricing of the Analysis Services is standard pricing for buying a SQL Server licence: http://www.microsoft.com/sql/howtobuy/default.mspx

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.