Oracle Bi Solutions

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 4 November 2013

OBIEE11g - Custom BI Time Dimension Populate Database Script.

Posted on 00:33 by Unknown

1) Create database function to populate the time table in the database.

CREATE OR REPLACE PROCEDURE update_day_dim (start_date IN DATE, no_of_days IN NUMBER,Delete_data IN varchar2)
AS
   mcount   NUMBER;
   mdate    DATE;
BEGIN
if delete_data = 'Y' then
   delete from xx_bi_time_day_d;
   commit;
end if;
   BEGIN
      mcount := 1;
      mdate := start_date;

      FOR mcount IN 1 .. no_of_days
      LOOP
   
         INSERT INTO xx_bi_time_day_d
              VALUES (TO_CHAR (mdate, 'MM/DD/YYYY'), mdate
                    , TO_CHAR (mdate, 'DD'), TO_CHAR (mdate, 'Day')
                    , TO_CHAR (mdate, 'MM-YYYY'), TO_CHAR (mdate, 'MM')
                    , TO_CHAR (mdate, 'W'), 'W' || TO_CHAR (mdate, 'W')
                    , TO_CHAR (mdate, 'YYYY'), TO_CHAR (mdate, 'Q')
                    , 'Q' || TO_CHAR (mdate, 'Q'), TO_CHAR (mdate, 'Month')
                    , TO_CHAR (mdate, 'MM')
                    , DECODE (TO_CHAR (mdate, 'Q')
                            , '1', 'H1'
                            , '2', 'H1'
                            , 'H2'
                             )
                    , DECODE (TO_CHAR (mdate, 'Q'), '1', '1', '2', '1', '2'));

         mdate := mdate + 1;
      END LOOP;

commit;

   END;
END;*/


2) Create below table in the data base.

create table xx_bi_time_day_d
(current_date  varchar2(15),
current_date_date  date,
day_num   number(15),
day_name   varchar2(25),
period_name  varchar2(15),
period_num   number(15),
week_num     number(15),
week_name      varchar2(15),
period_year varchar2(4),
quater_num    number(15),
quater_name    varchar2(3),
month_name   varchar2(25),
month_num  number(15),
half_year_name varchar2(15),
half_year_num number(15)
);

3) To Populate the data in the time table, Execute the below function.

execute update_day_dim('01-JAN-1980',50000,'Y');



Read More
Posted in Oracle Database | No comments

OBIEE 11g - Enable Report Performance Improvement in the Analysis

Posted on 00:17 by Unknown
OBIEE 11g analysis has query performance option to "Share query with multiple users"

To enable this option,
1. Analysis' Advanced tab
2. In the bottom of the page select "Share query with multiple users (may improve performance after initial
run)
3. Click "Apply" and save your analysis.
Read More
Posted in OBIEE | No comments

OBIEE11g - Enable Log-Level from Advanced Tab

Posted on 00:07 by Unknown
In the Advanced tab, Add below tag in the prefix and click Apply SQL.

SET VARIABLE LOG_LEVEL = 2;


Log from Administration > Manage Sessions.
Read More
Posted in OBIEE | No comments

OBIEE11g - Calculating First Day of Year, Quarter, Month in Answers

Posted on 00:02 by Unknown

First Day of  Year: TIMESTAMPADD(SQL_TSI_DAY, -1*(DAYOFYEAR(CURRENT_DATE )-1) , CURRENT_DATE )

First Day of Quarter: TIMESTAMPADD(SQL_TSI_DAY, -1*(DAY_OF_QUARTER(CURRENT_DATE )-1) , CURRENT_DATE )

First Day of Month: TIMESTAMPADD(SQL_TSI_DAY, -1*(DAYOFMONTH(CURRENT_DATE )-1) , CURRENT_DATE )

Query For Current Year and Quarter and Month  

SELECT 
TRUNC(cast(TO_CHAR(SYSDATE,'YYYY') as VARCHAR(20))),
TRUNC(CAST(TO_CHAR(SYSDATE,'Q') AS VARCHAR(20))),
TRUNC(CAST(TO_CHAR(SYSDATE,'MM') AS VARCHAR(20)))
FROM DUAL;
Read More
Posted in OBIEE | No comments

Sunday, 3 November 2013

OBIEE11g - Changing Default Chart Colors

Posted on 23:48 by Unknown
Change default chart colors in the OBIEE11g

OBIEE 11.1.1.7.x
<Middleware>/Oracle_BI1/bifoundation/web/msgdb/s_FusionFX/viewui/chart/dvt-graph-skin.xml
Older versions:
<Middleware>\Oracle_BI1\bifoundation\web\msgdb\s_blafp\viewui\chart\dvt-graph-skin.xml

Add the following <SeriesItems> tag before </Graph>
Note: You can add as many <Series id="n" color=.... /> as you wish.
<SeriesItems>
<Series id="0″ color="#ff0000″ borderColor="#ff0000″/>
<Series id="1″ color="#00ff00″ borderColor="#00ff00″/>
<Series id="2″ color="#0000ff" borderColor="#0000ff"/>
</SeriesItems>


</Graph>
Read More
Posted in OBIEE | No comments

Posted on 23:40 by Unknown

Error : [nQSError: 13015] You do not have the permission to set the value of the variable


