Monday, June 29, 2009

Same page navigation drills using drill in place, iframes and embedded content in section

In this lession I'll cover same page navigation drills between two reports (not two dashboard pages), and I'll show how to implement this by using different methods and what are disadvantages and advantages of each of them. We want to stay in the focus of the first report (same page navigation) when we call the second report, for all cases.

We'll use reports:





On the PROD_CATEGORY (Navigate) column (Report23) we set value interaction to navigate to Report 24:



On the PROD_CATEGORY (Dimension drill) column (Report23) we set dimension level drill down:



GO URL to Report 24 column on Report23:



Current iframe column:



GO URL to Report 23 column on Report24:



Here we try to turn back dashboard prompt presentation variable from the first focus (when we choose it for the Report23) for returning back from Report24 to Report23 because we don't want to reset previous filter (but this don't work for navigation between two reports on the same page, it works only for navigation between two dashboard pages)

Report navigation inside iframe

We build iframe for Report23 and show it as narrative view in the dashboard.



Column is described above (Current iframe). With this, we have ensured ourself that everything is staying in the same focus (same page).

We test it:



If we navigate from all three columns we stayed in the same page (same focus. same window) and that is right. But here is the problem if we go to Report24 (from the first or the third column) and try to return back with GO URL to Report 23 column on Report24 we cannot set the previous filter in Report23 with presentation variable that we choosed. Report24 cannot see it. So if we go to that link, we get all records:



Drill in place inside a section

This only works for dimension level attributes drills and it has the same dashboard page focus. Otherwise it opens new window and loses focus.



Embedded content in section

Everything works fine, focus is always in the same dashboard page when we navigate using all methods except we cannot use dashboard prompts, neither presentation variables in reports that are inside embedded content. We didn't use drill in place option in the section.



GO URL in embedded content properties:

http://localhost:9704/analytics/saw.dll?GO&nquser=Administrator&path=/shared/Development/Report%2023&Action=Navigate

Thursday, May 28, 2009

How to add leading zeros after selecting value from a calendar dashboard prompt

I received an email about the problem in date format when choosing value from calendar dashboard prompt, it’s shows 2009-5-1 for example without leading zero. It should show 2009-05-01. This question/issue has also been posted on OTN Discusion Forum http://forums.oracle.com/forums/thread.jspa?threadID=904990&tstart=0.

First, set the correct format in localedefinitions.xml:



Now, open calendar.js from location \OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\b_mozilla, not from location \OracleBI\web\app\res\b_mozilla.

Add a part of the code for adding leading zeros for days and months only. We add this inside the NQCSetDate function.



Now you are able to see leading zeros in days and months, everytime. The length is always 2.

Monday, May 11, 2009

OBIEE 10.1.3.4.1

I forgot to mention that the new version of OBIEE (10.1.3.4.1) is out for a while...

Download available on:
http://www.oracle.com/technology/software/products/ias/htdocs/101320bi.html.

OBIEE 10341 First Impressions by John Minkjan:
http://obiee101.blogspot.com/2009/04/obiee-10341-first-impressions.html.

Thursday, April 23, 2009

Detecting all choices from dashboard prompts in Answers

If you are using all choices option in dashboard prompts and presentation variable, there is a way to detect this if you write a filter manualy (using convert filter to SQL option in Answers).

Prompt:



Report:



Detecting all choices for heading:

case when LENGTH('@{pv_char}')>0 then concat('Calendar month is ', '@{pv_char}') else 'All choices' end

or you can write it like this:

case when LENGTH('@{pv_char}') is null then 'All choices' else concat('Calendar year is ', '@{pv_char}') end

Detecting all choices in filter:

TIMES.CALENDAR_MONTH_DESC = ifnull('@{pv_char}',' ')
or
ifnull('@{pv_char}',' ')=' '

Put a heading in narrative view below tittle.

Test (all choices):



NQQuery.log:



Test (selected value):



NQQuery.log:



The same is if you are using number column in dashboard prompt and variable pv_number, just replace pv_char with pv_number and CALENDAR_MONTH_DESC with CALENDAR_YEAR for example.

Monday, April 20, 2009

Content Accelerator Framework V1 free utility set for OBIEE

This works only with OBIEE patch release 10.1.3.4.1 which has not been released yet.

This tool is designed to help OBIEE developers to develop templates from any source to any target environment. Major use of this tool is that you can simply duplicate any reports or logical part in your repository RPD file from one environment to another. The only required thing here is that the target environment should have basic logical model within RPD.

So if you like to clone a dashboard or report and all underlying objects to and want this to be very quickly you can use CAF V1. You can propagate all layers from dashboard level to RPD logical level just in few clicks.

CAF V1 coverage:



If you for example rename some objects in RPD your reports are broken because of new aliases in RPD and normally you would synchronize catalog manually, but this tool will synchronize all automatically.

*Note
CAF V1 cloner will clone all logical calculations and all Answers calculations.
CAF V1 cloner will not clone RPD objects that directly map to physical column or physical formula calculation.




Oracle Business Intelligence Enterprise Edition on OTN:
http://www.oracle.com/technology/products/bi/enterprise-edition.html

Download CAF utility:
http://download.oracle.com/technology/products/bi/files/OracleBIEE_CAFV1_Setup.zip


CAF documentation:
http://www.oracle.com/technology/products/bi/pdf/oraclebiee-cafv1-usage-instructions.pdf