Obiee 11g query

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

Similar Messages

  • 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
    Titas

    Hi,
    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

  • 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,
    Arun

    Hi 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

  • 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

  • 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,
    Sai

    RqList <<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

  • Error while using between operator with sql stmts in obiee 11g analytics

    Hi All,
    when I try to use between operator with two select queries in OBIEE 11g analytics, I'm getting the below error:
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Location: saw.views.evc.activate, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool.socketrpcserver, saw.threads
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27002] Near <select>: Syntax error [nQSError: 26012] . (HY000)
    can anyone help me out in resolving this issue.

    Hi All,
    Thank u all for ur replies, but I dint the exact solution for what I'm searching for.
    If I use the condition as
    "WHERE "Workforce Budget"."Used Budget Amount" BETWEEN MAX("Workforce Budget"."Total Eligible Salaries") AND MAX("Workforce Budget"."Published Worksheet Budget Amount"",
    all the data will be grouped with the two columns which I'm considering in the condition.
    my actual requirement with this query is to get the required date from a table to generate the report either as daily or weekly or monthly report. If I use repository variables, variables are not getting refreshed until I regenerate the server(which I should not do in my project). Hence I have created a table to hold weekly start and end dates and monthly start and end dates to pass the value to the actual report using between operator.
    please could anyone help me on this, my release date is fast approaching.

  • OBIEE 11g Analysis : Change Report edit link to go Criteria tab instead

    How to change the setting to have the "Edit" to go to criteria tab instead of Results (Compond view)?
    Many time we may need to change the filter from default setting and then run the report or if the filter is setup to be used from a dashboard (using "Prompted") option...then the report attmpts to run the report without values...
    And I have not checked to see if the server cancels the query to the database when the user navigates to the Critetia Page as there is no cancel link...(as it displayed in 10g...)
    FYI, We have just started using OBIEE 11g in a dev environment, we are in the process of configuring the new env to get ready for prod...
    Thanks
    Sundar

    Hi,
    By default, the Action request is sent to results tab. You can modify it by editing the dashboardeditor.js file found in /app/res/b_mozilla/dashboards folder.
    Steps:
    1) Open dashboardeditor.js file.
    2) Search for the function "DUIModifyReport".
    3) Inside the function you will find that ***"&Action=results&Path="****
    4) Change results to criteria. In other words, the changed code will look like
    ****"&Action=criteria&Path="*****
    5) Re-deploy the code and bounce the services.
    -- Remember, this will affect for entire dashboard, and for all users. ---
    If you want to avoid step (5), then manually copy the changed dashboardeditor.js to /user_projects/domains/BIfoundation/servers/bi_server1/tmp/_WL_user/analytics_11.1.1/$RANDOMFOLDERNAME$/war/res/b_mozilla/dashboards and bounce the services.
    Voila - now when you edit the analysis through dashboard, it will take you to the criteria tab, instead of results tab.
    Please award points, if it helps.
    Regards,
    Bharath

  • OBIEE 11g agents are failed to connect to Essbase

    OBIEE 11g agents are failed to connect to Essbase. We are using :USER & :PASSWORD (SSO) in connection pool setting to connect to Essbase.
    User account exists in both OBIEE and Essbase. OBIEE dashboards which are based on Essbase are working fine. Essbase variables in RPD are upto date.
    Only agents are failing and error says invalid credentials, but dashboard pages are running without any issue.
    OBIEE: 11.1.1.5 (BP4)
    Essbase: 11.1.2.1
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    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: 96002] Essbase Error: Login fails due to invalid login credentials (HY000)
    Essbase and OBIEE services are up and running.
    Any help will be appreciated.

    We finally implemented CSS Token option and ended up with this error. We are unable to connect to essbase with CSS Token option.
    We followed the Oracle document to implement this.
    [nQSError: 43119] Query Failed: EPMCSS-00301: Failed to authenticate user. Invalid credentials. Enter valid credentials. (HY000)
    We did update this property:
    JAVA_PROPERTIES="-Dplatform.home=${WL_HOME} -Dwls.home=${WLS_HOME} -Dweblogic.home=${WLS_HOME} -Didstore.identityAttribute=objectguid"
    Any help will be appreciated!

  • OBIEE 11g Unable to browse multiple value hierarchy for analysis.

    Hi All,
    We are using OBIEE 11g Value Hierarchy feature to display GL Segment Hierarchies.
    -     We have set the hierarchies to be Ragged and Skipped Levels in the RPD Business Model.
    -     We have dragged the hierarchies from Business Model to Presentation Layer.
    -     When selecting the hierarchies during Analysis, the first hierarchy that is browsed appears correctly. The next hierarchy when browsed just hangs.
    For example:
    Step 1: Browse Hierarchy1 (Block). The values show correctly.
    Step 2: Browse Hierarchy2 (Account). The hierarchy does not open with a blinking circle remaining forever.
    Alternatively;
    If we selected, Hierarchy 2(Account) first, the hierarchy shows correctly, but when selecting Hierarchy1 (Block) a blinking circle appears and remains for ever without opening the hierarchy.
    The nqquery.log shows correct result. My suspicion is that the issue is on the front end presentation services/javascript side.
    Is there any additional setup/configuration required to open multiple value hierarchies during analysis.
    Thanks and Regards,
    Sasi

    I have a pretty good guess at the hanging problem, unforntunitly i have no solutions yet.
    I having same type of issue, hangs when building filters on for 2nd or 3rd dim table.. I can see obiee fireing off the query to populate the dropdown by running
    select distinct on and joining to the fact table and dimensions that the users usually have selecte prior to start creatinng the filters.
    It is sort of like doing a intra dimension filter.. Sounds good but if user does not cut way down on number of fact rows by the time 2nd filtered column is selected the generated query to populate the drop down can run and run.
    OBI SE Once and discoverer dd not do this, at least not out of the box.

  • OBIEE 11g - Report Aggregate Function

    Hi Folks,
    I am facing one error in OBIEE 11g, saying that
    Error
    View Display Error
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    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: 22038] Function REPORT_AGGREGATE requires at least one measure column in its first argument. (HY000)
    SQL Issued: SELECT saw_0, saw_1, saw_2, saw_3, saw_4, saw_5, saw_6, saw_7, saw_8, saw_9, saw_10, saw_11, saw_12, saw_13, saw_14, saw_15, REPORT_AGGREGATE(saw_2 BY ), REPORT_AGGREGATE(saw_3 BY ), REPORT_AGGREGATE(saw_4 BY ), REPORT_AGGREGATE(saw_5 BY ), REPORT_AGGREGATE(saw_6 BY ), REPORT_AGGREGATE(saw_7 BY ), REPORT_AGGREGATE(saw_8 BY ), REPORT_AGGREGATE(saw_9 BY ), REPORT_AGGREGATE(saw_10 BY ), REPORT_AGGREGATE(saw_11 BY ), REPORT_AGGREGATE(saw_12 BY ), REPORT_AGGREGATE(saw_13 BY ), REPORT_AGGREGATE(saw_14 BY ), REPORT_AGGREGATE(saw_15 BY ) FROM ..............
    What is meant by REPORT_AGGREGATE funtion ?
    in my Project i am building reports by using Combine similar Request functionality..
    actually the same report is working fine under OBIEE 10g Environment, but when i migrated this it into OBIEE 11g its rasing the above error ?
    Help me out in this ..?
    Thanks in Advance
    Edited by: Siva Kumar Budagam on Sep 13, 2011 3:23 AM

    Here is fix for Bug.
    Patch Number: 12926133 for Windows 64 bit.
    "Even though the readme does not show it the fix for bug 12926133 includes the fix to bug 12391045."
    We tested and its works 100% for us.
    Thanks,
    Kiran.

  • OBIEE 11g Report UI not showing data

    Hi,
    On Obiee 11g Report, the query hit by the report at the backend shows results for all the columns but on UI only few of these columns show the data. From Query log, when I run the same query in the database I see all columns have data which is somehow not showing up on the UI end. What could be the problem? Can this be resolved or is it a bug in the OBIEE 11g?
    Regards
    VM

    Hi Vanaja M/Gurus,
    Is that your problem resolved?
    I'm facing same issue here.
    I was checking for solution/suggestions in blogs, but unfortunately i couldn't find much information in blogs too....
    Can you help me out to cross this hurdle, as this issue is in Production.

  • OBIEE 11g Report-When drilling down to lower level, totals are not matching

    Hi All,
    I am creating a report in Analytics 7.9.6.3 , OBIEE 11g - Let’s say Budget Cost/Actual Cost based on the Date Dimension
    Have selected the Fiscal Year Dim, Fact Budget Cost, Fact Actual Cost
    FY BCost ACost
    2011 100 120
    2012 150 140
    Total 250 260
    But here when I am drilling down from Year to Quarter and Period - The values are not matching with the totals....
    FY FY Qrt BCost ACost
    2011 2011 Q1 80 100
    2011 Q2 100 90
    2011 Q3 110 120
    2011 Q4 90 130
    Total 380 440
    Fiscal Year, Fiscal Quarter Budget Cost and Actual Cost are not returning correct results – When selecting cost's by fiscal year, or filtering on a specific fiscal year, the amount returned does not equal the fiscal year total;
    when I am drilling down to Quarter and Period Level the BCost & ACosts are bumping the Numbers as above and not matching with totals
    Any suggestions?

    Check out the query in both the times.Execute against database and try to sum the data for quarter/period and compare it with Year data.
    Just try to differentiate is it a report total that is getting wrong or the data in the database table itself is getting wrong stored.
    Mark as helpful if it helps.
    Regards,
    Veeresh Rayan