View Display Error

Error getting drill information: SET VARIABLE LEDGER-ID='02' SELECT ledger.ledger_id saw_0, valueof(nq_session.LOB) saw_1 FROM OLEM

 Error Details
Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
Odbc driver returned an error (SQLExecDirectW).
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 13015] You do not have the permission to set the value of the variable 'LEDGER_ID'. (HY000)
SQL Issued: {call NQSGetLevelDrillability('SET VARIABLE LOB=''LEDGER'' SELECT ledger.ledger_id saw_0, valueof(nq_session.LEDGER_ID) saw_1 FROM LEDGER')}


Solution :
 Go to properties of session variable all check the option "Enable everyone to set value"

Follow the below steps :

1. Open Administration Tool. Go to Manager > Variables.

2. Select System or Non-System variable (depends on type of your variable) under the Session  from left pane. Then the corresponding variables will be listed on right pane.

3. Right click on the variable(for which your getting error in presentation service when you tried to change its value) and select properties.

4. check the option "Enable everyone to set value" (by default this option is unchecked) and click OK.
 Log out from that session and again login to presentation services and the same report.
Read More
Posted in OBIEE | No comments

OBIEE 11g - Query Limit

Posted on 23:29 by Unknown
Query limit and number of minutes a query can run per physical layer database connection, follow the below steps.

> Login to Repository using OBIEE Admin Tool
> Go to Manage > Identity
> Go to Application Role tab, choose the role and double click on it to open.



> Click on Permissions tab



 > Set the Query Limits. You can limit queries by the number of rows received, by maximum run time, and by restricting to particular time periods. You can also allow or disallow direct database requests or the Populate privilege.



Read More
Posted in OBIEE | No comments

OBIEE 11g - Query for Yesterday Date

Posted on 23:25 by Unknown
Using in Analysis:
"Date" IN (TIMESTAMPADD(SQL_TSI_DAY,-1,CURRENT_DATE))


Using sql query in the Dashboard Prompt:
SELECT TIMESTAMPADD (SQL_TSI_DAY,-1,CURRENT_DATE) 
FROM "Time"
Read More
Posted in OBIEE | No comments

Thursday, 10 October 2013

Using a FILTER Function Instead of CASE Statements

Posted on 09:41 by Unknown
OBIEE alternative – the FILTER function. Like CASE statements, you can use the FILTER function to build a logical column expression. In the Expression Builder, this function can be found under Functions > Display Functions > Filter. Here is an example of how to use it:
Suppose you have two Logical Columns derived from the following expressions:
  • UAE:
    CASE WHEN Paint.Markets.Region = ‘UAE’ THEN Paint. SalesFacts.Dollars ELSE 0 END
  • INDIA:
    CASE WHEN Paint.Markets.Region = ‘INDIA’ THEN Paint. SalesFacts.Dollars ELSE 0 END
Instead of using CASE statements, try using the following equivalent expressions involving the FILTER function:
  • UAE:
    FILTER(Paint. SalesFacts.Dollars USING Paint.Markets.Region = ‘UAE’)
  • INDIA:
    FILTER(Paint. SalesFacts.Dollars USING Paint.Markets.Region = ‘INDIA’)
The SQL generated by the FILTER expressions will typically perform better than the SQL generated from the CASE statements. The FILTER SQL may look something like this (pretending all the columns come from the same physical table):
SELECT Physical_yearr,
SUM(CASE WHEN Region = ‘UAE’ THEN Dollars),
SUM(CASE WHEN product = ‘Samsung’ THEN Dollars)
FROM physical_table
WHERE Region = ‘UAE’ OR Region = ‘INDIA’
GROUP BY Physical_year
The SQL generated from the CASE statements may look more like this:
SELECT Physical_year,
SUM(CASE WHEN Region = ‘UAE’ THEN Dollars ELSE 0),
SUM(CASE WHEN product = ‘Samsung’ THEN Dollars ELSE 0)
FROM physical_table
GROUP BY Physical_year
The major difference is that the FILTER SQL includes the criteria in the WHERE clause. In most cases, this means that the WHERE clause would run first, constraining the result set before the CASE statements are run, hence the improvement in performance.
Read More
Posted in OBIEE | No comments

Tuesday, 16 July 2013

OBIEE 11G Installation error during configuration steps with message "Distributing Repository" failed

Posted on 23:48 by Unknown
Problem:

When attempting to install OBIEE11g (11.1.1.7) on Windows 64bit, the installation failed at the 
configuration steps with error message "Distributing Repository" failed.


Answer:

To avoid this issue, make sure that the locale en_US.UTF-8 exists on the installation computer before you install Oracle Business Intelligence.


Read More
Posted in OBIEE | No comments

Installing BI Applications 7.9.6.4 on BI EE 11.1.1.7.0

Posted on 23:36 by Unknown
The Oracle Business Intelligence Application 7.9.6.4 installer fails on Oracle BI EE 11.1.1.7.0 with the error “NQSConfig.INI not found. Please make sure your environment is set up properly”. Also  7.9.6.4 JAZN file is incompatible with BI EE 11.1.1.7.0. This causes authentication failures when a user tries to log in to the Analytics page.

