<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6995970560484630985</id><updated>2012-02-15T22:59:15.398-08:00</updated><category term='Human Resource Analytics'/><category term='OBIAPPS'/><category term='OBIEE'/><category term='OBIApps Customization'/><category term='Infrastructure'/><title type='text'>Shiv Bharti's Blog</title><subtitle type='html'>I am an ex-Siebel/Oracle employee who was part of the Oracle's BI Applications Core Engineering development team Involved in Building Oracle BI Application .Currently I am working as an OBIEE/Oracle BI Application Architect and have helped deploy several OBIEE/Oracle BI Application Projects .</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://shivbharti.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995970560484630985/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://shivbharti.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Name: Shiv Ratan Bharti</name><uri>http://www.blogger.com/profile/12717020472040363880</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-HluUl3YdqdI/Tkf0oZVbxlI/AAAAAAAABLY/nB5f1Ogq-xM/s220/Linkedin.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6995970560484630985.post-2839715614589114863</id><published>2009-11-02T21:09:00.000-08:00</published><updated>2009-11-02T21:38:41.581-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><category scheme='http://www.blogger.com/atom/ns#' term='OBIApps Customization'/><category scheme='http://www.blogger.com/atom/ns#' term='Human Resource Analytics'/><category scheme='http://www.blogger.com/atom/ns#' term='OBIAPPS'/><title type='text'>Understanding Oracle BI Application(OBIApps) methodology of deriving AGO Measures</title><content type='html'>Very often I have members from the IT team at Customer site asking me the question on how to customize OBIApps in order to derive Ago(Year,Quarter,Month,Day) Measures, which are not delivered Out of the Box(OOTB) .Of course there is a Time series function(AGO) in OBIEE which can be leveraged to fulfill these requirements , but in this article I would like to explain the OOTB approach that is taken to derive AGO measures. Getting familiar with OOTB approach and the underlying Data Model that is there to support similar requirements, can help us follow similar methodology for our customization. &lt;br /&gt;&lt;br /&gt;In this article I have taken&lt;b&gt;Oracle BI Application 7.9.6&gt;Human Resources&gt;Workforce Profile&lt;/b&gt; Subject area as an example for understanding the Concepts.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1.&lt;/b&gt;Below is the Screnshot of the OOTB &lt;b&gt;Human Resources&gt;Workforce Profile&lt;/b&gt; Subject Area .  &lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2796/4068429150_1c2946493b.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px; height: 398px;" src="http://farm3.static.flickr.com/2796/4068429150_1c2946493b.jpg" border="0" alt="" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;b&gt;2.&lt;/b&gt; Building a quick report with the Metrics above displays the results as below .&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2702/4069088506_dcc369058f.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px; height: 377px;" src="http://farm3.static.flickr.com/2702/4069088506_dcc369058f.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Note that &lt;b&gt;Prior Period Headcount&lt;/b&gt; for 2006 is equivalent to &lt;b&gt;Headcount&lt;/b&gt; value of 2005.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3.&lt;/b&gt; Let us now look into the design . Open the OOTB RPD and expand the &lt;b&gt;Human Resource - Workforce Profile&lt;/b&gt; Presentation Catalog. Scroll Down and further expand the Presentation Table &lt;b&gt;Workforce Profile Facts &lt;/b&gt; you should notice the two Presentation Columns &lt;b&gt;Headcount and Prior Period Headcount&lt;/b&gt; .&lt;br /&gt;&lt;br /&gt;&lt;b&gt;4.&lt;/b&gt; These two Presentation columns are mapped to different Logical Table Sources as listed below &lt;b&gt; &lt;br /&gt;Fact_W_WRKFC_EVT_MONTH_F_Snapshot_Year&lt;br /&gt;Fact_W_WRKFC_EVT_MONTH_F_Snapshot_Year_Ago&lt;br /&gt;Fact_W_WRKFC_EVT_MONTH_F_Snapshot_Quarter&lt;br /&gt;Fact_W_WRKFC_EVT_MONTH_F_Snapshot_Quarter_Ago&lt;br /&gt;Fact_W_WRKFC_EVT_MONTH_F_Snapshot_Month&lt;br /&gt;Fact_W_WRKFC_EVT_MONTH_F_Snapshot_Month_Ago&lt;br /&gt;Fact_W_WRKFC_EVT_MONTH_F_Snapshot_Day&lt;br /&gt;Fact_W_WRKFC_EVT_MONTH_F_Snapshot_Day_Ago&lt;/b&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2498/4067785427_efd4774e30.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px; height: 185px;" src="http://farm3.static.flickr.com/2498/4067785427_efd4774e30.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;5.&lt;/b&gt;Further drilling down into the Physical Layer reveals that the above logial table sources are derived from the &lt;b&gt;two&lt;/b&gt; Physical Table Aliases of the same table &lt;b&gt;W_WRKFC_EVT_MONTH_F&lt;/b&gt;.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2511/4067813857_6ecc1330c8.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px; height: 125px;" src="http://farm3.static.flickr.com/2511/4067813857_6ecc1330c8.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;6.&lt;/b&gt;Below is the Physical Diagragm of the alias Fact_W_WRKFC_EVT_MONTH_F_Snapshot joinining with the Time Dimensions.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2755/4068235941_273b72bf4f_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 547px; height: 265px;" src="http://farm3.static.flickr.com/2755/4068235941_273b72bf4f_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;7.&lt;/b&gt;Below is the expression definition used in the join criteria . Note that ROW_WID of Year,Quarter,Month and Day Dimensions are used to join with the Fact table alias.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2666/4068236077_0f349d35d7.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 484px; height: 500px;" src="http://farm3.static.flickr.com/2666/4068236077_0f349d35d7.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;8.&lt;/b&gt;Below is the Physical diagram of the alias Fact_W_WRKFC_EVT_MONTH_F_Snapshot_Period_Ago joining with the Time Dimensions.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2652/4068193577_5dcc8a6256_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 531px; height: 266px;" src="http://farm3.static.flickr.com/2652/4068193577_5dcc8a6256_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;9.&lt;/b&gt;Below is the expression definition used in the join criteria . Note that YEAR_AGO_WID,QUARTER_AGO_WID,MONTH_AGO_WID and DAY_AGO_WID are used to join with the Time Dimensions.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2719/4068193769_51d3e2a926.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 484px; height: 500px;" src="http://farm3.static.flickr.com/2719/4068193769_51d3e2a926.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;10.&lt;/b&gt;Let us now analyze the Data of the Time Dimension. As you can notice below the Data Model is in place which can be used to join and derive AGO measures.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2793/4069058782_01d8461d9f_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 606px; height: 1107px;" src="http://farm3.static.flickr.com/2793/4069058782_01d8461d9f_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;11.&lt;/b&gt;Similar approach can be followed during Oracle BI Application(OBIApps) Customization for deriving ago measures which are not present Out of the Box(OOTB).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995970560484630985-2839715614589114863?l=shivbharti.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shivbharti.blogspot.com/feeds/2839715614589114863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shivbharti.blogspot.com/2009/10/understanding-oracle-bi.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995970560484630985/posts/default/2839715614589114863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995970560484630985/posts/default/2839715614589114863'/><link rel='alternate' type='text/html' href='http://shivbharti.blogspot.com/2009/10/understanding-oracle-bi.html' title='Understanding Oracle BI Application(OBIApps) methodology of deriving AGO Measures'/><author><name>Name: Shiv Ratan Bharti</name><uri>http://www.blogger.com/profile/12717020472040363880</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-HluUl3YdqdI/Tkf0oZVbxlI/AAAAAAAABLY/nB5f1Ogq-xM/s220/Linkedin.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm3.static.flickr.com/2796/4068429150_1c2946493b_t.jpg' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995970560484630985.post-5595590331762301151</id><published>2009-11-02T18:36:00.000-08:00</published><updated>2009-11-02T21:37:43.266-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><category scheme='http://www.blogger.com/atom/ns#' term='OBIApps Customization'/><title type='text'>Configuring OBIEE  Proxy(Act As) Functionality</title><content type='html'>As an OBIEE Developer we always want to be able to login as the Business Users in order to validate the security development. This can be done without the need to know the Business user's logon credentials by simply configuring the 'Act As' feature in OBIEE.&lt;br /&gt;&lt;b&gt;&lt;u&gt;Below are the steps involved in enabling this feature.&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;1.&lt;/b&gt;The Script below will create a Proxy table and insert three records so that the developer 'shiv' can login(proxy) as 'business_user1' and 'business_user2' and validate the security requirement is as expected.Also the 'Administrator' can proxy the user 'shiv'.&lt;br /&gt;&lt;p&gt;&lt;code&gt;&lt;br /&gt;CREATE TABLE OBIEE_ACT_AS_USERS &lt;br /&gt;      (PROXY_ID  VARCHAR2(50), &lt;br /&gt;       TARGET_ID VARCHAR2(50),&lt;br /&gt;       PROXY_LEVEL VARCHAR2(50));&lt;br /&gt;INSERT INTO OBIEE_ACT_AS_USERS(PROXY_ID,TARGET_ID,PROXY_LEVEL) VALUES('Administrator','shiv','full');&lt;br /&gt;INSERT INTO OBIEE_ACT_AS_USERS(PROXY_ID,TARGET_ID,PROXY_LEVEL) VALUES('shiv','business_user1','full');&lt;br /&gt;INSERT INTO OBIEE_ACT_AS_USERS(PROXY_ID,TARGET_ID,PROXY_LEVEL) VALUES('shiv','business_user2','full');&lt;br /&gt;COMMIT;&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2757/4071104464_59ba6010f2_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 312px; height: 150px;" src="http://farm3.static.flickr.com/2757/4071104464_59ba6010f2_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;2.&lt;/b&gt;Import the table &lt;code&gt;OBIEE_ACT_AS_USERS&lt;/code&gt; into the Physical Layer and Name the Database and Connection Pool as &lt;code&gt;Act_As_Users , CP_Act_As_Users&lt;/code&gt;.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2698/4070367737_4f304a2fe3_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 295px; height: 154px;" src="http://farm3.static.flickr.com/2698/4070367737_4f304a2fe3_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;3.&lt;/b&gt; We now need to create three Session Initialization Blocks Set_RUNAS(Variable:RUNAS),ProxyLevel(Variable:PROXYLEVEL) and ProxyBlock(Variable:PROXY).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;4.&lt;/b&gt;Initialization Block:Set_RUNAS&lt;br /&gt;Default Initialization String:&lt;br /&gt;&lt;code&gt;Select 'dummy' from dual&lt;/code&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2466/4071159786_de99bf95f1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 413px; height: 500px;" src="http://farm3.static.flickr.com/2466/4071159786_de99bf95f1.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2676/4070398961_3d880c9f43.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 472px; height: 433px;" src="http://farm3.static.flickr.com/2676/4070398961_3d880c9f43.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;5.&lt;/b&gt;Initialization Block:ProxyBlock&lt;br /&gt;Default Initialization String:&lt;br /&gt;&lt;code&gt;Seleselect target_id from obiee_act_as_users where 'VALUEOF(NQ_SESSION.RUNAS)'=target_id and ':USER'=proxy_Id&lt;/code&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2511/4071173932_41487e92ce.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 413px; height: 500px;" src="http://farm3.static.flickr.com/2511/4071173932_41487e92ce.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2656/4071173986_36b0ed838e.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 475px; height: 430px;" src="http://farm3.static.flickr.com/2656/4071173986_36b0ed838e.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;6.&lt;/b&gt;Initialization Block:ProxyLevel&lt;br /&gt;Default Initialization String:&lt;br /&gt;&lt;code&gt;select proxy_level from obiee_act_as_users where 'VALUEOF(NQ_SESSION.RUNAS)'=target_id and ':USER'=proxy_Id&lt;/code&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2442/4071188156_166d96a5b6.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 414px; height: 500px;" src="http://farm3.static.flickr.com/2442/4071188156_166d96a5b6.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2531/4071188206_99edd3bab5.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 474px; height: 428px;" src="http://farm3.static.flickr.com/2531/4071188206_99edd3bab5.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;7.&lt;/b&gt;Navigate to /OracleBIData/web/config/ and modify the file instanceconfig.xml to add the below tag before the &amp;lt;/ServerInstance&amp;gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&amp;lt;LogonParam&amp;gt;&lt;br /&gt;&amp;lt;TemplateMessageName&amp;gt;Act_As_Logon_Template&amp;lt;/TemplateMessageName&amp;gt;&lt;br /&gt;&amp;lt;MaxValues&amp;gt;100&amp;lt;/MaxValues&amp;gt;&lt;br /&gt;&amp;lt;/LogonParam&amp;gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;8.&lt;/b&gt;Navigate to /OracleBI/web/msgdb/customMessages/ and create a new XML file Act_As_Logon_Template.xml containing the below script.&lt;br /&gt;&lt;p&gt;&lt;code&gt;&amp;lt;?xml  version="1.0" encoding="utf-8" ?&amp;gt;&lt;br /&gt;&amp;lt;WebMessageTables xmlns:sawm="com.siebel.analytics.web.messageSystem"&amp;gt;&lt;br /&gt;&amp;lt;WebMessageTable system="SecurityTemplates" table="Messages"&amp;gt;&lt;br /&gt;&amp;lt;WebMessage name="Act_As_Logon_Template"&amp;gt;&lt;br /&gt;&amp;lt;XML&amp;gt;&lt;br /&gt;&amp;lt;logonParam name="RUNAS"&amp;gt;&lt;br /&gt;&amp;lt;getValues&amp;gt;EXECUTE PHYSICAL CONNECTION POOL Act_As_Users.CP_Act_As_Users select target_Id from OBIEE_ACT_AS_USERS where proxy_Id='@{USERID}'&amp;lt;/getValues&amp;gt;&lt;br /&gt;&amp;lt;verifyValue&amp;gt;EXECUTE PHYSICAL CONNECTION POOL Act_As_Users.CP_Act_As_Users select target_Id from OBIEE_ACT_AS_USERS where proxy_Id ='@{USERID}' and target_Id='@{VALUE}'&amp;lt;/verifyValue&amp;gt;&lt;br /&gt;&amp;lt;getDelegateUsers&amp;gt;EXECUTE PHYSICAL CONNECTION POOL&lt;br /&gt;Act_As_Users.CP_Act_As_Users select proxy_Id, proxy_Level from OBIEE_ACT_AS_USERS where target_Id ='@{USERID}'&amp;lt;/getDelegateUsers&amp;gt;&lt;br /&gt;&amp;lt;/logonParam&amp;gt;&lt;br /&gt;&amp;lt;/XML&amp;gt;&lt;br /&gt;&amp;lt;/WebMessage&amp;gt;&lt;br /&gt;&amp;lt;/WebMessageTable&amp;gt;&lt;br /&gt;&amp;lt;/WebMessageTables&amp;gt;&lt;/code&gt;&lt;/p&gt;&lt;br /&gt;&lt;b&gt;9.&lt;/b&gt; Within OBIEE Security add three new Users 'shiv','business_user1' and 'business_user2' as shown below.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2586/4071246522_d2c47f5c53_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 294px; height: 164px;" src="http://farm3.static.flickr.com/2586/4071246522_d2c47f5c53_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;10.&lt;/b&gt;Create a new Web group Act_As_Users_Group and add the user 'shiv' to this group.&lt;br /&gt;&lt;a href="http://farm4.static.flickr.com/3513/4070508263_4c2453b395.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 419px; height: 323px;" src="http://farm4.static.flickr.com/3513/4070508263_4c2453b395.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;11.&lt;/b&gt;Cotinue to be logged on as an Administrator and Navigate to Settings&amp;gtAdministration&amp;gtManage Privileges and add 'Act_As_Users_Group to Proxy .&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2566/4070508313_81e3d41ce2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px; height: 120px;" src="http://farm3.static.flickr.com/2566/4070508313_81e3d41ce2.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;12.&lt;/b&gt; Restart the &lt;b&gt;Oracle BI Server&lt;/b&gt; and &lt;b&gt;Oracle BI Presentation Server&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;13.&lt;/b&gt; Login in as 'shiv' and then navigate to settings&amp;gtAct as&amp;gtbusiness_user1&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2518/4071292870_050690616e.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 498px; height: 477px;" src="http://farm3.static.flickr.com/2518/4071292870_050690616e.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995970560484630985-5595590331762301151?l=shivbharti.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shivbharti.blogspot.com/feeds/5595590331762301151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shivbharti.blogspot.com/2009/11/configuring-obiee-proxyact-as.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995970560484630985/posts/default/5595590331762301151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995970560484630985/posts/default/5595590331762301151'/><link rel='alternate' type='text/html' href='http://shivbharti.blogspot.com/2009/11/configuring-obiee-proxyact-as.html' title='Configuring OBIEE  Proxy(Act As) Functionality'/><author><name>Name: Shiv Ratan Bharti</name><uri>http://www.blogger.com/profile/12717020472040363880</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-HluUl3YdqdI/Tkf0oZVbxlI/AAAAAAAABLY/nB5f1Ogq-xM/s220/Linkedin.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm3.static.flickr.com/2466/4071159786_de99bf95f1_t.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995970560484630985.post-4426979007955233027</id><published>2009-10-30T06:44:00.000-07:00</published><updated>2009-11-02T09:03:44.412-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><title type='text'>Ability to Enable/Disable DISTINCT and ORDER BY Clause in OBIEE at Report Level</title><content type='html'>There was a requirement from my customer to be able to Configure OBIEE at the report level  such that the 'DISTINCT' and 'ORDER BY ' clause added by the OBIEE generated query on dimensional attributes can be gotten rid of when desired .&lt;br /&gt;&lt;br /&gt;One of the Reason why we wanted to have this feature in our Dashboard was &lt;b&gt;PERFORMANCE&lt;/b&gt; . Some of the queries were taking awfully long time to fetch data because of 'DISTINCT' and 'ORDER BY ' clause.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Let us first have a look at what I am trying to achieve and then I will explain the configuration steps.&lt;/b&gt;&lt;br /&gt;The screenshot below shows a simple adhoc request sent to OBIEE by selecting COL1&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2465/4057687349_e40057acee_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 463px; height: 291px;" src="http://farm3.static.flickr.com/2465/4057687349_e40057acee_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Analyzing the Query generated by OBIEE shows that DISTINCT and ORDER BY clause was added.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2506/4057699671_9a30f7c70b_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 564px; height: 240px;" src="http://farm3.static.flickr.com/2506/4057699671_9a30f7c70b_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Now let us say if we would like to get rid of 'DISTINCT' and 'ORDER BY ' clause in this particular report query all that I am going to do is navigate to the Reports &lt;b&gt;Advanced Tab&lt;/b&gt; and change the Value of the Subject Area from  'A' to 'B' as you can see below .&lt;br /&gt;&lt;a href="http://farm4.static.flickr.com/3523/4058456932_bc7104f93b_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 484px; height: 280px;" src="http://farm4.static.flickr.com/3523/4058456932_bc7104f93b_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Let us re-run the same report and analyze the query . As you can notice below the 'DISTINCT' and 'ORDER BY ' clause has been removed for this particular query .&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2641/4058465308_c6cb8cd37e_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 547px; height: 394px;" src="http://farm3.static.flickr.com/2641/4058465308_c6cb8cd37e_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;Let us now look into the steps to achieve this &lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;1.&lt;/b&gt;Within the OBIEE &lt;b&gt;Physical Layer&gt;Database Features&lt;/b&gt; by default the value of 'DISTINCT_SUPPORTED ' is checked .&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2661/4058515386_3278a74599_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 598px; height: 132px;" src="http://farm3.static.flickr.com/2661/4058515386_3278a74599_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;2.&lt;/b&gt;Unchecking 'DISTINCT_SUPPORTED' feature will ensure that all the queries that uses the Connection Pool defined within this Database to remove 'DISTINCT' and 'ORDER_BY' clause . But the requirement is to be able to change for any selected report .&lt;br /&gt;&lt;b&gt;3.&lt;/b&gt;So I Copied all the three layers of the Metadata within the existing RPD as you can see below.The Only difference between the two are that 'DISTINCT_SUPPORTED' feature in one(B) has been turned off and they are named differently in all the three layers as you can see below.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2538/4057809421_e26c8834dd_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 681px; height: 286px;" src="http://farm3.static.flickr.com/2538/4057809421_e26c8834dd_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;4.&lt;/b&gt;To Summarize the steps . For the Subject area within which you want to be able to Enable/Disable the addition of 'DISTINCT' and 'ORDER BY ' clause .&lt;br /&gt;  &lt;b&gt;i.&lt;/b&gt;Append all the three layers to the existing RPD with a different name.&lt;br /&gt;  &lt;b&gt;ii.&lt;/b&gt;Uncheck the 'DISTINCT_SUPPORTED' feature for one of the Physical Datbase connection.&lt;br /&gt;  &lt;b&gt;iii.&lt;/b&gt;Restart your Oracle BI Server .&lt;br /&gt;  &lt;b&gt;iv.&lt;/b&gt;Go to the Reports Advanced Tab and Change the Subject Area name to point to 'A' or 'B' in order to Enable/Disable the 'DISTINCT_SUPPORTED' feature for the Report.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995970560484630985-4426979007955233027?l=shivbharti.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shivbharti.blogspot.com/feeds/4426979007955233027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shivbharti.blogspot.com/2009/10/ability-to-disable-distinct-and-order.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995970560484630985/posts/default/4426979007955233027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995970560484630985/posts/default/4426979007955233027'/><link rel='alternate' type='text/html' href='http://shivbharti.blogspot.com/2009/10/ability-to-disable-distinct-and-order.html' title='Ability to Enable/Disable DISTINCT and ORDER BY Clause in OBIEE at Report Level'/><author><name>Name: Shiv Ratan Bharti</name><uri>http://www.blogger.com/profile/12717020472040363880</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-HluUl3YdqdI/Tkf0oZVbxlI/AAAAAAAABLY/nB5f1Ogq-xM/s220/Linkedin.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995970560484630985.post-2460023467266025952</id><published>2009-10-17T12:22:00.000-07:00</published><updated>2009-10-19T11:04:33.714-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><category scheme='http://www.blogger.com/atom/ns#' term='Infrastructure'/><title type='text'>Switching Report Data Source Name(DSN) or User Name from OBIEE Dashboards/Answers</title><content type='html'>One of My Customer had a requirement to come up with a design which would allow the OBIEE Admistrator to switch report Data source Name(DSN) from the Answers . Let us say  currently a report is coming from a DSN = ORCL now if the Administrator would like to change the source to a new DSN = ORCL2 the administrator should be able to do so from the OBIEE Answers. To give you a brief background behind this requirement , When we went live all the realtime(near realtime to be precise) reports were pointed to a data source which was planned to be refreshed nightly .Therefore  we wanted to be able to come up with a design where in we could easily point a report to the live production instance for selected reports if the Business users could justify the need for it to be realtime. &lt;br /&gt;&lt;br /&gt;We will first see what I am trying to achieve and then explain you the steps .&lt;br /&gt;The Below report is being sourced from a Data Source Name(DSN)= 'ORCL' .&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2517/4019557521_bdfce996b9_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 481px; height: 428px;" src="http://farm3.static.flickr.com/2517/4019557521_bdfce996b9_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Now if you would like to source the same report from a different Data Source let's Say 'ORCL2' we can do so by adding just one Prefix statment by going to the Reports&gt;Advance tab.&lt;br /&gt;&lt;b&gt;SET VARIABLE OLAP_DSN = 'ORCL2'&lt;/b&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2544/4020337044_84de7e874a_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 565px; height: 73px;" src="http://farm3.static.flickr.com/2544/4020337044_84de7e874a_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;After applying the above statment the Report now sources from a DSN=ORCL2 as you can see below .&lt;br /&gt;&lt;a href="http://farm4.static.flickr.com/3488/4020356458_41063f9866_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 452px; height: 403px;" src="http://farm4.static.flickr.com/3488/4020356458_41063f9866_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;Let us now look into the steps to achieve this &lt;/u&gt;&lt;/b&gt;&lt;br /&gt;1. I created three Different Data Sources and ran the script to create  two tables Department and Employees.You can download the script and the RPD from the link below.&lt;br /&gt;&lt;a href="http://rapidshare.com/files/295146241/Article2.zip.html" target="_blank"&gt;Download&lt;/a&gt; &lt;br /&gt;&lt;b&gt;ORCL&gt;DWH: Data Source(Database)=ORCL,Schema(User)=DWH&lt;br /&gt;ORCL&gt;DWH2:Data Source(Database)=ORCL,Schema(User)=DWH2&lt;br /&gt;ORCL2&gt;DWH:Data Source(Database)=ORCL2,Schema(User)=DWH&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Make sure that you keep the Same Password for all the three different schemas above.&lt;br /&gt;2. As you can see in the RPD I just imported the two Tables established the Join in the Physical Layer and Dragged/Dropped the Folder all the way to the Presentation Layer.Then I set the Aggregation as Sum For Employees&gt;Salary.&lt;br /&gt;3.We then need to create a Session Initialization Block as below with two variables.&lt;br /&gt;&lt;b&gt;SELECT 'ORCL'  OLAP_DSN , 'DWH'  OLAP_USER  FROM DUAL&lt;/b&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2538/4019699171_eca8f06302.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px; height: 348px;" src="http://farm3.static.flickr.com/2538/4019699171_eca8f06302.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;4.Variable OLAP_DSN . Make sure that 'Enable any user to set the value' is checked.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2707/4020479878_c1408e3758.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 343px; height: 374px;" src="http://farm3.static.flickr.com/2707/4020479878_c1408e3758.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;5.Variable OLAP_USER.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2758/4019718825_a3647804d0.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 344px; height: 383px;" src="http://farm3.static.flickr.com/2758/4019718825_a3647804d0.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;6.Now let us Modify the Connection Pool to use the Session Variables.&lt;br /&gt;&lt;b&gt;VALUEOF(NQ_SESSION.OLAP_DSN)&lt;/b&gt;&lt;br /&gt;&lt;b&gt;VALUEOF(NQ_SESSION.OLAP_USER)&lt;/b&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2422/4019734379_232ab8c1d0.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 466px; height: 500px;" src="http://farm3.static.flickr.com/2422/4019734379_232ab8c1d0.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;7.&lt;/b&gt; Let us now create three Reports.&lt;br /&gt;&lt;B&gt;Report1_ORCL_DWH&lt;/B&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2552/4020580654_49afe81918_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 182px; height: 320px;" src="http://farm3.static.flickr.com/2552/4020580654_49afe81918_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;B&gt;Report2_ORCL_DWH2&lt;/B&gt;&lt;br /&gt;Go to the Advanced Tab&gt;Prefix and add the below script&lt;br /&gt;&lt;b&gt;SET VARIABLE OLAP_USER = 'DWH2';&lt;/b&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2634/4020580702_829510769f_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 313px; height: 442px;" src="http://farm3.static.flickr.com/2634/4020580702_829510769f_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;B&gt;Report3_ORCL2_DWH&lt;/B&gt;&lt;br /&gt;Go to the Advanced Tab&gt;Prefix and add the below script&lt;br /&gt;&lt;b&gt;SET VARIABLE OLAP_DSN = 'ORCL2';&lt;/b&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2445/4020580754_25244d9636_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 308px; height: 437px;" src="http://farm3.static.flickr.com/2445/4020580754_25244d9636_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;7.As you can see below the reports are coming from three different Data Sources in a Single Dashboard Page.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2601/4020597148_9b393c8155_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 737px; height: 337px;" src="http://farm3.static.flickr.com/2601/4020597148_9b393c8155_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;8. The Administrator can now Navigate to Administration&gt;Manage Privileges&gt;Answers:Access Advanced Tab and grant privileges to the group who is allowed to add the script in the Reports Advanced Tab.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2544/4020444161_d1e717bc5f_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 632px; height: 199px;" src="http://farm3.static.flickr.com/2544/4020444161_d1e717bc5f_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995970560484630985-2460023467266025952?l=shivbharti.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shivbharti.blogspot.com/feeds/2460023467266025952/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shivbharti.blogspot.com/2009/10/switching-report-data-source-namedsn-or.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995970560484630985/posts/default/2460023467266025952'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995970560484630985/posts/default/2460023467266025952'/><link rel='alternate' type='text/html' href='http://shivbharti.blogspot.com/2009/10/switching-report-data-source-namedsn-or.html' title='Switching Report Data Source Name(DSN) or User Name from OBIEE Dashboards/Answers'/><author><name>Name: Shiv Ratan Bharti</name><uri>http://www.blogger.com/profile/12717020472040363880</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-HluUl3YdqdI/Tkf0oZVbxlI/AAAAAAAABLY/nB5f1Ogq-xM/s220/Linkedin.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm3.static.flickr.com/2538/4019699171_eca8f06302_t.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995970560484630985.post-8247764473034316395</id><published>2009-10-12T15:47:00.000-07:00</published><updated>2009-10-19T07:06:51.396-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><category scheme='http://www.blogger.com/atom/ns#' term='Infrastructure'/><title type='text'>How to host Multiple RPD and Multiple Presentation Services in OBIEE within the Same Windows Box</title><content type='html'>&lt;b&gt;Article Summary:&lt;/b&gt; Host Multiple RPD/Presentation Services in OBIEE within the Same windows box i.e setup OBIEE Development/QA instance in the same machine .&lt;br /&gt;&lt;br /&gt;1.Navigate to Oracle Business Intelligence&gt;System Management&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="http://farm3.static.flickr.com/2547/4008947879_023bfcc7ac_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 660px; DISPLAY: block; HEIGHT: 391px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2547/4008947879_023bfcc7ac_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. Give th 'oc4jadmin' password . This is the password that you give while installing OBIEE , In this case I gave the password as 'oc4jadmin'.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://farm4.static.flickr.com/3513/4009729278_62789754a1_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 626px; DISPLAY: block; HEIGHT: 285px; CURSOR: hand" border="0" alt="" src="http://farm4.static.flickr.com/3513/4009729278_62789754a1_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;3. Once you are logged in Navigate to Applications Tab and Click on Deploy.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://farm4.static.flickr.com/3510/4008996517_075d3f0ecf.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 500px; DISPLAY: block; HEIGHT: 296px; CURSOR: hand" border="0" alt="" src="http://farm4.static.flickr.com/3510/4008996517_075d3f0ecf.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. Now browse to the arhive location &gt;\OracleBI\Web\analytics.war . Leave other default settings and click on next.&lt;br /&gt;&lt;a href="http://farm4.static.flickr.com/3504/4009013401_645dfed76a_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 756px; DISPLAY: block; HEIGHT: 437px; CURSOR: hand" border="0" alt="" src="http://farm4.static.flickr.com/3504/4009013401_645dfed76a_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5 . You should see the below screen.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2571/4009793680_331dc6bda3_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 782px; DISPLAY: block; HEIGHT: 314px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2571/4009793680_331dc6bda3_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;6 .Set the following values&lt;br /&gt;Application Name: analytics2&lt;br /&gt;Context Root: analytics2 and then click on Next&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2602/4009793748_ed20724c83_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 873px; DISPLAY: block; HEIGHT: 404px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2602/4009793748_ed20724c83_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;7. Click on Deploy.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2535/4009793888_7b48afbd37_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 899px; DISPLAY: block; HEIGHT: 412px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2535/4009793888_7b48afbd37_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;8. You should see the deployment starting as below.&lt;br /&gt;&lt;a href="http://farm4.static.flickr.com/3484/4009027513_619f7a51b3_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 825px; DISPLAY: block; HEIGHT: 387px; CURSOR: hand" border="0" alt="" src="http://farm4.static.flickr.com/3484/4009027513_619f7a51b3_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;9. Once the Deployment is completed the below screen will appear .&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2661/4009027613_cd675fd60f_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 689px; DISPLAY: block; HEIGHT: 462px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2661/4009027613_cd675fd60f_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;10.At this point the new presentation service analytics2 is available.&lt;br /&gt;http://machinename:9704/analytics/&lt;br /&gt;http://machinename:9704/analytics2/&lt;br /&gt;Both the Presentation Services are currently pointing to the same Dashboard/Webcat and instanceconfig file.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2422/4009044087_b2288d9987_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 684px; DISPLAY: block; HEIGHT: 338px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2422/4009044087_b2288d9987_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;11. The below screen shows that I am now connecting to the new Presentation Services 'analytics2'&lt;br /&gt;&lt;br /&gt;http://machinename:9704/analytics2/saw.dll?Dashboard&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2548/4009810942_5bb9b02a74_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 656px; DISPLAY: block; HEIGHT: 279px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2548/4009810942_5bb9b02a74_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;12.Now we will create a new catalog for the analytics2 presentation services.&lt;br /&gt;&gt;Copy the directory OracleBIData\web\catalog to OracleBIData\web\catalog_test. Now the new catalog-directory is ready to use and should be entered in the configuration file ( instanceconfig.xml).&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2591/4009044189_42aff0b737_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 738px; DISPLAY: block; HEIGHT: 261px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2591/4009044189_42aff0b737_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;13. Now we have created the new presentation service and the catalog for this service we have to change/create the configuration files. The default configuration file (instanceconfig.xml) tells us which listener-port, catalog and which presentation service will be used.&lt;br /&gt;14. Make a copy of the original instanceconfig.xml and name this file instanceconfig_9710.xml. Also make a second copy of the original file and name this file instanceconfig_9712.xml&lt;br /&gt;&lt;u&gt;Edit the instanceconfig_9710.xml file as below&lt;/u&gt;&lt;br /&gt;15.[ServerInstance]&lt;br /&gt;   [DSN]AnalyticsWeb1[DSN]&lt;br /&gt;[CatalogPath]C:/OracleBIData/webcatalog/samplesales [CatalogPath]&lt;br /&gt;&lt;br /&gt;&lt;u&gt; Edit the instanceconfig_9712.xml file as below&lt;/u&gt;&lt;br /&gt;   [ServerInstance]&lt;br /&gt;   [DSN]AnalyticsWeb2[DSN]&lt;br /&gt;   [Listener port="9712"]&lt;br /&gt;   [CatalogPath]C: OracleBIDatawebcatalog_testpaint[CatalogPath]&lt;br /&gt;&lt;br /&gt;16. Navigate to C:\OracleBI\oc4j_bi\j2ee\home\applications\analytics2\analytics\WEB-INF&lt;br /&gt; And edit the file web.xml and modify the port number to 9712.&lt;br /&gt; [param-name]oracle.bi.presentation.sawserver.Port[param-name]&lt;br /&gt;   [param-value]9712[param-value]&lt;br /&gt;&lt;br /&gt;17. Create two  batch files  OBIEE1.bat and OBIEE2.bat  &lt;br /&gt;OBIEE1.bat =  sawserver.exe -c C:\OBI2\OracleBIData\web\config\instanceconfig_9710.xml&lt;br /&gt;&lt;br /&gt;18. OBIEE2.bat = sawserver.exe -c C:\OBI2\OracleBIData\web\config\instanceconfig_9712.xml&lt;br /&gt;19. Modify the Config file to host two host two different RPD C:\OracleBI\server\Config and Edit the file NQSConfig.INI&lt;br /&gt;         [ REPOSITORY ]&lt;br /&gt;         Star = samplesales.rpd,DEFAULT;&lt;br /&gt;         Star2 = paint.rpd ;&lt;br /&gt;&lt;br /&gt;20. Create two ODBC connections &lt;br /&gt;    AnalyticsWeb1&lt;br /&gt;&lt;/p&gt;&lt;a href="http://farm3.static.flickr.com/2435/4009044261_521abda684_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 501px; DISPLAY: block; HEIGHT: 385px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2435/4009044261_521abda684_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;21.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2541/4009044317_72726c0ecf_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 505px; DISPLAY: block; HEIGHT: 386px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2541/4009044317_72726c0ecf_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;22.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2636/4009825558_d576b3267b_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 505px; DISPLAY: block; HEIGHT: 386px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2636/4009825558_d576b3267b_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;23.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2569/4009825660_0440aa462d_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 503px; DISPLAY: block; HEIGHT: 383px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2569/4009825660_0440aa462d_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;24. AnalyticsWeb2&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2548/4009825606_f58c71ee2a_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 500px; DISPLAY: block; HEIGHT: 382px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2548/4009825606_f58c71ee2a_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;25.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2471/4009825718_c48e1cffb9_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 509px; DISPLAY: block; HEIGHT: 389px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2471/4009825718_c48e1cffb9_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;26.-&gt;Restart the OBIEE Server .&lt;br /&gt;   -&gt;Stop the OBIEE presentation Services.&lt;br /&gt;   -&gt;Click on both the batch files . The two OBIEE Presentation services will have their respective Webcatalog and their Respective RPD all hosted in the Same Windows Box .&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2563/4009058639_058b95249c_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 725px; DISPLAY: block; HEIGHT: 445px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2563/4009058639_058b95249c_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;27.&lt;br /&gt;&lt;a href="http://farm4.static.flickr.com/3520/4009074261_9739dce55b_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 566px; DISPLAY: block; HEIGHT: 297px; CURSOR: hand" border="0" alt="" src="http://farm4.static.flickr.com/3520/4009074261_9739dce55b_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;28.&lt;br /&gt;&lt;a href="http://farm4.static.flickr.com/3525/4009074411_ff965fbb6a_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 691px; DISPLAY: block; HEIGHT: 366px; CURSOR: hand" border="0" alt="" src="http://farm4.static.flickr.com/3525/4009074411_ff965fbb6a_o.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;29.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2570/4009841642_2c3e536cb8_o.jpg"&gt;&lt;img style="TEXT-ALIGN: center; MARGIN: 0px auto 10px; WIDTH: 568px; DISPLAY: block; HEIGHT: 292px; CURSOR: hand" border="0" alt="" src="http://farm3.static.flickr.com/2570/4009841642_2c3e536cb8_o.jpg" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995970560484630985-8247764473034316395?l=shivbharti.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shivbharti.blogspot.com/feeds/8247764473034316395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shivbharti.blogspot.com/2009/10/oracle-bi-applicationobiee-consultant.html#comment-form' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995970560484630985/posts/default/8247764473034316395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995970560484630985/posts/default/8247764473034316395'/><link rel='alternate' type='text/html' href='http://shivbharti.blogspot.com/2009/10/oracle-bi-applicationobiee-consultant.html' title='How to host Multiple RPD and Multiple Presentation Services in OBIEE within the Same Windows Box'/><author><name>Name: Shiv Ratan Bharti</name><uri>http://www.blogger.com/profile/12717020472040363880</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-HluUl3YdqdI/Tkf0oZVbxlI/AAAAAAAABLY/nB5f1Ogq-xM/s220/Linkedin.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm4.static.flickr.com/3510/4008996517_075d3f0ecf_t.jpg' height='72' width='72'/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6995970560484630985.post-4573078422260746096</id><published>2009-10-10T19:50:00.000-07:00</published><updated>2009-10-18T18:10:57.333-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OBIEE'/><category scheme='http://www.blogger.com/atom/ns#' term='OBIAPPS'/><title type='text'>Setting Up OBIEE Metadata Dictionary</title><content type='html'>&lt;b&gt;1.&lt;/b&gt;Open the RPD&gt;Tools&gt;Utilities&gt;Generate Metadata Dictionary&gt;Execute.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2504/4020535113_0035157b9c.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px; height: 295px;" src="http://farm3.static.flickr.com/2504/4020535113_0035157b9c.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;2.&lt;/b&gt;Browse to a location where you would like to save the&lt;br /&gt;metadata dictionary.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2790/4021294926_135a2000be_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 545px; height: 146px;" src="http://farm3.static.flickr.com/2790/4021294926_135a2000be_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;3.&lt;/b&gt;You will see a message informing you that the metadata&lt;br /&gt;dictionary has been succesfully created .&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2774/4020535263_6dde62a71a.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px; height: 317px;" src="http://farm3.static.flickr.com/2774/4020535263_6dde62a71a.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;4.&lt;/b&gt;Now we need to tell the presentation server where to find the&lt;br /&gt;dictionary. Navigate to OracleBIData\Web\Config and open the&lt;br /&gt;file 'instanceconfig.xml'&lt;br /&gt;Add&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2568/4020568457_d533000ed4.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px; height: 97px;" src="http://farm3.static.flickr.com/2568/4020568457_d533000ed4.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://farm4.static.flickr.com/3500/4020535389_5356f73b91.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px; height: 212px;" src="http://farm4.static.flickr.com/3500/4020535389_5356f73b91.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;5.&lt;/b&gt;Navigate to C:\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics and&lt;br /&gt;create a folder 'dictionary' and copy and paste the metadata dictionary folder 'OracleBIAnalyticsApps' inside this folder.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2724/4020535453_f80c2300b4.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px; height: 150px;" src="http://farm3.static.flickr.com/2724/4020535453_f80c2300b4.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;6.&lt;/b&gt;Restart the following&lt;br /&gt;Oracle BI Server&lt;br /&gt;Oracle BI Presentation Services&lt;br /&gt;Oracle BI Java Host&lt;br /&gt;&lt;b&gt;7.&lt;/b&gt; When you scroll by any column you should be able to see the&lt;br /&gt;definition of the column. You can also click on the green icon to&lt;br /&gt;see futher details specific to that column.&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2570/4020552469_88a8e704b5_o.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 535px; height: 367px;" src="http://farm3.static.flickr.com/2570/4020552469_88a8e704b5_o.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://farm3.static.flickr.com/2801/4021312284_c1545b34f8.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 500px; height: 373px;" src="http://farm3.static.flickr.com/2801/4021312284_c1545b34f8.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6995970560484630985-4573078422260746096?l=shivbharti.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://shivbharti.blogspot.com/feeds/4573078422260746096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://shivbharti.blogspot.com/2009/10/setting-up-obiee-metadata-dictionary.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6995970560484630985/posts/default/4573078422260746096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6995970560484630985/posts/default/4573078422260746096'/><link rel='alternate' type='text/html' href='http://shivbharti.blogspot.com/2009/10/setting-up-obiee-metadata-dictionary.html' title='Setting Up OBIEE Metadata Dictionary'/><author><name>Name: Shiv Ratan Bharti</name><uri>http://www.blogger.com/profile/12717020472040363880</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://2.bp.blogspot.com/-HluUl3YdqdI/Tkf0oZVbxlI/AAAAAAAABLY/nB5f1Ogq-xM/s220/Linkedin.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://farm3.static.flickr.com/2504/4020535113_0035157b9c_t.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