Maybe you are looking for

  • Terminal transparency and proper refreshing

    Hi. I am having some problems with finding a decent terminal program. I am using Fluxbox, and so I don't want any DE specific terminal programs. I have xterm by default, and have been playing with urxvt, aterm and mrxvt as well. I originally wanted a

  • Error generating pdf in WAD

    Hello Experts, When i am trying to generate pdf from WAD report it's giving "error generating pdf". I think it's response time problem. My WAD page contains 370 pages, how can i limit the size of the report. where is the option available? Thanks in a

  • Bootcamp drivers Windows 7 (64 bit)

    I had my mac replaced because of a screen defect... for some reason after installing windows 7 back on it I cant seem to get the boocamp drivers to work properly. The closest I got was having my keyboard lit all the time but no buttons were working..

  • Multi-cell printing: image going way off paper

    I'm trying to print 2, or ideally 6, 2" square pictures for a visa. Whether it's 2 up or 6 up, I can get the layout to look fine in LR, but when I print the images don't nearly fit on the paper. I've tried both "retain size" and "auto expand." I'm us

  • Output Issue with GTX 470

    Recently I changed my vodeo ard from ATI to GTX 470. After installing all updates every thing seemed fine excapt that when I applied "Freez Frame" effect and got output on DVD there was terrible shake on the clip where I applkied this effect. IT happ