Pages

Showing posts with label analytics. Show all posts
Showing posts with label analytics. Show all posts

Wednesday, 12 July 2017

Dates as Filters

Date Filters in OBIEE

Filtering dates by default in your Answers is a fairly common theme.
You also have the option to replace the IN with greater than or less than.


Yesterday:



From Your Analysis
"ReportDate" IN (TIMESTAMPADD(SQL_TSI_DAY,-1,CURRENT_DATE))



Setting the Dashboard Prompt:
SELECT TIMESTAMPADD (SQL_TSI_DAY,-1,CURRENT_DATE) FROM "ReportDate"


I'll leave out setting the dashboard prompt with the next few examples as the syntax is similar and the changes from the filter can be worked out from the example above.


First Day of the Month:
"ReportDate" IN (TIMESTAMPADD(SQL_TSI_DAY, -1*(DAYOFMONTH(CURRENT_DATE )-1) , CURRENT_DATE ))


First Day of the Year:
"ReportDate" IN (TIMESTAMPADD(SQL_TSI_DAY, -1*(DAYOFYEAR(CURRENT_DATE )-1) , CURRENT_DATE ))


First Day of the Quarter:
"ReportDate" IN (TIMESTAMPADD(SQL_TSI_DAY, -1*(DAY_OF_QUARTER(CURRENT_DATE )-1) , CURRENT_DATE ))


This is not an exhaustive list of what is possible, but should get you started.

Monday, 3 March 2014

OBIEE - Report Footer

Report Footer

You can create a report footer by adding another Title view and editing the layout.
- set the display text to custom and enter "Confidential" or some sort of disclaimer text.
- set the style to show the text as centered, bold and Italic.
- there you go, a confidential footer for your report.

Thursday, 14 June 2012

Explaining OBIEE to Your Boss!

To explain all the details behind OBIEE would take a long time, probably bore a non-technical person half-way to death, yet still not provide them with any details they can conceptually grasp.

There is tons of documentation - the problem is wading through it all, and all your boss wants is-

"OBIEE in a Nutshell".


The OBIEE server exposes to an end user their business focussed measures and dimensions that can be used to assemble analyses of interest.

Assuming that your boss wants to find out how many cars were sold last month and whether they were new or used would assembling a theoretical query of:

"Calendar.Month", "Car.Condition", "Sales.UnitsSold"
with a filter of last month on "Calendar.Month"

The OBIEE server will now organise how the raw data sources are to be queried. It generates one, or more, queries against the data source(s). retreives the results, applies some post processing, and presents back to the user a result set that can be used to generate not only tables, but graphs, pivot tables and maps.

The OBIEE server has modelled physical raw data, applied calculations and transformations, all interwoven with a consistent security model, ensuring data access is seamless and controlled.

In discoverer or reports and to some extent in publisher you design a query. In OBIEE we no longer hand-craft individual queries, rather we model relationships and the ineractions between heirarchical behaviours. This allows for any possible random query entered by a user in the presentation layer to be transformed from a logical to a physical query, transparent to the user, and the results returned and displayed in the manner requested.

Wednesday, 13 June 2012

Waterfall Chart in OBIEE11.1.1.6.0

Waterfall Chart in OBIEE


As several blogs have mentioned there is an unactivated graph in OBIEE 11.1.1.6.0. This is the waterfall chart.

A waterfall chart is a special type of floating-column chart. A typical waterfall chart shows how an initial value is increased and decreased by a series of intermediate values, leading to a final value. An invisible column keeps the increases and decreases linked to the heights of the previous columns.

It used to be possible to mimic this type of behaviour using a stacked bar graph and setting the 'running total' to the same colour as your background, but this is so much easier.

By default this is not visible in the graph list and we need to enable it manually.

Update: Please note this is not supported by Oracle in this version so if you uncover a bug, you're on your own.

Configuration Changes

