Wednesday, December 3, 2008

OBIEE Handling SCF data / PIT Reporting

Due to more and more compliance rules a lot of DWH's these days have there data stored based on the SCF principal (Slowly Chancing Fact). A typical example of SCF data is the state of an order:

image

If you want to do PIT reporting (Point In Time) you need to use the SCF columns:

image

One possible solution track is using creating a SCF_IS_PIT column in the repository based on a repository variable.

First let's create a PIT_DATE session variable:

image

Next create the column:

image

Our data will now look like this (Current date = 03-DEC-2008"):

image

If we add a filter to our report :

image

we only get "CURRENT" data:

image

For most users this is the information they are looking for. For those who need to go "back in time" with the same report, you simple add a prompt to the dashboard allowing them to set the PIT date:

image

Till Next Time

No comments: