Saturday, January 8, 2011

OBIEE Using a MSSQL stored procedure as datasource

A MSSQL stored procedure can return a table. You can use this table as a normal datasource in your repository.

Let’s  create a basic procedure

[code]

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:        John Minkjan
-- obiee101.blogspot.com
-- =============================================
CREATE PROCEDURE sp_dim_Accounts   
AS
BEGIN
    SET NOCOUNT ON;
    SELECT     dim_Account_ID, Account_Code, Account_Name
FROM         dim_Accounts
END
GO

[/code]

In the repository create a new table:

image

Make the type stored procedure:

image

Add the columns manually:

image

Add the execute script:

image

EXEC [DATABASE_NAME].[SCHEMA_NAME].[PROCEDURE_NAME]

You will see that the table symbol has changed:

image

You can now join it as a normal table to the rest of your model.

Till Next Time

Tuesday, January 4, 2011

OBIEE a new year

First of all best wishes for the new year!

Yes, indeed it has been to long for me to do some serious blogging. Why? well mostly because I was working extremely long hours on a non OBIEE project. Believe it or not there are still some other BI tools around ;-) .

In the past year we finally saw the launch of 11g. Looking around in the market we see that after the first buzz everybody went into a sort of waiting mode. Why? One of the main arguments seems to be the investment needed to convert from 10g to 11g. Not only do you need to invest the time, but on smaller systems new hardware might be required. A other argument seems to be the change in systems management which might require a reshuffle in the IT department.

10g customers are still very satisfied, new customers often go for an out of the box dashboard package for a specific branch or application. I haven’t seen many start from scratch projects with 10g in the last 6 months.

Well my new year resolution is to pick all my blogging activities again..

Till Next Time

Thursday, November 25, 2010

Real Time Saver

We all have these projects were a bunch of excel sheets are made available to you by the business. “All the business logic is in there Have Fun” . Next you will spend days trying to figure out how stuff works. You can save a lot of time by using an excel plug in “trace” made by Christopher Teh Boon Sung: http://www.christopherteh.com/trace/.

It make great graphical overview on how all the cells are connected to each other. This can save you several days!

Till Next Time

Monday, November 1, 2010

OBIEE / Siebel CRM Installation and Management

Some time ago @Lex (http://siebel-essentials.blogspot.com/) send me a copy of his new book (). Altough setting up an Siebel CRM system is not my daily job, I must say this book is a perfect guideline and a ‘must read’ for every Siebel CRM sysop.

As mroshaw pointed out on Amazon.com: “Even if you've 'been there, done that' there is information in here that you may not have been aware of and tips and tricks that you will definitely find useful while working day to day. “

I couldn’t agree more!

Till Next Time