Issue 1: The Oracle Business Intelligence Application 7.9.6.4 installer fails on Oracle BI EE 11.1.1.7.0 with the error “NQSConfig.INI not found. Please make sure your environment is set up properly”.

Issue 2: The Oracle Business Intelligence Application 7.9.6.4 JAZN file is incompatible with BI EE 11.1.1.7.0. This causes authentication failures when a user tries to log in to the Analytics page.

Error Message
NQSConfig.INI not found. Please make sure your environment is set up properly


Please down the attached file Technote1561846.1_InstallSecurity.zip and apply the solution.ID 1561846.1
If required apply patch p16321623_7964_Generic





Patch Download from here

Patch Doc
Read More
Posted in OBIEE | No comments

Wednesday, 3 July 2013

Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P

Posted on 21:19 by Unknown

Error: 
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle Error code: 932, message: ORA-00932: inconsistent datatypes: expected - got CLOB at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
SQL Issued: SELECT 0 s_0, "SPM - Strategic Plan"."Res Statement"."Responsibility Statment Ar" s_1, "SPM - Strategic Plan"."Res Statement"."Responsibility Statment" s_2 FROM "SPM - Strategic Plan" 
Solutions:
Create a view in database by selecting all the columns  and use this DBMS_LOB.SUBSTR(<Clob column>) for clob column.
example: SELECT  rs.sp_id,  

        CAST(DBMS_LOB.substr(rs.RESPONSIBILITY_STATMENT,4000,1)AS VARCHAR2(4000)) RESPONSIBILITY_STATMENT,
        CAST(DBMS_LOB.substr(rs.RESPONSIBILITY_STATMENT_AR,2150,1) AS VARCHAR2(4000)) RESPONSIBILITY_STATMENT_AR,
       CAST(DBMS_LOB.substr(rs.RESPONSIBILITY_STATMENT_AR,4000,2151) AS VARCHAR2(4000))
FROM 
       xxspm_respon_statment rs

If it is English characeter it will accept up to 4000 char , If it is Arabic character it will allow you 2150 characters you can split the data in to two columns like in the example.


1) In the RPD physical layer change the data type to Longvarchar
2) In the report level add two arabic columns using concatinate symbal ( || ) in the expersion builder report will work

good luck.
Read More
Posted in OBIEE | No comments

Tuesday, 2 July 2013

OBIEE 11.1.1.6.11 - Patche Release Details

Posted on 00:06 by Unknown

11.1.1.6.6
VersionLatest Patchset, patch Set Update or Maintenance ReleasePatch Release DateComments
11.1.1.6.0AvailableThis release is NOT recommended for customers to go-live on.

If a customer is upgrading they should install 11.1.1.6.0, then apply the necessary patches via opatch to get them to 11.1.1.6.7 or newer

If a customer is currently on 11.1.1.6.0, then apply the necessary patches via opatch to get them to 11.1.1.6.8 or above and plan an adjusted to-live accordingly to be successful.

Customers can consider 11.1.1.6 PSE1 that is available for go-live, but the better option is to patch to 11.1.1.6.8 or above
11.1.1.6 PSE 1AvailableThis version is recommended for upgrade customers over 11.1.1.6.2, because 6.2 does not have all of the 6.1 PSE fixes
11.1.1.6.2
  • Patch 13932572
  • Patch 13887566
  • Patch 13926409
  • Patch 13892934
  • Patch 13916045
  • Patch 13884769
  • Patch 13794002
as well as
  • Patch 13952743
14th of May 2012List of all patches 11.1.1.6.2 consists of:
  • Patch 13932572 - 11.1.1.6.2 Oracle Business Intelligence Installer
  • Patch 13887566 - 11.1.1.6.2 Oracle Real Time Decisions
  • Patch 13926409 - 11.1.1.6.2 Oracle Business Intelligence Publisher
  • Patch 13892934 - 11.1.1.6.2 Oracle Business Intelligence ADF Components
  • Patch 13916045 - 11.1.1.6.2 Enterprise Performance Management Components Installed from BI Installer 11.1.1.6.x
  • Patch 13884769 - 11.1.1.6.2 Oracle Business Intelligence
  • Patch 13794002 - 11.1.1.6.2 Oracle Business Intelligence Platform Client Installer
and JDeveloper Patch 13952743 mentioned in Readme files needs to be applied, too
From the readme:
"This patch is highly recommended for all the customers (except Exalytics customers) who are using Oracle Business Intelligence Enterprise Edition 11.1.1.6.0 and 11.1.1.6.1. Exalytics Customers must not apply this patch."

This version is also NOT recommended for upgrade customers because 6.2 does not have all of the 6.1 PSE fixes.  Customers should either go to 11.1.1.6 PSE1 or patch to 11.1.1.6.8 or above

Customers need to install 11.1.1.6.0, then apply the necessary patches using opatch to get to 6.2
11.1.1.6.2 BP1
  • Patch 14223977
  • Patch 14226980
  • Patch 13960955
  • Patch 14226993
  • Patch 14228505
  • Patch 13867143
  • Patch 14142868
