A collection of OBIEE / OBISE stuff from 101 till 404. I just put the things here I run into.
Thursday, March 7, 2013
OBIEE This is the end?
Sunday, May 6, 2012
OBIEE en JDev in the same FWM home
(especially when you are preparing for the Brighton 2012 BI congress.......)
8-(
Till Next Time
Monday, April 23, 2012
OBIEE install avoid RTD license problems
If you are not going to use RTD (Real Time Decisions) uncheck the box during installation:
This avoids extremely difficult discussions with Oracle over the license fee.
Till Next Time
Friday, April 20, 2012
OBIEE 11116 repository on MS-SQL I
We had to do a POC on some MS-SQL data. Instead of bringing an extra Oracle DB we used an existing MS-SQL instance.
1. Create a repository database:
We called ours “Repositories”
2. Enable case-sensitive collation
ALTER DATABASE Repositories COLLATE Latin1_General_CS_AS
3. Enable Row versioning
ALTER DATABASE Repositories SET READ_COMMITTED_SNAPSHOT ON
Tuesday, March 20, 2012
See you in Brighton !
See you in Brighton!
Monday, February 27, 2012
OBIEE 11.1.1.6 upgrade guide
http://docs.oracle.com/cd/E23943_01/bi.1111/e16452/bi_plan.htm#BABECJJH
Pretty much a standard weblogic upgrade.
Till Next Time
Friday, February 24, 2012
250 Followers !
Regards John
Wednesday, February 22, 2012
OBIEE 11.1.1.6 is out!
http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/downloads/bus-intelligence-11g-165436.html ==> 11.1.1.6.0 is out
See the nice new features:
http://docs.oracle.com/cd/E23943_01/bi.1111/e10540/whatsnew.htm#CJAEEGJH
Till Next Time
Monday, February 20, 2012
OBIEE in hebrew
Translatesd : http://translate.google.com/translate?sl=iw&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=http://iloug.org.il/BI/
For those of you who also have a non english OBIEE blog feel free to sent me a link and I will gladly advertise it here.
Till Next Time
Sunday, February 12, 2012
OBIEE11g FireFox 10 problems
For those of you having problems with the new FireFox 10 client. Michal Novy posted a solution on Christians Blog:
Hi, I found the way how to do a workaround:
1. type "about:config" into an address bar
2. right click anywhere and choose New / String
3. name it "general.useragent.override"
4. put the value "Mozilla/5.0 (Windows; Windows NT 6.1; rv:10.0) Gecko/20100101 Firefox/9.0"
5. refresh OBIEE login screen
Then it works without any problems!
Seems that Oracle is already working on some patches: see patch # 13564003 released by Oracle Support which repairs this limitation.
Till Next Time
Friday, January 27, 2012
OBIEE101 I’m still around ;-)
Thanks everybody for the interest in my whereabouts.
Yep, I'm still around. Just very very busy on a huge OWB migration.
Hope to be back soon we some OBIEE stuff.
Till Next Time
Friday, December 16, 2011
OBIEE10g Auto Suggest Prompt
A client asked me if I could create an auto suggest prompt for him. (ie: Google Style Prompt). Basically he wanted an edit box prompt which would fill an suggestion box which he could tab trough to make the right selection.
Since this isn’t a standard 10g functionality I wrote some JavaScript to make it happen. But I didn’t reinvent the wheel ! The people at jQuery already did the bases, I simple adapted it for usage in OBIEE 10g.
1. Download the jQuery UI package here. Install it in your b_mozilla directory’s (or other webserver dirs you use).
2. Download the jQuerySetup from here.
3. Add the setup script to a textbox on your dashboard page:
Alter files locations if needed, don’t forget the Contains HTML Markup checkbox.
4. Add a dropdown prompt to your dashboard page.
5. Create a javascript file in your b_mozilla directory’s called: autocomplete.js
function SetAutoComplete(PromptColumn){
var domNode = document;
var tagName = '*';
var tags = domNode.getElementsByTagName(tagName);
var y ="";
for(i=0; i<tags.length; i++){
if (tags[i].className == 'GFPFilter') {
if (tags[i].getAttribute('gfpbuilder').indexOf(PromptColumn) != -1)
{
y = tags[i].getAttribute('sid')
};$(
function()
{
$( "#"+y ).combobox();
});
};
};
};
6. After the dropdown prompt add a textbox with:
<script src="res/b_mozilla/autocomplete.js" language="javascript"> </script>
<script language="javascript">
SetAutoComplete('C1 Cust Name');
</script>
7. Add your report and run the dashboard:
Till Next Time
Tuesday, December 13, 2011
OBIEE10g AutoRunPrompt
A client asked me if I could create an auto run prompt for him. Basically he wanted an edit box prompt which would updated his report after each character has been typed. Since this isn’t a standard 10g functionality I wrote some JavaScript to make it happen. It uses the onkeyup event to fire the GFPDoFilters filter event.
The script can be downloaded here: download COBIEEJS.
Copy the file to your b_mozilla directory’s (or other webserver dirs you use)
How to use it?
1. Add an edit box style prompt to your dashboard:
2. Add a textbox with:
<script src="res/b_mozilla/cobieejs.js" language="javascript"> </script>
<script language="javascript">
AutoRunPrompt('C1 Cust Name');
</script>
don’t forget the Contains HTML Markup checkbox
3. Add your prompted report:
Run the dashboard:
Till Next Time
Saturday, October 15, 2011
OBIEE11g Golden Rules: Dashboard Building
First of al the original inspiration for these “Golden Rules” Series are based on the “20 GOLDEN RULES FOR REPOSITORY DESIGN” from the people at Peak Indicators. Kudos to them. I just added my own observations.
The series contains:
- RPD-Physical Layer
- RPD-Business Model Layer
- RPD-Presentation Layer
- Report Building
- Dashboard Building
- Catalog management
The “rules” is this article are somewhat in random order
This is really a work in progress, will be updated soon! (Bit pressed for Time )
Dashboard Design
- Don’t crowd the dashboard
Divide your report over several pages! Check why a user really needs 25 pages…..
- Avoid scrolling
Remember that your developers screen is often bigger then the user screen
- Check for screen size
If the user has only a 1024 * 768, then make your own resolution the same!
- Check for mobile
- Animation
- Colours
Before you start using non standard colours have a look a some colour theory: http://en.wikipedia.org/wiki/Color, not every colour combination does well…..
This is always a “work in progress” and please feel free to make any suggestions!
Till Next Time!
Friday, September 30, 2011
OBIEE Portal management
First of all the main source for this article can be found here: http://www.datafactotum.com/2010/01/how-to-ensure-efficient-use-of.html a must read article from Phil Wright .
In this article I want to give you some guidelines for the implementation in OBIEE. (It’s still a work in progress so feel free to add any comments or suggestions)
The OBIEE portal should be considered essential component of the BI Landscape of an organisation. It can be a great delivery method to allow the business to serve itself with accurate, timely, insightful information, without the need for further IT intervention, delays, or confusion. (hopefully )
Looking around in the organisations I worked with I see that id they are not properly managed they tend to become a “garden shed” after a while:
A place where only a few people can find what they need….
Within a couple of months you will get a “buzz” like:
- The information seems to be out of date…
- Is this the same report as this one?
- This report still says “test” but department X is already using it…
- What is the purpose of this report
- Who owns this report?
- This report is missing information on X, Y & Z
- I thought we changed the procedure for this……
If the “buzz” grows to much it will lead to a lack of confidence among business users in the BI system.
How can we, as OBIEE specialists ensure that our portal breeds confidence and remains an efficient delivery method of information to business?
Based on Phil’s original points I come to the following list: (please feel free to add!)
- Set up a commination model
- Organize your Catalog
- Template your dashboards
- Monitor 'last refreshed' or 'last accessed' date
- Introduce increased governance
- Introduce Kite marking
- Allow search of reports by keywords
- Ensure accurate metadata is in place
- Introduce structure to portal
Set up a commination model
Users tend to forget how things work especially procedure’s .
Set up a wiki / sharepoint were you put a related BI documentation. Add a hyperlink on each dashboard page.
Send out a regular newsletter on your progress and all the exiting new things you have made
Organise your catalog:
- Use catalog groups: Control access to your shared folders
- Create Functional Folder: Group reports and dashboards
- Create a Transport Folder: Reports from individual users which have to become cooperate can be placed here. The portal manager will put them in the correct destination folder.
- A you sure everybody needs to see every page?
Template your dashboards:
Make sure your dashboards ‘look and feel’ the same throughout the whole portal.
- Start with a landing page
- Include a help/explanation page
- Include last refresh date of the DWH.
- Restrict the number of used graph type’s
- don’t cramp to much into one page
- don’t go overboard with animations
- avoid scrolling
Monitor 'last accessed' date
The usage tracking feature in OBIEE gives you the ability to look at dates that reports where last accessed. Temporarily remove all reports/dashboard that have not been accessed within the past 3 to 6 months. These reports need to be fenced off into a temporary storage area for a couple of months, and if a business user does not complain that their report is missing, the report probably can permanently deleted (read archived). Due to the ever changing nature of business, reports are often created for a specific purpose, used heavily for a period of time, and then no longer deemed necessary, or are superseded by a new report. If this ‘old’ content remains available for each user on the portal, it will start confusing users.
Introduce increased governance
The BI portal project will of course have started with the best intentions in terms of governance, with the initial batch of published reports having defined owners, purpose, scheduling, definition etc.
However, when the portal grows, this governance benchmark often slips away if there is no adequate management in place.
A regular exercise of updating and re-introducing the governance standards to the portal, as well as providing education for the standards of future reports that will be published will help ease business concerns.
Don’t forget to communicate and embrace the standard with the business on a regular basis.
A tip is to introduce the ‘report of the month’ , send a mail to the organisation telling them which spectacular new page has been added.
The minimum documentation on reports/dashboards from the business perspective should be based on the 4 streams mentioned in Phil article:
- Purpose
- Identify why report is needed (operational, KPI, KQI)
- Identify what the business need is
- Identify how it will be used - Ownership
- Who will own the report?
- Who is the primary contact?
- Are they also responsible for potential report issues? -
Classification
- Is the report sensitive?
- Does it require special permissions to view?
- Is a confidentiality agreement needed? - Definition
- What do the fields on the report mean?
- Who has aided in defining the fields?
- Has definition been signed-off as correct?
These 4 streams form the basis of a 'Standards in Report Creation & Publishing' document on your company wiki.
Introduce Kite/CE/TQCSI marking
A further step into the world of report governance could be taken in the form of quality marking reports.
Marking is the process of stamping a report as a recognised source of accurate and approved data. This way the business users would know that the report contains information of which they can be confident will support their business decisions.
Included a ‘VALID TILL’/’NEXT REVIEW’/’OVERHAUL’ date on the report.
Reports seldom should live forever!
Make content searchable
OBIEE has a great search feature, allowing user to find the report they need:
….But you need to ensure that metadata exists that allows a business user to easily understand, in business terms, what the report shows, and how it should be used.
A good tip to let your user write (part of) the documentation.
This means:
Ensure accurate metadata is in place
Metadata has different meaning for different users. Beside the ‘technical’ side you should also specify metadata from a business perspective, such as:
- - A meaningful name of the report
- - Defined business terms for each field of a report
- - Information related to report owner
- - Business rules and any criteria applied to the report are clearly defined
These forms of metadata, where applicable, should be captured either on the report, or within a separate business glossary / wiki page.
Due to the ever-changing nature of business, ensuring accurate metadata can be harder than it seems. Over time definitions and business rules can change. It is therefore essential that a regular routine exercise of maintaining metadata is undertaken. A report with out of date definitions or business rules could lead to data quality issues and poor decisions.
Set up a metadata review every 6 till 9 months.
Introduce structure to portal
Structure is essential to providing an efficient portal to business users. There is nothing worse than having to scroll through a list of 400 reports to find the report you're looking for.
There are a number of different ways that a portal could be structure to improve efficiency to business users. For instance:
- Reports could be stored by subject area, such as 'finance', 'sales', 'supply chain'
- Reports could be stored in a 'daily', 'weekly', 'monthly' directory structure depending on how often they have been designed to be refreshed.
- Reports could be stored by perspective:
- Financial — Groups objectives, initiatives, and KPIs that relate to or support the monetary or economic health and development of your organization.
- Customer — Groups objectives, initiatives, and KPIs that pertain to or support your client base.
- Internal Process — Groups objectives, initiatives, and KPIs that categorize and support your corporate internal policies and procedures.
- Learning and Growth — Groups objectives, initiatives, and KPIs that relate to or support employee training and advancement.
- A combination of the above.
Think of the portal as a bookshelf, or a library, with the aim of enabling the business user to find the correct information they require in a timely manner. This implies that different users may need different portal organisation structures.
And the big question is: …..
Although most of these points seem to be based on common sense, the big question is often who should implement and maintain these guidelines within an organisation?
I personally think this is one of the core a activities of a BICC (Business Intelligence Competence Center) see: http://en.wikipedia.org/wiki/Business_Intelligence_Competency_Center
Till Next Time
Friday, September 23, 2011
OBIEE11g Blocking Analyses Based on Criteria
Yes if done this for 10g (see:http://obiee101.blogspot.com/2008/06/obiee-blocking-request-based-on.html). Just wanted to check if this still works in 11g.
Start by locating your answerstemplates.xml. If you don’t have a CustomMessages diretory create one and place it there (or take a change on loosing your stuff during a update . )
There are several blogposts with nice “documentation” copies. For this article I checked every function personally. (Including the “one” I couldn’t get to work…..)
Find the webmessage for kuiCriteriaBlockingScript:
Since we don’t want to edit our template al the time forcing a restart we put in an external reference to a javascript called: mycriteriablocking.js
<WebMessage name="kuiCriteriaBlockingScript" translate="no">
<HTML>
<script type="text/javascript" src="fmap:mycriteriablocking.js" />
</HTML>
</WebMessage>
in the ORACLE_INSTANCE\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obipsn\analyticsRes directory we place a javascript (.js) file called mycriteriablocking.js.
just a warning. this is very very sensitive on typo’s
Start with a simple formula:
// This is a blocking function. It ensures that users select what
// the designer wants them to.
// http://obiee.blogspot.com
function validateAnalysisCriteria(analysisXml)
{
return true;
}
- Force the usage of a specific “Subject Area”
function validateAnalysisCriteria(analysisXml)
{
// create a new validator
var tValidator = new CriteriaValidator(analysisXml);
// Only use Sample Sales Lite or Sample Targets Lite
if ( tValidator.getSubjectArea() != "Sample Sales Lite" &&
tValidator.getSubjectArea() != "Sample Targets Lite" )
return "You can only use Sample Sales Lite or Sample Targets Lite!";
//We come here if everything checks out
return true;
}
- Force the usage of a specific ”Table”
function validateAnalysisCriteria(analysisXml)
{
// create a new validator
var tValidator = new CriteriaValidator(analysisXml);// Table must exists
if ( !tValidator.tableExists("Time") )
return "Each report must have a Time Dimension";
//We come here if everything checks out
return true;
}
- Force the usage of a specific “Column”
function validateAnalysisCriteria(analysisXml)
{
// create a new validator
var tValidator = new CriteriaValidator(analysisXml);// Column must exists
if ( !tValidator.columnExists("Time", "Per Name Year") )
return "Each report must have a Year column from the time dimension";
//We come here if everything checks out
return true;
}
- If one Column is used the other is compulsory
function validateAnalysisCriteria(analysisXml)
{
// create a new validator
var tValidator = new CriteriaValidator(analysisXml);// If we use one column then also the other should be there
if ( !tValidator.dependentColumnExists("Time", "Per Name Qtr" , "Time", "Per Name Year"))
return "A quarter with out a Year is pretty useless!";
//We come here if everything checks out
return true;
}
- If one Column is used a specific column is compulsory
!!! According to the documentation this should work?? I wasn’t able to create a working example (yet)….. … !! (If you have one lying around for 11g please let me know……)
function validateAnalysisCriteria(analysisXml)
{
// create a new validator
var tValidator = new CriteriaValidator(analysisXml);// If we use a random column from a table a specific column should be there
if ( !tValidator.dependentColumnExists("Base Facts", "", "Time", "Per Name Year"))
return "Facts should always be presented together with a year";
//We come here if everything checks out
return true;
}
- A column should be at least in the filter:
function validateAnalysisCriteria(analysisXml)
// create a new validator
{
var tValidator = new CriteriaValidator(analysisXml);if ( !tValidator.filterExists("Time", "Per Name Year"))
return "A Year filter must be applied";
//We come here if everything checks out
return true;
}
- If a column is used the other should be in the filter:
function validateAnalysisCriteria(analysisXml)
// create a new validator
{
var tValidator = new CriteriaValidator(analysisXml);if ( !tValidator.dependentFilterExists("Base Facts","Revenue" , "Time", "Per Name Year"))
return "Revenue needs a year filter";
//We come here if everything checks out
return true;
}
- A minimum numbers of selection should be in the filter
function validateAnalysisCriteria(analysisXml)
{// create a new validator
var tValidator = new CriteriaValidator(analysisXml);// Count the number of elements in the filter var n = (tValidator.filterCount( "Time", "Per Name Year")); if ((n <2))
return "Please select at least 2 years in your filter";
//We come here if everything checks out
return true;
}
Till Next Time
OBIEE / LINUX SampleApp remove logs
After playing around with the new sampleapp107 for a bit, I managed let it crash after my router was down for a couple of days. It turned out it had run out of log space. When trying to delete some log files I got this error:
“Not on the same file system” First of all I’m a complete newbie on Linux . So don’t shoot me if this is kindergarten stuff. After some browsing on the net I found that you have to go to your System >> Preferences >> File Management menu:
Goto the behavior tab:
Check the box “Iclude a Delete command that bypasses Trash”:
Now you will find a Delete menu below your move to Trash which does the trick
Till Next Time
Wednesday, September 21, 2011
Monday, September 19, 2011
OBIEE11g how to use Time Series
OBIEE has some nice features regarding time series calculations. Must developers are perfectly able to get functions like AGO, TODATE and PERIOD_ROLLING to work. Still I would like to place a couple of remarks on there usage:
- Have you taken a look a the SQL produced by these functions?
It’s definitely not the cheapest / quickest. Most of the AGO functionality can be done much “cheaper” by adding some extra columns to your calendar dimension. (DATE_WEEK_AGO, DATE_MONTH_AGO, DATE_QUARTER_AGO etc.). If you then map an aliases of your fact table against the ago column in your calendar dimension you will have your AGO columns.
TODATE columns can be calculated much cheaper in a ETL process then a recalculation every time a report in run.
- Are the used TODATE and AGO columns meaningful on this report?
Consider a report with the following columns: DAY_DATE, REVENUE, REVENUE_YEAR_TO_DATE, REVENUE_YEAR_TO_DATE_AGO. On normal production calendar you have about 220 working days a year. This means that the average delta between DATE and DATE-1 will be .5% on a YEAR_TO_DATE base. For must users such a delta has no significance. If a PERIOD_TO_DATE column has period more then 2 levels “higher” then the lowest calendar granularity on report, it’s often meaningless. (FI: YEAR vs DAY) YEAR=>QUARTER=>MONTH=>WEEK=>DAY==> distance = 5
- Is the report really supporting a business process?
How many process which took place on 01-sep-2011 where really depending on what happened on 01-sep-2010 and 01-sep-2009?
Till Next Time
Friday, September 9, 2011
OBIEE Hierarchy Navigation Functions {HNF} Part 1
- ISPARENT (Who is my Mother or Father?)
- ISANCESTOR (Who are the {great}(grant)-parent(s)?)
- ISCHILD (Who is my child?)
- ISDESCENDANT (who are the {great}(grant)-children?
- ISLEAF (are there children?)
- ISROOT (Who is the overall boss?)
- ISBROTHER (or sister) (You have to wait until the final part to see the solution)
member_identifier
The functions ISPARENT, ISANCESTER, ISCHILD and ISDENSCENDANT all depend on the member_identifier. This is the column Member Key you identify in your logical table source.
ISPARENT
From the documentation:
The ISPARENT function enables you to find the parents of a member of a parent-child hierarchy, that is, all the members that are one hierarchical level above the specified member.
Presentation Layer Syntax:
ISPARENT(pc_presentation_hierarchy, member_identifier)
Example “Hardcoded Member Identifier”:
Case When ISPARENT("Sales Person"."H5 Sales Rep",'21') Then 'YES' else 'NO' END Example “Session Variable”: Case When ISPARENT("Sales Person"."H5 Sales Rep",VALUEOF(NQ_SESSION.HierarchyUser)) Then 'YES' else 'NO' END
Business Model and Mapping Layer Syntax:
ISPARENT(logical_dimension, member_identifier)
Example “Hardcoded Member Identifier”:
Case When ISPARENT("13 - Hierarchy levels"."H5 Sales Rep",'24' ) Then 'YES' else 'NO' END
Example “SessionVariable”
FILTER("13 - Hierarchy levels"."F0 Sales Base Measures"."1- Revenue" USING ISPARENT("13 - Hierarchy levels"."H5 Sales Rep", VALUEOF(NQ_SESSION."HierarchyUser")))
These functions are also available in the LTS and can be used as data access restriction.
Till Next Time