Edit your instanceconfig.xml file between the <Views>....</Views> element.

Just before the closing tag add the following (leave off the </Views> which I have left in for clarity).

<Charts>
<EnableWaterfall>true</EnableWaterfall>
</Charts>
</Views>

Save the instanceconfig.xml file and restart OPMN.

WaterFall Graph Results

Now when you add a graph view to your query an option for Waterfall appears in the dropdown.


From playing around it is apparent that the four coloured squares (green, green, red and blue) to the right of the graph relate to
1. First (top) coloured square is the start value or initial column.
2. The second coloured square is used to represent increasing or positive values.
3. The third coloured square is used to represent decreasing or negative values.
4. The bottom coloured square is used to show the final balance.

It is possible to change the colours and representation, but, like I said, I'll need to play a bit more.

Tuesday, 22 May 2012

Analytics on port 80 - Changing the listen port

By default OBIEE installs on port numbers 7001 for the console and enterprise manager, and then depending on your install option, Simple install is also on port 7001 and the enterprise install defaults the (for those of us from OBIEE 10 days) 9704.

It is however possible to change the listen port after install, now I wouldn't recommend doing this if you've done a simple install, you start to find that you end up chasing down endless changes just to get things working seamlessly.

Your best option is to go for a fresh install and choose enterprise (not simple) as your install option. A few screens further in you get the chance to customise your install ports or accept the default.

Pause here and search for a file in the install media called staticports.ini, this is the template file for port configuration. An example follows:

[WEBLOGIC]
 
#The Domain port no. This is the listen port of Weblogic Adminserver for the domain.
Domain Port No = 7001
 
#The "content" port for the BIEE apps. This is the Weblogic Managed Server port on which BIEE applications are deployed.
Oracle WLS BIEE Managed Server Port No = 9704
 
#The SSL port for the Weblogic Managed Server
Oracle WLS BIEE Managed Server SSL Port No = 9804
 
[OPMN]
 
#Process Manager Local port no
Oracle Process Manager Local Port No = 6700
 
#Process Manager Remote port no
Oracle Process Manager Remote Port No = 6701
 
#Process Manager Request port no
Oracle Process Manager Request Port No = 6702
 
[BIFOUNDATION]
 
#The listen port for OracleBIServer component 
Oracle BI Server Port No = 9703
 
#The monitor port for OracleBIServer component 
Oracle BI Server Monitor Port No = 9701
 
#The listen port for OracleBIPresentationServices component 
Oracle BI Presentation Services Port No = 9710
 
#The listen port for OracleBIScheduler component 
Oracle BI Scheduler Port No = 9705
 
#The monitor port for OracleBIScheduler component 
Oracle BI Scheduler Monitor Port No = 9708
 
#The script RPC port for OracleBIScheduler component 
Oracle BI Scheduler Script RPC Port No = 9707
 
#The listen port for OracleBIClusterController component 
Oracle BI ClusterController Port No = 9706
 
#The monitor port for OracleBIClusterController component 
Oracle BI ClusterController Monitor Port No = 9700
 
#The listen port for OracleBIJavaHost component
Oracle BI JavaHost Port No = 9810
 
[ESSBASE]
 
#The listen port for Essbase Agent
#Essbase Agent Port No = 1423
 
#The listen port for Essbase Studio
#Essbase Studio Port No = 5300

You would change the port configuration for analytics from 9704 to 80, then save the file somewhere you can browse to.

When your install is done analytics will be on http://myserver/analytics, and the console and enterprise manager are on port 7001.

Thursday, 19 April 2012

OBIEE 11.1.1.6 - Changing how the analytics editor starts

In the latest release of OBIEE you can specify how you want your reports editor to start up.



You change the way the editor starts up from the (I find it so annoying) results tab, where the report attempts to run. Useful but not always helpful.

You can now ask to start on the criteria tab, very useful especially if you are navigating to a report with a long running query.