Released on 29th June 2012 for all platforms, except HP-UX ItaniumList of Patches:
  • Patch 14223977 - 11.1.1.6.2 BP1 (1 of 7) Oracle Business Intelligence Installer
  • Patch 14226980 - 11.1.1.6.2 BP1 (2 of 7) Oracle Real Time Decisions
  • Patch 13960955 - 11.1.1.6.2 BP1 (3 of 7) Oracle Business Intelligence Publisher
  • Patch 14226993 - 11.1.1.6.2 BP1 (4 of 7) Oracle Business Intelligence ADF Components
  • Patch 14228505 - 11.1.1.6.2 BP1 (5 of 7) Enterprise Performance Management Components Installed from BI Installer 11.1.1.6.x
  • Patch 13867143 - 11.1.1.6.2 BP1 (6 of 7) Oracle Business Intelligence
  • Patch 14142868 - 11.1.1.6.2 BP1 (7 of 7) Oracle Business Intelligence Platform Client Installers and MapViewer
This is the first full cumulative patch bundle for 11.1.1.6, and will also synch up with fixes from 11.1.1.5.

It can be installed on top of 11.1.1.6.0, 11.1.1.6 PSE1 or 11.1.1.6.2
The Readme files for the above patches describe the bugs fixed in each patch, and any known bugs with the patch.

The instructions to apply the above patches are identical, and are contained in the Readme file for Patch 14223977.

There are some new features:
  • A new mobile app and features for mobile customers
  • Improved charting and graphing, including Trellis charts
  • Exalytics certification

Note on the Mobile app: client app is available on iTunes AppStore now.  But, this app only works with the 11.1.1.6.2 BP1 server.  It is NOT backwards compatible.  So, you must use it with the 11.1.1.6.2 BP1 server.
11.1.1.6.3 - for Fusion Applications onlyEnd of July - delayedThis version will contain OBIEE fixes specific for Fusion Applications only.  Thus, this version would not benefit standard OBIEE upgrade customers - they would even be advised to NOT install this version.
Standard OBIEE customers should patch to 11.1.1.6.8 or above

This version does not have all the 11.1.1.6.2 BP1 fixes.
11.1.1.6.4
  • Patch 14538078
  • Patch 14538128
  • Patch 14285344
  • Patch 14538164
  • Patch 14415773
  • Patch 14405222
  • Patch 14409674
as well as
  • Patch 13952743
21st Sept 2012This is the currently suggested Patch Set - even if there is a problem you encounter, and cannot find it in the list of fixes.

List of Patches:
  • Patch 14538078 Patch 11.1.1.6.4 (1 of 7) Oracle Business Intelligence Installer
  • Patch 14538128 Patch 11.1.1.6.4 (2 of 7) Oracle Real Time Decisions
  • Patch 14285344 Patch 11.1.1.6.4 (3 of 7) Oracle Business Intelligence Publisher
  • Patch 14538164 Patch 11.1.1.6.4 (4 of 7) Oracle Business Intelligence ADF Components
  • Patch 14415773 Patch 11.1.1.6.4 (5 of 7) Enterprise Performance Management Components Installed from BI Installer 11.1.1.6.x
  • Patch 14405222 Patch 11.1.1.6.4 (6 of 7) Oracle Business Intelligence
  • Patch 14409674 Patch 11.1.1.6.4 (7 of 7) Oracle Business Intelligence Platform Client Installers and MapViewer
Note:
  • The Readme files for the above patches describe the bugs fixed in each patch, and any known bugs with the patch.
  • This patch is cumulative, and therefore, contains all of the fixes included in the earlier 11.1.1.6.2 patchsets.
  • However, lists of fixes from included patchsets need to be looked up in the respective patches readme files, and are not included in the above patches' readme files
  • The instructions to apply the above patches are identical, and are contained in the readme file for patch 14538078.
  • Please bear in mind, that the readme states to apply a separate patch 13952743 to JDeveloper, too
11.1.1.6.5
  • Patch 14696072
  • Patch 14733356
  • Patch 14678543
  • Patch 14733390
  • Patch 14733413
  • Patch 14665284
  • Patch 14733370
as well as
  • Patch 13952743
 19th October 2012This is a cumulative bundle patch to go on top of current 11.1.1.6.X releases  (excluding FA 11.1.1.6.3.X).

  • Patch 14696072 (1 of 7) Oracle Business Intelligence Installer. Bug 14696072
  • Patch 14733356 (2 of 7) Oracle Real Time Decisions. Bug 14733356
  • Patch 14678543 (3 of 7) Oracle Business Intelligence Publisher Bug 14678543
  • Patch 14733390 (4 of 7) Oracle Business Intelligence ADF Components. Bug 14733390
  • Patch 14733413 (5 of 7) Enterprise Performance Management Components Installed from BI Installer 11.1.1.6.x. Bug 14733413
  • Patch 14665284 (6 of 7) Oracle Business Intelligence Bug 14665284
  • Patch 14733370 (7 of 7) Oracle Business Intelligence Platform Client Installers and MapViewer. Bug 14733370


Note:
  • The Readme files for the above patches describe the bugs fixed in each patch, and any known bugs with the patch.
  • This patch is cumulative, and therefore, contains all of the fixes included in the earlier 11.1.1.6.2 and 11.1.1.6.4 patchsets.
  • However, lists of fixes from included patchsets need to be looked up in the respective patches' readme files, and are not included in the above patches' readme files.
  • The instructions to apply the above patches are identical, and are contained in the readme file for patch 14696072.
  • Please bear in mind, that the readme states to apply patch 13952743for JDeveloper, too.
  • When downloading, please select the 11.1.1.6.0 release of this Patch rather than the 11.1.1.6.5 release.
11.1.1.6.6
  • Patch 15844023
  • Patch 15844066
  • Patch 14800665
  • Patch 15843961
  • Patch 15844096
  • Patch 14791926
  • Patch 15839347
as well as
  • Patch 13952743
26th November 2012 This is a cumulative bundle patch to go on top of current 11.1.1.6.X releases  (excluding FA 11.1.1.6.3.X).
  •     Patch 15844023 (1 of 7) Oracle Business Intelligence Installer.
  •     Patch 15844066 (2 of 7) Oracle Real Time Decisions.
  •     Patch 14800665 (3 of 7) Oracle Business Intelligence Publisher.
  •     Patch 15843961 (4 of 7) Oracle Business Intelligence ADF Components.
  •     Patch 15844096 (5 of 7) Enterprise Performance Management Components Installed from BI Installer 11.1.1.6.x.
  •     Patch 14791926 (6 of 7) Oracle Business Intelligence.
  •     Patch 15839347 (7 of 7) Oracle Business Intelligence Platform Client Installers and MapViewer


Note:
  • The Readme files for the above patches describe the bugs fixed in each patch, and any known bugs with the patch.
  • This patch is cumulative, and therefore, contains all of the fixes included in the earlier 11.1.1.6.2, 11.1.1.6.4 and 11.1.1.6.5 patch sets.
  • However, lists of fixes from included patch sets need to be looked up in the respective patches' readme files, and are not included in the above patches' readme files.
  • The instructions to apply the above patches are identical, and are contained in the readme file for patch 15844023.
  • Please bear in mind, that the readme states to apply patch 13952743for JDeveloper, too.
11.1.1.6.7
  • Patch 15959887
  • Patch 15959877
  • Patch 15929063
  • Patch 15959899
  • Patch 15959861
  • Patch 15894670
  • Patch 15959917
31st December 2012 This is a cumulative bundle patch to go on top of current 11.1.1.6.X releases  (excluding FA 11.1.1.6.3.X).
  •     Patch 15959887 (1 of 7) Oracle Business Intelligence Installer.
  •     Patch 15959877 (2 of 7) Oracle Real Time Decisions.
  •     Patch 15929063 (3 of 7) Oracle Business Intelligence Publisher.
  •     Patch 15959899 (4 of 7) Oracle Business Intelligence ADF Components.
  •     Patch 15959861 (5 of 7) Enterprise Performance Management Components Installed from BI Installer 11.1.1.6.x.
  •     Patch 15894670 (6 of 7) Oracle Business Intelligence.
  •     Patch 15959917 (7 of 7) Oracle Business Intelligence Platform Client Installers and MapViewer


Note:
  • The Readme files for the above patches describe the bugs fixed in each patch, and any known bugs with the patch.
  • This patch is cumulative, and therefore contains all of the fixes included in the earlier 11.1.1.6.2, 11.1.1.6.4, 11.1.1.6.5 and 11.1.1.6.6 patch sets.
  • However, lists of fixes from included patch sets need to be looked up in the respective patches' readme files, and are not included in the above patches' readme files.
  • The instructions to apply the above patches are identical, and are contained in the readme file for patch 15959887.
  • Please bear in mind, that the readme states to apply patch 13952743for JDeveloper, too.
11.1.1.6.8
  • Patch 16094198
  • Patch 16094192
  • Patch 16080520
  • Patch 16094205
  • Patch 16094211
  • Patch 16067995
  • Patch 16097082
5th February 2013This is a cumulative bundle patch to go on top of current 11.1.1.6.X releases  (excluding FA 11.1.1.6.3.X).
  • Patch 16094198 (1 of 7) Oracle Business Intelligence Installer. (generic)
  • Patch 16094192 (2 of 7) Oracle Real Time Decisions. (generic)
  • Patch 16080520 (3 of 7) Oracle Business Intelligence Publisher. (generic)
  • Patch 16094205 (4 of 7) Oracle Business Intelligence ADF Components. (generic)
  • Patch 16094211 (5 of 7) Enterprise Performance Management Components Installed from BI Installer 11.1.1.6.x. (port-specific)
  • Patch 16067995 (6 of 7) Oracle Business Intelligence. (port-specific)
  • Patch 16097082 (7 of 7) Oracle Business Intelligence Platform Client Installers and MapViewer  (generic)

Note:
  • The Readme files for the above patches describe the bugs fixed in each patch, and any known bugs with the patch.
  • This patch is cumulative, and therefore contains all of the fixes included in the earlier 11.1.1.6.2, 11.1.1.6.4, 11.1.1.6.5, 11.1.1.6.6 and 11.1.1.6.7 patch sets.
  • However, lists of fixes from included patch sets need to be looked up in the respective patches' readme files, and are not included in the above patches' readme files.
  • The instructions to apply the above patches are identical, and are contained in the readme file for patch 16094198.
  • Please bear in mind, that the readme states to apply patch 13952743for JDeveloper, too.
11.1.1.6.9
  • Patch 16287811
  • Patch 16287778
  • Patch 16237960
  • Patch 16287840
  • Patch 16287854
  • Patch 16227549
  • Patch 16287884
