Thursday, August 5, 2010

OBIEE Combine with similar request calculations

OBIEE has a very powerful option called “Combine with similar request”:

image

It basicly gives you an option to do an UNION (ALL), INTERSECT or MINUS.

Let’s start with a simple report:

image

Giving us:

image

Let’s try to divide the total local amount

First add a new column, in the criteria tab click on image  next click on image  giving us:

image

Let’s enter a name and formula:
image

The columns are now addressed with the OBIEE internal name starting with SAW_0 on the left side.

Let’s check the result:

image

Hmmm, not quit what we wanted, let’s add a grand total:
image

This doesn’t work since we have different years in the first column.

Let’s add a SUM in the calculation:

image

Giving us an error:
image

Let’s add a group by for the whole report:

image

see: http://obiee101.blogspot.com/2010/01/obiee-aggregate-by-part-2.html

now it works:

image

Till Next Time

1 comment:

Anonymous said...

Thanks .It helps a lot.