Query on OBIEE 11g Lookup feature
Hi All,
I am trying to create a dense lookup.
Fact table has data at 4 levels. [Grain]
Plant,OU,BU,BS
Plant will have data for ou, bu and bs
OU will have data for BU and BS and like wise for BU and BS. All higher level hierarchies are populated.
All these are id fields.
I want to populate description for these from org master.
I would not be able to join org master as plant id is the lowest level there and that is the only way I could join. Else, I would have to create 4 dimensions, if that is an option. Instead I thought of going for lookup feature in 11g. Sparse as I wanted to populate a base value as 'desc not found' in case desc unavailable.
In answers, I created prompt for these 4 hierarchies and added these descriptions to the report. When I filter it with valid values it works. When I choose, desc not found it brings me all the valid records with 'desc not found'.
For example, for customer 123, there are 2 entries in fact.
Fact:
Customer plant ou bu bs grain
123 x y z a plant
1234 x1 y1 z1 b plant
Dim:
Plant_id plant_desc ou_id ou_desc bu_id bu_desc bs_id bs_desc
x alpha y beta z gamma a theeta
x1 alpha1 y1 null z1 gamma1 a1 theeta1
When I run the report, I expect to get 'ou desc not found' for x1 level for ou desc and it works as expected. It returns all valid records along with 'ou desc not found'.
But, as I am using this lookup fields in prompts too, it gets populated with 'ou desc not found' for OU prompt, 'plant desc not found' for plant prompt and so on.
When I choose this, i expect to get only the record for customer 1234 which points to OU y1. But it populates the report like this,
With no prompts:
Customer ou_desc
123 beta
1234 ou desc not found
With prompt on 123 as beta:
Customer ou_desc
123 beta
With prompt as 'ou desc not found'
Customer ou_desc
123 ou desc not found
1234 ou desc not found
Could you please help me understand this behaviour.
Also, why is 'OU Desc not found' getting populated in prompt value when there the dimension has all descriptions for all ids.
Plant_id plant_desc ou_id ou_desc bu_id bu_desc bs_id bs_desc
x alpha y beta z gamma a theeta
x1 alpha1 y1 beta1l z1 gamma1 a1 theeta1
Edited by: user9128220 on Jan 31, 2013 2:23 AM
Got this now ! double column feature !!
http://www.rittmanmead.com/2010/08/oracle-bi-ee-11g-handling-double-columns-iddescription-interoperability/
Thx
Similar Messages
-
Hi,
What are all the newly added features in OBIEE 11g when compared to OBIEE 10g.
Thanks,Hi,
Go through these...http://www.rittmanmead.com/2010/08/
http://www.rittmanmead.com/2010/07/08/obiee-11gr1-new-user-interface-home-page-and-unified-framework/
http://nerdsofobiee.wordpress.com/2010/07/08/obiee-11g-new-features-launch-event/
http://www.biconsultinggroup.com/images/VideoAlbum/BICG_White_Paper-OBIEE_11g_FAQs.pdf
Regards,
Srikanth -
Weird behaviour of OBIEE 11g hierarchy columns
Hi,
I'm facing this weird issue when i implement the OBIEE 11g new feature called hierarchy column.The issue is that the last value in the hierarchy is reporting
Example
Store Heir-achy
->Store Country
->Store City
->Store name
->Store Name
->Store name (And the level goes on and on).
I don't know why this weird thing is happening.Any help is appreciated.
Thanks,
Sunny.Thanks for the response, in regards to whether it is 1 or 2 Logical Facts, it is still the same behaviour. IN regards to the Logical Dimension, yes it is set with two LTS with the applicable content levels set. I even tried that as just 1 LTS doing the join through the General tab. Still the same behaviour with the drill-down. I am assuming it will always go through the full drill path regardless of what level the Fact you are hitting is at.
-
Does an evaluation-only install of OBIEE 11g require a database?
I wanted to set up OBIEE 11g on my laptop so that I could start to evaluate it. From numerous blogs, I was led to believe that I first needed to install a database (I installed Oracle 11g), run the RCU utility, and then install OBIEE 11g. I successfully performed these steps, installing everything in one VirtualBox VM. Performance is acceptable but the VM's VDI is 18 GB in size!
After the OBIEE installation, the OBIEE home page automatically launched in a browser. In the Dashboard dropdown there's a Sample Lite QuickStart dashboard. Clicking on that link displays a series of tabs, including a ReadMe tab that states: "You are looking at a OBIEE SampleApp Lite, a simplified version of the OBIEE 11g SampleApp. SampleApp Lite only includes very limited set of basic features examples and sources only from XML static datafiles. SampleApp Lite does not show most of the OBIEE 11g powerful features and capabilities."
IMO, this indicates I didn't necessarily need to install Oracle 11g as a requirement to install OBIEE 11g. Is that the case? If so, what are the steps to install OBIEE 11g without a database? Why do I ask? I need to create another OBIEE 11g VM for a co-worker to evaluate. I'm wondering if I can somehow skip installing the database this time and simply let them evaluate OBIEE 11g by just using the SampleApp Lite dashboard.Hi,
Installation of OBIEE 11g needs an RCU (and therefor a DB), even, as in your case, you're not using the DB for the SampleApp. Although installation needs an RCU, the RCU doesnt have to be on the same machine, so, while installing your 2nd machine, you can point to the RCU on the first machine. Doing this you don't have to install a seperate DB on the second machine.
Good luck!
PS. I think you can even remove the DB from your first machine afterwards, since I don't think it's being used in your case. But not sure about this, and never done it myself this way.. -
Essbase as a source in OBIEE 11g and using lookup to Relation database
Hello All,
We are trying to implement Essbase as primary source for our obiee 11g repository and using relational database as secondary source of data.
I was using a lookup functionality in repository to lookup value from one of the Essbase's Dimension's attribute to relational database, however, there is error when testing this in OBIEE Dashboards.
And tried to look this error in support.oracle and googled it but was not able to find anything on it.
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: 46008] Internal error: File server\Query\Src\SQLookupUtility.cpp, line 145. (HY000)
Have you had any such issue and how can we pass this issue?
I am trying to find if there are any quick resolution before going to oracle support.
TIA.
ParishIs Essbase 11.1.1.3 supported as a source for OBIEE 11g?From the certification matrix (http://www.oracle.com/technetwork/middleware/bi-enterprise-edition/bi-11gr1certmatrix-166168.xls) we can see that only Essbase 9.3.3+ and 11.1.2+ are supported, not 11.1.1.3
Paul -
Geospatial Feature in OBIEE 11G
Hi
Please provide a pointer for comprehensive information on Geospatial Feature in OBIEE 11G and its implementation.
Thanks.Hi,
Have a look at the SampleApp demo set. If you follow this sample installation you will have a basic start set and exploration of also the geo spatial part:
http://www.oracle.com/technetwork/middleware/bi-foundation/obiee-samples-167534.html
Regards -
OBIEE 11g : query log not found
Hi,
I am not able to see the query log in 11g answers manage session throwing error query log not found.
I am using obiee 11g. 11g admin client is installed in local machine and I upload the rpd through enterprise manager. But I can not able to open the rpd in online mode that's why cannot change the query log level=2 (as in obiee 10g) for seeing the query log in Answers. Usually after making changes in 11g rpd, I upload that in server via enterprise manager console.
Can anyone please tell me what should be correct option to see the query log and how I can open the rpd in online mode and how I can set the query log level in obiee 11g????
Please help.
Thanks
TitasHi,
Its known bug and it can be done by below methods,
Method1:
If you enabled loglevel for each users wise it may be override with below place also can you confirm both places.
enabled Tools-->Options-->Repository-->
System log level by default will be 0 just try to increase to 2 or 3 and save it.
Method1:
by each report wise enabling loglevel
try putting the below syntax in prefix section of advanced tab.
SET VARIABLE LOGLEVEL=2,DISABLE_CACHE_HIT=1;
It should generate the log with database sql as well.
Method 3:
Create Session variable(LOGLEVEL) with initblock
in your init block --> datasource place put it like below query
select 3 from IW_POSITION
Note:just point any existing physical table from u r RPD.
Then try to save it and test it.
Refer screen
http://bidevata.wordpress.com/2012/03/03/no-log-found-error-in-obiee-11g/
Thanks
Deva
Edited by: Devarasu on Oct 11, 2012 11:44 PM -
Use of lookup table in obiee 11g
Hi All,
I am working on OBIEE 11g RPD.
Under BMM layer, when select logical table and go to there properties, In general section we have lookup table check box.
what is use of that lookup table check box in obiee 11g.
Thanx and Regards
PrashantPlease go thru this blog...nice explanation on Look up tables - new functionality in 11g
http://www.rittmanmead.com/2010/08/oracle-bi-ee-11g-lookup-tables-sparse-and-dense-lookups/ -
Physical Query in OBIEE 10g vs OBIEE 11g
Hi Everyone,
We're in the middle of an OBIEE 10g to an OBIEE 11.1.1.6.4 upgrade and as part of our assembly testing we were planning on comparing the physical query generated for a report generated in obiee 10g vs the physical query for a report in obiee 11g.
After a couple reports we noticed that the query structure in 11g is completely different than the query structure in 10g. The reports still generated the same data in 10g vs 11g. So my question is:
1) is it worth while (or necessary) to do a physical query comparison for an obiee 10g to 11g upgrade? or is validating the front-end report data & drill down/interactions adequate?
2) what are some general reasons why a query generates differently in obiee 10g vs 11g?Pl post details of OS versions, exact database versions (to 4 digits) and init.ora parameters of the 10g and 11g databases. Have statistics been gathered after the upgrade ?
For posting tuning requests, pl see these threads
HOW TO: Post a SQL statement tuning request - template posting
When your query takes too long ...
Pl see if the SQL Performance Analyzer can help - MOS Doc 562899.1 (TESTING SQL PERFORMANCE IMPACT OF AN ORACLE 9i TO ORACLE DATABASE 10g RELEASE 2 UPGRADE WITH SQL PERFORMANCE ANALYZER)
HTH
Srini -
Location of query log files in OBIEE 11g (version 11.1.1.5)
Hi,
I wish to know the Location of query log files in OBIEE 11g (version 11.1.1.5)??Hi,
Log Files in OBIEE 11g
Login to the URL http://server.domain:7001/em and navigate to:
Farm_bifoundation_domain-> Business Intelligence-> coreapplications-> Dagnostics-> Log Messages
You will find the available files:
Presentation Services Log
Server Log
Scheduler Log
JavaHost Log
Cluster Controller Log
Action Services Log
Security Services Log
Administrator Services Log
However, you can also review them directly on the hard disk.
The log files for OBIEE components are under <OBIEE_HOME>/instances/instance1/diagnostics/logs.
Specific log files and their location is defined in the following table:
Log Location
Installation log <OBIEE_HOME>/logs
nqquery log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
nqserver log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
servername_NQSAdminTool log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
servername_NQSUDMLExec log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
servername_obieerpdmigrateutil log (Migration log) <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1
sawlog0 log (presentation) <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIPresentationServicesComponent/coreapplication_obips1
jh log (Java Host) <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIJavaHostComponent\coreapplication_obijh
webcatupgrade log (Web Catalog Upgrade) <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIPresentationServicesComponent/coreapplication_obips1
nqscheduler log (Agents) <OBIEE_HOME>/instances/instance1/diagnostics/logsOracleBISchedulerComponent/coreapplication_obisch1
nqcluster log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIClusterControllerComponent\coreapplication_obiccs1
ODBC log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OracleBIODBCComponent/coreapplication_obips1
opmn log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
debug log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
logquery log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
service log <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
opmn out <OBIEE_HOME>/instances/instance1/diagnostics/logs/OPMN/opmn
Upgrade Assistant log <OBIEE_HOME>Oracle_BI1/upgrade/logs
Regards
MuRam -
How to set up Query Logging in OBIEE 11g 11.1.1.6
Hi all,
I couldn't find the option for setting up the query logging for testing and debugging purpose. Could anyone plz help me in this ...
Regards,
ArunHi Arun,
For simplicity I'll direct you to a link http://obiee11gqna.blogspot.com.au/2011/04/obiee-11g-query-log-log-level.html
Richard -
Query execution process in OBIEE 11g
Hi all,
I am confused with Web logic server, enterprise manager server and other components of
Obiee 11g architecture with respect to query execution in Answers of Presentation services.
Please explain me in detail...from the login page i.e when a user logins
into the presentation services for query request. Explain how exactly the various
servers communicates starting from logging into presentation services (how exactly user authenticates),
then query execution (which servers communicates). I am confused with the flow of query process.
Regards
Chandra kanth.Gurus and Experts,
Please take your valuable time to answer my question.
regards
chandra kanth. -
Re: View physical query issued by Obiee 11g
Guys,
I want to view the physical query generated by the report in OBIEE 11g, but in the logs, i can only see these queries: (Just writing the first line to illustrate)
SELECT
0 s_0,
"Marketing Contact List"."- Account Address"."Billing Abode Name" s_1,
And this query:
RqList distinct
0 as c1 GB,
Account.Billing Abode Name as c2 GB,
Both these queries are NOT the physical ones.
I have the appropriate log level, and even set it manually from the front end, but I'm unable to view the physical query. Please help!A.Budd,
After running a report in OBIEE, click the Administration Link in the top right corner. New window appears and select "Manage Sessions". Look for the latest time executed that applies to the time you executed your report and click View Logs. Scroll almost to the bottom of the log.
What you are looking for is the generated logic that starts with "*With*"
WITH
SAWITH0 AS (select sum(T443244.AGING030) as c1,
sum(T443244.AGING6190) as c2,
sum(case when T443244.CURRENCYCODE = 'C
Copy the whole logic from WITH to the end of the logic (typically ends with Order By) (not the log) and paste it in your query tool. This is based on the physical layer.
Antexity -
Selection Steps greyed out for a Union Query - OBIEE 11g
Hello,
I did some research and could not find possible solution/explanation for the issue I am facing.
For one of the report which is based on Union of 3 queries in OBIEE 11g, I recently added a calculated item which now I would like to remove. The best way to achieve this was by removing respective step in selection steps.
However I could not see complete list of steps in this Union report and also cannot modify or remove the selection step for calculated item (2 below). Also Selection steps on task bar is by default greyed out
Below is what I see when I select selection steps
1. Start with all members
2. Then Add Average
Any ideas or workaround.
Thank you,
SaiRqList <<184070>> [for database 3023:147018:DEVFRC,57] /* FETCH FIRST 1000001 ROWS ONLY */
0 as c1 [for database 3023:147018,57],
D2.c1 as c2 [for database 3023:147018,57],
D1.c1 as c3 [for database 3023:147018,57]
Child Nodes (RqJoinSpec): <<184109>> [for database 3023:147018:DEVFRC,57]
RqJoinNode <<184107>> []
RqList <<184082>> [for database 3023:147018:DEVFRC,57] distinct
sum(FCT_LEDGER_STAT.N_VALUE) as c1 [for database 3023:147018,57]
Child Nodes (RqJoinSpec): <<184085>> [for database 3023:147018:DEVFRC,57]
RqJoinNode <<184084>> []
FCT_LEDGER_STAT T147426
) as D1
RqJoinNode <<184108>> []
RqList <<184088>> [for database 3023:147018:DEVFRC,57] distinct
DIM_FINANCIAL_ELEMENT.V_FINANCIAL_ELEM_NAME as c1 [for database 3023:147018,57]
Child Nodes (RqJoinSpec): <<184099>> [for database 3023:147018:DEVFRC,57]
RqJoinNode <<184098>> []
DIM_FINANCIAL_ELEMENT T147109
) as D2
OrderBy: c2 asc NULLS LAST [for database 3023:147018,57]
=========================================================
PHYSICAL
==================================================
WITH
SAWITH0 AS (select sum(T147426.N_VALUE) as c1
from
OFSAAATOMIC.FCT_LEDGER_STAT T147426),
SAWITH1 AS (select distinct T147109.V_FINANCIAL_ELEM_NAME as c1
from
OFSAAATOMIC.DIM_FINANCIAL_ELEMENT T147109)
select D1.c1 as c1, D1.c2 as c2, D1.c3 as c3 from ( select 0 as c1,
D2.c1 as c2,
D1.c1 as c3
from
SAWITH0 D1,
SAWITH1 D2
order by c2 ) D1 where rownum <= 1000001 -
There are two colums 1.No Of Arrivals 2.No.Of Departure
Now need to design if the 2.No.Of Departure is greater that the 1.No Of Arrivals corresponding cell will be highlighted.
How to do it in OBIEE 11G ? Please explain with detailed steps.Hi,
Please refer this thread.
Re: last_week_data
Or,
Create time dimension hierarchy and use time series function.
The above two methods will work.
Hope this help's
Thanks,
Satya
Maybe you are looking for
-
Adding existing music library to iTunes from an external drive
Hello - Just purchased my first Mac and have moved from a PC. I have about 200 Gigs of music saved on my external hard drive and would like to import my music library to itunes on my macbook pro without adding to the macbook internal memory. Can some
-
Passing Multiple Single Values from Sender Query to Receiver Query in RRI
Dear All. We have 2 - Bex Reports ZBEX_1 & ZBEX_2 1. In ZBEX_1 having the fileds data like the below. Account Doc. Number - Clearing Document --- Amount 12345 - 65432 --- 100 12346 - 54321
-
Submit program to send a smartform to the spool and obtain a PDF
Hi all, I wanna know if there is a way to submit (execute) a program that print a smartform for print this smartform to the spool and then obtain a PDF file from the spool order. I wanna do this because the program that allows to print the smartform
-
How do you increase the ppi of a graphic?
I have a piece that at 100% view the ppi is only 72, but needs to be 300 for me to print. Is there an easy way to increase it?
-
Preview of the photo for PSE 9 before printing it?
I can't find the dialog box for a preview "Seitenansicht" in PSE 9 as described in the German photoshop help, where is it??? My colleague is crying out loud now....because she is used to it from former versions of PSE.