8th March 2013This is a cumulative bundle patch to go on top of current 11.1.1.6.X releases  (excluding FA 11.1.1.6.3.X).
  • Patch 16287811 (1 of 7) Oracle Business Intelligence Installer. (generic)
  • Patch 16287778 (2 of 7) Oracle Real Time Decisions. (generic)
  • Patch 16237960 (3 of 7) Oracle Business Intelligence Publisher. (generic)
  • Patch 16287840 (4 of 7) Oracle Business Intelligence ADF Components. (generic)
  • Patch 16287854 (5 of 7) Enterprise Performance Management Components Installed from BI Installer 11.1.1.6.x. (port-specific)
  • Patch 16227549 (6 of 7) Oracle Business Intelligence. (port-specific)
  • Patch 16287884 (7 of 7) Oracle Business Intelligence Platform Client Installers and MapViewer  (generic)


Note:
  • The Readme files for the above patches describe the bugs fixed in each patch, and any known bugs with the patch.
  • This patch is cumulative, and therefore, contains all of the fixes included in the earlier 11.1.1.6.2, 11.1.1.6.4, 11.1.1.6.5, 11.1.1.6.6, 11.1.1.6.7 and 11.1.1.6.8 patch sets.
  • However, lists of fixes from included patch sets need to be looked up in the respective patches' readme files, and are not included in the above patches' readme files.
  • The instructions to apply the above patches are identical, and are contained in the readme file for Patch 16287811
  • Please bear in mind, that the readme states to apply Patch 13952743for JDeveloper, too.
11.1.1.6.10
  • Patch 16504136
  • Patch 16504143
  • Patch 16504148
  • Patch 16504154
  • Patch 16504156
  • Patch 16427939
  • Patch 16504161
30th April 2013This is a cumulative bundle patch to go on top of current 11.1.1.6.X releases  (excluding FA 11.1.1.6.3.X).
  • Patch 16504136 (1 of 7) Patch (1 of 7) Oracle Business Intelligence Installer (BIINST) (generic)
  • Patch 16504143 (2 of 7) Patch (2 of 7) Oracle Real Time Decisions (RTD) (generic)
  • Patch 16504148 (3 of 7) Oracle Business Intelligence Publisher (BIP) (generic)
  • Patch 16504154 (4 of 7) Oracle Business Intelligence ADF Components (BIADFCOMPS) (generic)
  • Patch 16504156 (5 of 7) Enterprise Performance Management Components Installed from BI Installer 11.1.1.6.x (BIFNDNEPM) (port-specific)
  • Patch 16427939 (6 of 7) Oracle Business Intelligence: (OBIEE) (port-specific)
  • Patch 16504161 Patch (7 of 7) Oracle Business Intelligence Platform Client Installers and MapViewer (generic)


Note:
  • The Readme files for the above patches describe the bugs fixed in each patch, and any known bugs with the patch.
  • This patch is cumulative, and therefore, contains all of the fixes included in the earlier 11.1.1.6.2, 11.1.1.6.4, 11.1.1.6.5, 11.1.1.6.6, 11.1.1.6.7, 11.1.1.6.8 and 11.1.1.6.9 patch sets.
  • However, lists of fixes from included patch sets need to be looked up in the respective patches' readme files, and are not included in the above patches' readme files.
  • The instructions to apply the above patches are identical, and are contained in the readme file for Patch 16504136
  • Please bear in mind, that the readme states to apply Patch 13952743for JDeveloper, too.
11.1.1.6.11
  • Patch 16747681
  • Patch 16747684
  • Patch 16747692
  • Patch 16747699
  • Patch 16747703
  • Patch 16717325
  • Patch 16747708
 June 28th, 2013
  • Patch 16747681 (1 of 7) Patch (1 of 7) Oracle Business Intelligence Installer (BIINST) (generic)
  • Patch 16747684 (2 of 7) Patch (2 of 7) Oracle Real Time Decisions (RTD) (generic)
  • Patch 16747692 (3 of 7) Oracle Business Intelligence Publisher (BIP) (generic)
  • Patch 16747699 (4 of 7) Oracle Business Intelligence ADF Components (BIADFCOMPS) (generic)
  • Patch 16747703 (5 of 7) Enterprise Performance Management Components Installed from BI Installer 11.1.1.6.x (BIFNDNEPM) (port-specific)
  • Patch 16717325 (6 of 7) Oracle Business Intelligence: (OBIEE) (port-specific)
  • Patch 16747708 Patch (7 of 7) Oracle Business Intelligence Platform Client Installers and MapViewer (generic)


Note:
  • The Readme files for the above patches describe the bugs fixed in each patch, and any known bugs with the patch.
  • This patch is cumulative, and therefore, contains all of the fixes included in the earlier 11.1.1.6.2, 11.1.1.6.4, 11.1.1.6.5, 11.1.1.6.6, 11.1.1.6.7, 11.1.1.6.8, 11.1.1.6.9 and 11.1.1.6.10 patch sets.
  • However, lists of fixes from included patch sets need to be looked up in the respective patches' readme files, and are not included in the above patches' readme files.
  • The instructions to apply the above patches are identical, and are contained in the readme file for Patch 16747681
  • Please bear in mind, that the readme states to apply Patch 13952743for JDeveloper, too.

Read More
Posted in OBIEE | No comments

Saturday, 22 June 2013

OBIEE 11g - Application Roles Migration from Dev To Prod

Posted on 00:58 by Unknown
1) To migrate security there is a WLST method called as MigrateSecurityStore which can move the roles from one system-jazn-data.xml to the other. To do that, we need to first copy the system-jazn-data.xml from Dev instance to the Prod instance (to a temporary directory). In the same way copy the system-jazn-data.xml from the Prod instance to the temporary directory.

2) Take a backup of all these files before doing the migration. Now, copy the jps-config.xml from any one of the instances (Dev or Prod) to the temporary Directory. And rename the file to jps-config-policy.xml.

3) Open up the jps-config-policy.xml. You will notice that this file contains all the details about all the stores in the environment. Now, for policy migration, we need to basically use this file to point to the locations of the Dev and Prod (source & target) system-jazn-data.xml files. Also, since we are doing only policy migration, we do not need the other store related tags within this file. Remember that we are modifying only a copy of the jps-config.xml. This copy file will be used only for migration.

You will need the following lines for migration:

<!-- JPS XML Policy Store Service Instance -->


<serviceInstance name="policystore.xml" provider="policystore.xml.provider" location="c:/temp/dev/system-jazn-data.xml">
<description>File Based Policy Store Service Instance</description>
</serviceInstance>


<serviceInstance name="policystore.xml" provider="policystore.xml.provider" location="c:/temp/prod/system-jazn-data.xml">
<description>File Based Policy Store Service Instance</description>
</serviceInstance>

4) Now that we have our jps-config file ready, navigate to the temporary directory from command prompt and initialize the WLST using the following command.

In WLST, application role migration can be done even in offline mode. So, effectively there is no need for us to connect to the weblogic admin server. In offline interactive mode, fire the following command

migrateSecurityStore(type=”appPolicies”, srcApp=”obi”, configFile=”C:/SecurityMigration/jps-config-policy.xml”, src=”sourceFileStore”, dst=”targetFileStore”, overWrite=”false”) 




Read More
Posted in OBIEE | No comments

Informatica - Aggregate Transformation

Posted on 00:38 by Unknown
  • Connected and Active Transformation
  • The Aggregator transformation allows us to perform aggregate calculations, such as averages and sums.
  • Aggregator transformation allows us to perform calculations on groups.

Components of the Aggregator Transformation 
1.   Aggregate expression 
2.   Group by port 
3.   Sorted Input 
4.   Aggregate cache
1) Aggregate Expressions
  • Entered in an output port.
  • Can include non-aggregate expressions and conditional clauses.
The transformation language includes the following aggregate functions:
  • AVG, COUNT, MAX, MIN, SUM
  • FIRST, LAST
  • MEDIAN, PERCENTILE, STDDEV, VARIANCE

Single Level Aggregate Function: MAX(SAL) 
Nested Aggregate Function: MAX( COUNT( ITEM ))

Nested Aggregate Functions
  • In Aggregator transformation, there can be multiple single level functions or multiple nested functions.
  • An Aggregator transformation cannot have both types of functions together.
  • MAX( COUNT( ITEM )) is correct.
  • MIN(MAX( COUNT( ITEM ))) is not correct. It can also include one aggregate function nested within another aggregate function

Conditional Clauses 
We can use conditional clauses in the aggregate expression to reduce the number of rows used in the aggregation. The conditional clause can be any clause that evaluates to TRUE or FALSE.
  • SUM( COMMISSION, COMMISSION > QUOTA )
Non-Aggregate Functions 
We can also use non-aggregate functions in the aggregate expression.
  • IIF( MAX( QUANTITY ) > 0, MAX( QUANTITY ), 0))
2) Group By Ports
  • Indicates how to create groups.
  • When grouping data, the Aggregator transformation outputs the last row of each group unless otherwise specified.

The Aggregator transformation allows us to define groups for aggregations, rather than performing the aggregation across all input data.
For example, we can find Maximum Salary for every Department.
  • In Aggregator Transformation, Open Ports tab and select Group By as needed.

3) Using Sorted Input 
  • Use to improve session performance.
  • To use sorted input, we must pass data to the Aggregator transformation sorted by group by port, in ascending or descending order.
  • When we use this option, we tell Aggregator that data coming to it is already sorted.
  • We check the Sorted Input Option in Properties Tab of the transformation.
  • If the option is checked but we are not passing sorted data to the transformation, then the session fails.

4) Aggregator Caches 
  • The Power Center Server stores data in the aggregate cache until it completes Aggregate calculations.
  • It stores group values in an index cache and row data in the data cache. If the Power Center Server requires more space, it stores overflow values in cache files.

Note: The Power Center Server uses memory to process an Aggregator transformation with sorted ports. It does not use cache memory. We do not need to configure cache memory for Aggregator transformations that use sorted ports.
1) Aggregator Index Cache:
The index cache holds group information from the group by ports. If we are using Group By on DEPTNO, then this cache stores values 10, 20, 30 etc.
  • All Group By Columns are in AGGREGATOR INDEX CACHE. Ex. DEPTNO

