Re: OLAP Cube Testing

From: Rich Millman (rmillman_at_askallied.com)
Date: 01/17/05


Date: Mon, 17 Jan 2005 17:02:23 -0500

OK, this topic could fill a couple of books, but I'll focus on some of the
key points. Since you say that nobody in your company knows anything about
cube building/testing, I will start from the beginning.

An OLAP cube is a mechanism to define (and optionally store) aggregations.
At it's lowest level, it aggregates data (facts or measures) according to
the various dimensions provided. An example of a fact would be sales, while
dimensions are what put your facts into context, such as product or time.

Cubes can do so much more than just aggregation, if you provide special
rules. I won't get into that here.

I assume that someone is providing the cube for you. In order to test the
cube, you must understand the business rules that went into the design and
creation of the cube. If the business rules are simple aggregation (sum),
then we work with the following:

In the relational database that provided the source for the cube, there is a
fact table and optionally dimension tables. The fact table must tie back to
the dimension tables. You should be able to generate a relational query
that returns the same results as your cube (as long as you are only
summing). A sample SQL Query would be:
Select sum(sales) from sales_table where product = 'turkey'

The above is a very simple representation, but with it, you then have one
dimension (it is assumed that the sales table has a product dimension in
it). And can get a total value. That value should match the value obtained
by the cube.

(Note everything mentioned above is for the simplest example, it could be a
whole lot different if you are doing complex equations or overrides within
the cube)

Tools to test the cube for data (in your situation) would be Excel, by
attaching to the cube and dragging and dropping the information into a pivot
table, or Analysis Server Manager. Neither of these tools requires you to
know MDX in order to return the data.

Hope this helps. If you need anything more specific, post again for help
and I'll send my address.
"Arindam Banerjee" <Arindam Banerjee@discussions.microsoft.com> wrote in
message news:1BC36D9B-286B-430D-A39A-AA7FFFF285F7@microsoft.com...
> Hi Folks,
> this is my first mail in this site. I am a tester and I need to test an
> OLAP
> Cube. Nobody in our company knows anything about Cube Building and
> Testing.
> Could anybody tell me how to test a cube and what are the different
> critical
> areas of testing, I will be very obliged.
> Thanks,
> Arindam
>
> arindam2004@yahoo.com



Relevant Pages

  • Re: Analysis Manager Operations extremely slow
    ... both RDBMS SMO and Analysis Services ... testing domain authentication. ... cube editor slowness if connecting to Oracle. ... Gender dimension to "M" and still browse the Sales cube. ...
    (microsoft.public.sqlserver.olap)
  • Re: How do you limit aggregation to a specific dimension level
    ... this option is available on the cube only. ... after you have added the dimension in the cube, look at the property of the ... > Really appreciate your help but I couldn't find "Aggregation Usage" ... >>> lollipops I have on hand today. ...
    (microsoft.public.sqlserver.olap)
  • Re: Automatic MOLAP questions
    ... there is a lock when the polling query is evaluated. ... when you execute a polling query, the result of the query and the previous datetime can be used to do an incremental processing. ... so an incremental process only add content in a cube and can't update the cube. ... SSAS will not try to process the dimension. ...
    (microsoft.public.sqlserver.olap)
  • Re: The attribute key cannot be found (a new twist in the story)
    ... Here is another story and NeilW unless I don't get better control of 2005 I ... In AS2000 we have only one place in cube to fix data integrity issues. ... I have actually solved my problem by deleting the dimension and creating it ... I'd run a trace (if you're using SQL Server RDBMS) to ...
    (microsoft.public.sqlserver.olap)
  • Re: Filtering a dimension based on value from another cube?
    ... creating a new dimension called "Targeted population". ... Employees with more then XX absences in the month ... calculated cells formula can apply the MDX formula in the cube. ... then the standard calculation is applied. ...
    (microsoft.public.sqlserver.olap)