2) Aggregator Data Cache: 
DATA CACHE is generally larger than the AGGREGATOR INDEX CACHE.
Columns in Data Cache:
  • Variable ports if any
  • Non group by input/output ports.
  • Non group by input ports used in non-aggregate output expression.
  • Port containing aggregate function





1) Example: To calculate MAX, MIN, AVG and SUM of salary of EMP table. 
  • EMP will be source table.
  • Create a target table EMP_AGG_EXAMPLE in target designer. Table should contain DEPTNO, MAX_SAL, MIN_SAL, AVG_SAL and SUM_SAL
  • Create the shortcuts in your folder.
Creating Mapping:
1. Open folder where we want to create the mapping. 
2. Click Tools -> Mapping Designer. 
3. Click Mapping-> Create-> Give mapping name. Ex: m_agg_example 
4. Drag EMP from source in mapping. 
5. Click Transformation -> Create -> Select AGGREGATOR from list. Give name and click Create. Now click done. 
6. Pass SAL and DEPTNO only from SQ_EMP to AGGREGATOR Transformation. 
7. Edit AGGREGATOR Transformation. Go to Ports Tab
8. Create 4 output ports: OUT_MAX_SAL, OUT_MIN_SAL, OUT_AVG_SAL,
OUT_SUM_SAL 
9. Open Expression Editor one by one for all output ports and give the
calculations. Ex: MAX(SAL), MIN(SAL), AVG(SAL),SUM(SAL) 
10. Click Apply -> Ok. 
11. Drag target table now. 
12. Connect the output ports from Rank to target table. 
13. Click Mapping -> Validate 
14. Repository -> Save 
  • Create Session and Workflow as described earlier. Run the Workflow and see the data in target table.
  • Make sure to give connection information for all tables.

Read More
Posted in Informatica | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Upper Function
    In Oracle/PLSQL, the  upper function  converts all letters in the specified string to uppercase. If there are characters in the string that ...
  • OBIEE 11g Hide/Show Sections based on Dashboard Prompt
    allow a user’s interaction to hide/show certain sections of a dashboard. In this particular case the user wanted to choose either ‘Quarterly...
  • [OBIEE11g] - OBIEE Dashboard for Informatica Metadata Reporting
    The metadata that Informatica Power Center 8 retains in its repository can be exposed via OBIEE reports and dashboards. This metadata includ...
  • [ODI] - Frequently Asked Questions (FAQ)
    Here is a list of FAQs about Oracle Data Integrator 1) What is Oracle Data Integrator (ODI)? 2) What is E-LT? 3) What components make up Ora...
  • OBIEE 11g not showing new dashboard in the drop down menu
    When creating New dashboard in  OBIEE 11g, I have faced with issue that dashboard name did not show up in drop down dashboard menu. 1. When ...
  • Data Modeling: Schema Generation Issue with ERwin Data Modeler 7.3
    We are using Computer Associate’s ERwin Data Modeler 7.3 for data modeling. In one of our engagements, we are pushing data model changes to ...
  • Installation Informatica Powercenter 9.1 on Oracle Enterprise Linux 5.6
    Ingredients: Program Version Filename Oracle Express 11G 11.2.0 oracle-xe-11.2.0-0.5.x86_64.rpm SQL Developer 3.0 sqldeveloper-3.0.04.34-1.n...
  • Informatica Powercenter Workflow Manager Repository Navigator docking float issue
    In case you’re also experiencing where your Repository Navigator is not dock or attached and it seems just floating within Workflow Manager ...
  • [OBIEE11g] - Creating Dashboard Traversing Through Graph
    The general requirement asked for by customers is that they want to Click on the Main Dashboard Page’s Graph and be transferred to the other...
  • OBIEE 11g - Query Limit
    Query limit and number of minutes a query can run per physical layer database connection, follow the below steps. > Login to Repository u...

Categories

  • BI Publisher
  • DAC
  • DataWarehouse
  • Hyperion
  • Informatica
  • OBIEE
  • ODI
  • Oracle Applications EBS 12.1.3
  • Oracle Database
  • PL/SQL
  • SQL
  • Unix/Linux

Blog Archive

  • ▼  2013 (500)
    • ▼  November (8)
      • OBIEE11g - Custom BI Time Dimension Populate Datab...
      • OBIEE 11g - Enable Report Performance Improvement ...
      • OBIEE11g - Enable Log-Level from Advanced Tab
      • OBIEE11g - Calculating First Day of Year, Quarter,...
      • OBIEE11g - Changing Default Chart Colors
      • Error : [nQSError: 13015] You do not have the perm...
      • OBIEE 11g - Query Limit
      • OBIEE 11g - Query for Yesterday Date
    • ►  October (1)
      • Using a FILTER Function Instead of CASE Statements
    • ►  July (4)
      • OBIEE 11G Installation error during configuration ...
      • Installing BI Applications 7.9.6.4 on BI EE 11.1.1...
      • Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
      • OBIEE 11.1.1.6.11 - Patche Release Details
    • ►  June (9)
      • OBIEE 11g - Application Roles Migration from Dev T...
      • Informatica - Aggregate Transformation
    • ►  May (15)
    • ►  April (24)
    • ►  March (43)
    • ►  February (73)
    • ►  January (323)
Powered by Blogger.

About Me

Unknown
View my complete profile