Using Lexical Parameters in OBIEE 11g Publisher

Hello All,
I want to know if there is a provision to use lexical parameters to be used in 11g Publisher. I know we could do this in 10g Publisher with the use of data template and database package. This is a very useful functionality to dynamically deduce the SELECT and WHERE clauses based on the input parameters.
For what I have explored, this functionality seems to be missing in 11g.
Can anybody throw some light on this please?

Does anyone know about this please?

Similar Messages

  • How to use lexical parameters with Sql Server Stored Procedure?

    Hi,
    I'm developing a BI Publisher report on a sql server database. I need to execute a stored procedure to dynamically build the query by replacing the lexical parameters with the values of varaibles of the stored procedure. With Oracle stored procedures, I have used data template and had reference the varaiable in SP by prefixing it with '&'.
    It doesn't work if I try to do the same thing with SQL server. Is there anyone who has come across the similar situation? Please let me know if anyone has got any ideas...
    Thanks in Advance
    Rag

    TopLink currently doesn't support multiple ResultSets. Multiple ResultSets support is considered for a future release.

  • Data and Dashboard Security using ROLES Variable in OBIEE 11g

    Hi all,
    I'm currently using OBIEE 11g. I'm wondering how to implement the security for data and dashboard in the 11g.
    Below is the sample of how the security matrix requirement when I use the 10g version. In 10g, we usually use GROUP (for the data filter in RPD) and WEBGROUPS (for dashboard objects) variables in my initialization block to read from database. As we have 2 different variables, it is possible to control security separately for data and dashboard.
    GROUP | Country
    G1 | US
    G2 | FR
    G3 | UK
    WEBGROUPS | Dashboard
    WG1 | D1
    WG2 | D1
    WG3 | D1
    WG1 | D2
    WG2 | D2
    WG1 | D3
    WG3 | D3
    WG3 | D4
    Now, in 11g, the recommendation is to use ROLES variable (for application role). So, how would I apply the required security matrix above in 11g using just ROLES variable? Do I still create G1, G2, G3, WG1, WG2, and WG3 as application roles then only use G1-3 in the RPD to filter the data and only use WG1-3 in the analytics to serve as webgroups?
    Any advice on this? Thank you very much.

    "...Could you elaborate more?"
    I mean that role creation and user->role assignment will be managed outside of to the obiee interface - whether that's via the database, LDAP, fmw etc.
    Webgroup creation and assignment is managed within the obiee interface and I think that has a lot of benefits - generally you have people responsible for shared folders and dashboard creation, so having them responsible for webgroups and presentation permissions is preferable for me.
    "are you saying that I use the role G1-3 only in the RPD, while using the role WG1-3"
    Yes .. I'm assuming you have something like
    G1 | US
    G2 | FR
    G3 | UK
    WG1 | Finance
    WG2 | Marketing
    WG3 | Sales
    Which becomes
    R1 | US
    R2 | FR
    R3 | UK
    R4 | Finance
    R5 | Marketing
    R6 | Sales
    And John belongs to R1 and R4, Fred belongs to R2 and R4 etc. So you would set your data filters against R1-R3 and use R4-R6 like webgroups in the presentation services.
    Regards,
    Robert

  • Division calculation using different filters in OBIEE 11g

    Hello,
    I have a requirement where I want to calculate division of same column using different filters in one report.
    e.g. No. of Units (Where Active flag='A')/No. of units (Where Active flag='I').
    I am using OBIEE 11g.
    Thanks.

    Try this:
    ((case when Active flag='A' then No. of Units end)*1.0)/
    (case when Active flag='I' then No. of Units end)
    It would nice if you create a new metric based on physical expression using rpd. If possible try to create it so that you can have aggregation after the calculation.
    If helps pls mak as correct/helpful
    Edited by: Srini VEERAVALLI on Jan 8, 2013 11:56 AM

  • Obiee 11g Publisher Bursting Report error

    Hi
    I am using Obiee 11g (ver. 11.1.1.3.0) and trying to achieve report bursting. I have created Data model and Report. Report is showing result but once I schedule report by bursting to file,
    1. I am getting error (ORA-00923: FROM keyword not found where expected).
    2. where I can get bursting fail log?
    Its urgent.
    Bursting to file SQL Query as below: -
    SELECT     DEPT.DNAME as DNAME KEY, 'Standard' TEMPLATE,
    'RTF' TEMPLATE_FORMAT,
    'en-US' LOCALE,
    'PDF' OUTPUT_FORMAT,
    'FILE' DEL_CHANNEL,
    'E:\BIP' PARAMETER1,
    DEPT.DNAME || '.pdf' PARAMETER2
    FROM     SCOTT.DEPT DEPT

    Change your query to the following and then try it out; this should take care of the ORA error
    SELECT DEPT.DNAME KEY, 'Standard' TEMPLATE,
    'RTF' TEMPLATE_FORMAT,
    'en-US' LOCALE,
    'PDF' OUTPUT_FORMAT,
    'FILE' DEL_CHANNEL,
    'E:\BIP' PARAMETER1,
    DEPT.DNAME || '.pdf' PARAMETER2
    FROM SCOTT.DEPT DEPT
    Thanks,
    Bipuser

  • Issue passing dynamic paramters using GO URL in OBIEE 11g

    Hi All,
    I am trying to implement a GO URL and pass 6 dynamic paramters to the target dashboard page.
    The issue is that, When I navigate from the column which is having GO URL, It is just passing the first parameter among the 6 parameters.
    URL:
    '<a href=http://servername/analytics/
    saw.dll?GO&path=/shared/xxx/aa%20bb/report%20one
    &Action=Navigate&P0=6&P1=eq&P2="Fact%20-%20xxx".ID1&P3='||CAST("Dim - Abc"."One ID" AS CHAR)||'&P4=eq&P5="Fact%20-%20xxx".ID2&P6='||CAST("Dim - Abc"."Two ID" AS CHAR)||'&P7=lt&P8="Fact%20-%20xxx".DATE&P9='||CAST(TIMESTAMPADD(SQL_TSI_DAY,1,"Time"."Day") AS CHAR)||'&P10=eq&P11="Fact%20-%20xxx"."Three%20ID"&P12='||CAST("Dim - Abc"."Three ID" AS CHAR)||'&P13=ge&P14="Fact%20-%20xxx".DATE1&P15='||CAST(TIMESTAMPADD(SQL_TSI_DAY,1,"Time"."Day") AS CHAR)||'&P16=eq&P17="Time".Day&P18='||CAST("Time"."Day" AS CHAR)||'style="text-decoration:none;">'||"Dim - Abc.Name"||'<--/a>'
    When I try with actual values for all the 6 parameters, The parameters are being passed perfectly.
    Also I have tried passing each parameter individually in the same syntax as in the above URL and it is working fine.
    Also I have tried the new syntax of GO URL i.e.,
    '<a href=http://servername/analytics/
    saw.dll?GO&path=/shared/xxx/aa%20bb/report%20one
    &Action=Navigate&col1="Fact%20-%20xxx".ID1&val1='||CAST("Dim - Abc"."One ID" AS CHAR)||'&op1=eq&col2="Fact%20-%20xxx".ID2&val2='||CAST("Dim - Abc"."Two ID" AS CHAR)||'&op2=eq&col3="Fact%20-%20xxx".DATE&val3='||CAST(TIMESTAMPADD(SQL_TSI_DAY,1,"Time"."Day") AS CHAR)||'&op3=lt&col4="Fact%20-%20xxx"."Three%20ID"&val4='||CAST("Dim - Abc"."Three ID" AS CHAR)||'&op4=eq&col5="Fact%20-%20xxx".DATE1&val5='||CAST(TIMESTAMPADD(SQL_TSI_DAY,1,"Time"."Day") AS CHAR)||'&op5=ge&col6="Time".Day&val6='||CAST("Time"."Day" AS CHAR)||&op6=eq'style="text-decoration:none;">'||"Dim - Abc.Name"||'<--/a>'
    Even with this syntax, The issue is same that I am only able to pass the first filter.
    Anyone please help.
    Thanks in Advance.

    To avoid encoding problems use POST method. Here is js example for OBIEE 10g, but I bellieve you will find similar XML syntax in 11g.
    function getGoXML(P){
         var goXML = '<sawx:expr xmlns:sawx="com.siebel.analytics.web/expression/v1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="sawx:logical" op="and">';
         for (var i=0; i<P.length-1; i=i+2){
              goXML = goXML + '<sawx:expr xsi:type="sawx:comparison" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" op="equal">';          
              goXML = goXML + '<sawx:expr xsi:type="sawx:sqlExpression">' + P[i] + '</sawx:expr>';
              goXML = goXML + '<sawx:expr xsi:type="sawx:untypedLiteral">' + P[i+1] + '</sawx:expr>';
              goXML = goXML + '</sawx:expr>';          
         goXML = goXML + '</sawx:expr>';
         return goXML;
    function dashboardPageNav (navParams){     
         var tForm = saw.createForm("customNavForm");
         tForm.action = saw.commandToURL("Dashboard");
         saw.addHiddenInput(tForm, "PortalPath", navParams.portalPath);
         saw.addHiddenInput(tForm, "Page", navParams.portalPage);
         saw.addHiddenInput(tForm, "Action", "Navigate");
         saw.addHiddenInput(tForm, "StateAction", "NewPage");
         saw.addHiddenInput(tForm, "P1", "dashboard");
         saw.addHiddenInput(tForm, "P0", getGoXML(navParams.P));
         tForm.submit();
    dashboardPageNav({
         portalPath: '<portal path>',
         portalPage: '<page name>',
         P: new Array(                         
              '<param1 name>', '<param1 value>',
              '<param2 name>', '<param2 value>',
              '<param3 name>', '<param3 value>',
              '<param4 name>', '<param4 value>'
    });

  • Using presentation variable in OBIEE 11g

    Hi,
    Is is possible to use a prompt to filter data from two sections of a dashboard?
    My dashbaords contains two sections , each pointing to seperate reoport. Can I filter data in the two reports using parameter selected in one prompt?
    If not possible , the wht is the way to achieve this.
    Thanks and Regards
    Santosh

    Thanks Rondo,
    In our project we have e-Biz Oracle ERP application where actuals are captured. Customer is using a third pary tool called Neotix to buid RPD automatically based on Database (oracle) of this application.
    Nw we are building new application for planning and budgeting in Hyperion prodicut by oracle where Database is Essbase. I will be creating an RPD for budget/planning reports based on Essbase data source.
    For creating on report for Actual Vs Budget, I need to have both Actuals data from e-Biz and Budget data from Hyperion comming out of one RPD.
    So I want to merge those two RPDs and build by Actual vs Budget report based on the Business model from this merged RPD.
    I want to understand hw to build the buisness model in the merged RPD so that I can get the acutal and budget data together in the same report using Answers. I am using OBIE 11g.
    Please tell me wht should be my reporting strategy for achieving this. Can I create single business model for two dataa source which I will import in phyisical layer? How Do I join the two data sources in my RPD, in the business model? What are the challanges to do this kind of model in the merged RPD. ? Do u think there will be challanges to joing Essbabase members (since it is multidimensional cube ) with e-Biz data source in physical layer?
    If I build multiple subjects area (one for e-Biz datasouce and another for Essbase data souce) what modeling steps, I need to implement in presentation layer of the merged RPD?
    In answers how to I build report so that actual and budget data can be displayed together? Are there any technical challanges to implement such report in Answer? If yes, then what are the ulternative approaches?
    I came to know that if it is not possible to get both actual and budet data together in one report, then I should build a dashboard with two sections , and build two reports (one for actuals data and another for dudget data ) and then place one report in one section and another section in another section in the dashboard. Is it a good approach? Is there any better approach?
    I want to use one prompt to filter data for actuals and budget . eg. for year 2012, I want to dislpay Actuals as well as Budet values?
    Please provide your expert inputs...
    Thanks and Regards
    Santosh

  • Using Javascript libraries with OBIEE 11g

    Hi,
    I want to use javascript libraries like scriptaculous.js in OBIEE. I placed the libraries in the location {Middleware_Home}\Oracle_BI1\bifoundation\web\app\res\b_mozilla. But when I try to use the library I am getting the "Failed to load" error message. Is that the correct location for placing library files?
    Thanks,
    KK

    You need to add the .js file in two locations
    1. \MIDDLEWAREHOME\Oracle_BI1\bifoundation\web\app\res\b_mozilla
    2. \MIDDLEWAREHOME\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\b_mozilla
    Let me know if it works...

  • Using TOPN reports in OBIEE 11g

    Hi ,
    I am displaying TOP 4 products (dimension) with highest revenue (measure) in a bar chart . Used TOPN function in the revenue column . But, while displaying 4 bars , the top most product (ranked 1) bar is displayed with data but without any level.
    For example , there are 4 products - denim, lee cooper , levis and denim is top's the chart with 1,500 $ ...then I am getting a bar leveled 1 , among 4 bars with the value (1,500 $) but without level (i.e. denim) . Other bars are coming just fine (i.e. lee cooper - 1,200 $, levis - 800$ ) .
    Let me know if the problem statement is not clear enough .
    Thanks
    sayak

    So you are able to see labels for Lee Cooper and Levis but not for denim. This is strange.
    Check the conditional formatting for that column. May be there is some conditional formatting done for that column.
    Or remove the column from criteria and add it again.
    Hope this helps.

  • How to use CAST function in obiee 11g in rpd

    Hai,
    I am trying to use the cast fucntion in rpd in bmm layer for a new logical column that I have created and is giving me error compile message.
    Can any one please help me out or find out what is wrong in the function I am using.
    The expression I am trying to use is
    ( CAST ( "Chase Card Acquisition"."Fact Deposit"."Base Earn" as decimal(18,0) ) + "Chase Card Acquisition"."Fact Deposit"."Tot Bonus Earn" )

    Decimal is not a supported type in the logical layer. See:
    http://docs.oracle.com/cd/E21764_01/bi.1111/e10540/sqlref.htm#BIEMG559
    for supported types.
    If you are casting as Int then do not specify the precision ('cast x as int' NOT 'cast x as int(y,z)'). Regards,
    Robert

  • Customizing the Logo for xmlpserver in obiee 11g publisher.

    Hi Everyone,
    Can you guys suggest the steps to change the login logo for Publisher window?
    as per the oracle documentation I succeeded in Analytics UI customization.But this customization not reflecting in xmlpserver UI.
    Thanks
    Arvnd

    Hi Arvnd,
    The logos for BI Publisher are not in the same location then Answers and Dashboards.(s_oracle, sk_oracle)
    In your case the logo is:
    OracleBI\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\xdo\images\oracle.gif
    You can replace the image restart your application server and normaly you will see your new logo
    Regards
    Adil
    PS: Please don't forget to close the thread and assign points when your question is answered

  • Please Help to use lexical parameters

    HAI, PLEASE HELP ME..
    I CREATE ON REPORT QUERY IS
    SELECT FACILITY_ID,CODE,NAME FROM CUSTOMER
    &WHERE_CLAUSE
    MY AIM TO TO PASS VALUE FOR &WHERE_CLAUSE FROM FORM
    I CREATE ONE BUTTON AND WRITE
    declare
    repid report_object;
    v_rep varchar2(100);
    v_jobid varchar2(10);
    v_repserver varchar2(20);
    v_repstat varchar2(20);
    v_where varchar2(200);
    begin
    v_where:='WHERE SOH.FACILITY_ID'||:MAIN.FACILITY_ID||' AND CODE='||:MAIN.CODE;      
    repid := find_report_object('SHOP_ORDER_REPORT');
    v_repserver := 'SUHAILREPORTS';
    set_report_object_property(repid,REPORT_DESTYPE,FILE);
    set_report_object_property(repid,REPORT_DESFORMAT, 'HTMLCSS');
    set_report_object_property(repid,REPORT_SERVER, v_repserver);
    set_report_object_property(repid,report_filename,'SHOP_ORDER_REPORT');
    set_report_object_property(repid, report_other, 'WHERE_CLAUSE='||v_where);
    v_rep := RUN_REPORT_OBJECT(repid);
    if v_rep is not null then
    v_jobid := substr(v_rep,(instr(v_rep,'_',-1)+1));
    v_repstat := report_object_status(v_rep);
    end if;
    if v_jobid > 0 then
    web.show_document ('/reports/rwservlet/getjobid'|| v_jobid ||'?server='|| v_repserver,'_SELF');
    end if;
    end;
    but when i run report it shows me
    uable to run report
    unable to report job status
    pls help me

    Hi,
    I think for this purpose you have to try Fromatt trigger.
    Thanks
    Shishu Paul

  • Row subtraction in obiee 11g

    Hi ,
    I want to display my report as given below. I have achieved till displaying the values using pivot table in obiee 11g
    India
    Product     amount
    a     50
    b     35
    America
    Product     amount
    a     100
    b     50
    Can someone help me to achieve the below substraction of rows in obiee 11g ?
    India
    Product     amount
    a     50
    b     35
    a-b     15
    America
    Product     amount
    a     100
    b     50
    a-b     50
    Thanks,
    Pavni

    Hi...
    Follow the steps:
    1)Create a Pivot view
    India
    Product amount
    a 50
    b 35
    America
    Product amount
    a 100
    b 50
    2) Click on selection steps:
    Under the product column click on Then, New Step... ->      Add Groups or Calculated Items -> New Calculated Item
    or (else u can select this option New Calculated Item from result pane besides New View)
    Display Label Name: a-b
    Values From: Product
    Function: Custom
    Here u should select and write condition like
    Product a - Product b
    Click ok, then save....
    See the result......
    Mark as a correct it helps u....
    Thanks

  • Trying to use lexical parameter in ORDER BY

    I'm using BIP in EBS and I have a report that needs to be sorted based on parameters selected in conc. pgm. I'm trying to use lexical parameters to accomplish this, however, it's not working. I have defined my lexical parameter in Package Spec and I'm setting it accordingly in Package Body(BeforeReport trigger). In my data template (dataQuery section) I have the following SQL
    SELECT 'AP_BANK_ACCOUNTS_ALL' as "table_audit2",
    a.bank_account_id,
    to_char(a.audit_timestamp,'DD-MON-YYYY HH:MI P.M.'),
    a.audit_transaction_type ,
    a.audit_user_name,
    a.bank_account_name,
    a.bank_account_num,
    a.account_type,
    a.org_id,
    a.bank_branch_id,
    a.xxap_field_changed,
    a.xxap_new_value,
    a.xxap_old_value,
    b.bank_name,
    d.short_name
    FROM xxap_bank_accounts_all_gtmp a,
    ap_bank_branches b,
    hr_organization_information c,
    gl_sets_of_books d
    WHERE a.bank_branch_id = b.bank_branch_id
    AND a.org_id = c.organization_id
    AND c.org_information_context = 'Operating Unit Information'
    AND c.org_information3 = d.set_of_books_id
    ORDER BY &lv_order_by
    The IF statments below are being used in package to set lexical parameter
    note: p_order_by_1 & 2 are from conc.pgm
    IF p_order_by_1 IS NOT NULL
    THEN
    lv_order_by := to_char(p_order_by_1);
    lv_order_1 := 'Y';
    END IF;
    IF p_order_by_2 IS NOT NULL
    THEN
    IF lv_order_1 = 'Y'
    THEN
    lv_order_by :=lv_order_by||','||to_char (p_order_by_2);
    lv_order_2 := 'Y';
    ELSE
    lv_order_by := to_char(p_order_by_2);
    lv_order_2 := 'Y';
    END IF;
    END IF;
    Any help will be greatly appreciated!!!! I'm a newbie to EBS and BIP so you can probably imagine how frustrated I am.
    Message was edited by:
    user631051

    The conc. pgm completes successfully but my report is not sorted. Data Template below:
    <properties>
    <property name="include_parameters" value="true" />
    <property name="include_null_Element" value="true" />
    <property name="xml_tag_case" value="upper" />
    <property name="db_fetch_size" value="500" />
    <property name="scalable_mode" value="off" />
    <property name="include_rowsettag" value="false" />
    <property name="debug_mode" value="off" />
    </properties>
    <parameters>
         <parameter name="p_start_date" dataType="date"/>
         <parameter name="p_end_date" dataType="date"/>
         <parameter name="p_org_id" dataType="number"/>
         <parameter name="p_data_priority" dataType="character"/>
         <parameter name="p_include" dataType="character"/>
         <parameter name="p_account_type" dataType="character"/>
         <parameter name="p_order_by_1" dataType="character"/>
         <parameter name="p_order_by_2" dataType="character"/>
         <parameter name="p_order_by_3" dataType="character"/>
         </parameters>
    <dataQuery>
    <sqlStatement name="Q1">
    <![CDATA[SELECT 'AP_BANK_BRANCHES' as "table_audit1", a.bank_branch_id as "bank_branch_id",
                     to_char(a.audit_timestamp,'DD-MON-YYYY HH:MI P.M.') as "audit_timestamp",
                     a.audit_transaction_type as "audit_transaction_type", a.audit_user_name as "audit_user_name",
                     b.bank_name as "bank_name", b.bank_branch_name as "bank_branch_name",
                     to_char(b.bank_number) as "bank_number", a.active_date as "active_date", a.xxap_field_changed,
                     a.xxap_new_value, a.xxap_old_value
                    FROM xxap_bank_branch_gtmp a,
                         ap_bank_branches b
                    WHERE a.bank_branch_id = b.bank_branch_id
          ]]>
    </sqlStatement
    <sqlStatement name="Q2">
    <![CDATA[SELECT 'AP_BANK_ACCOUNTS_ALL' as "table_audit2",
                     a.bank_account_id as "bank_account_id",
                     to_char(a.audit_timestamp,'DD-MON-YYYY HH:MI P.M.') as "audit_timestamp",
                     a.audit_transaction_type as "audit_transaction_type",
                     a.audit_user_name as "audit_user_name",
                     b.bank_name as "bank_name",
                     a.bank_account_name,
                     a.bank_account_num as "bank_account_num",
                     a.account_type as "account_type",
                     to_char(a.org_id) as "org_id",
                     a.bank_branch_id as "bank_branch_id",
                     a.xxap_field_changed,
                     a.xxap_new_value,
                     a.xxap_old_value,
                     d.short_name as "short_name"
                    FROM xxap_bank_accounts_all_gtmp a,
                         ap_bank_branches b,
                         hr_organization_information c,
                         gl_sets_of_books d
                    WHERE a.bank_branch_id = b.bank_branch_id
                    AND   a.org_id = c.organization_id
                    AND   c.org_information_context = 'Operating Unit Information'
                    AND   c.org_information3 = d.set_of_books_id
                    ORDER BY &lv_order_by
          ]]>
    </sqlStatement>
    </dataQuery>
    <dataTrigger name="beforeReportTrigger" source="XXAP_RPT_BANK_AUDIT_EXT_PKG.BeforeReport"/>
    <dataStructure>
    <group name="G_Bank_Branches" source="Q1">
    <element name="table_audit1" value="table_audit1"/>
              <element name="bank_branch_id" value="bank_branch_id"/>
              <element name="audit_timestamp" value="audit_timestamp"/>
              <element name="audit_transaction_type" value="audit_transaction_type"/>
              <element name="audit_user_name" value="audit_user_name"/>
              <element name="bank_name" value="bank_name"/>
              <element name="bank_branch_name" value="bank_branch_name"/>
              <element name="bank_number" value="bank_number"/>
              <element name="active_date" value="active_date"/>
              <element name="xxap_field_changed" value="xxap_field_changed"/>
              <element name="xxap_new_value" value="xxap_new_value"/>
              <element name="xxap_old_value" value="xxap_old_value"/>
    </group>
    <group name="G_Bank_Accounts_All" source="Q2">
         <element name="table_audit2" value="table_audit2"/>
         <element name="account_type" value="account_type"/>
    <element name="bank_account_id" value="bank_account_id"/>
              <element name="audit_timestamp" value="audit_timestamp"/>
              <element name="audit_transaction_type" value="audit_transaction_type"/>
              <element name="audit_user_name" value="audit_user_name"/>
              <element name="bank_name" value="bank_name"/>
              <element name="bank_account_name" value="bank_account_name"/>
              <element name="bank_account_num" value="bank_account_num"/>
              <element name="org_id" value="org_id"/>
              <element name="xxap_field_changed" value="xxap_field_changed"/>
              <element name="xxap_new_value" value="xxap_new_value"/>
              <element name="xxap_old_value" value="xxap_old_value"/>
              <element name="short_name" value="short_name"/>
    </group>
    </dataStructure>
    </dataTemplate>

  • Usage Tracking in OBIEE 11g - S_NQ_DB_ACCT and S_NQ_ACCT

    Hi Experts,
    How to fetch the physical query using usage tracking in OBIEE 11g, i hope in OBIEE 11g there is a feature to capture the physical query using S_NQ_DB_ACCT.
    I have imported the table S_NQ_ACCT and S_NQ_DB_ACCT in to RPD.
    Please let me know how to join these two tables(Using which Key).
    Thanks.

    Hi,
    Which version are you using it?
    If you in obiee11.1.1.6.0 and above version refer,
    CREATE TABLE [dbo].[S_NQ_ACCT](
         [USER_NAME] [varchar](128) NULL,
         [REPOSITORY_NAME] [varchar](128) NULL,
         [SUBJECT_AREA_NAME] [varchar](128) NULL,
         [NODE_ID] [varchar](15) NULL,
         [START_TS] [datetime] NULL,
         [START_DT] [datetime] NULL,
         [START_HOUR_MIN] [char](5) NULL,
         [END_TS] [datetime] NULL,
         [END_DT] [datetime] NULL,
         [END_HOUR_MIN] [char](5) NULL,
         [QUERY_TEXT] [varchar](4000) NULL,
         [QUERY_BLOB] [ntext] NULL,
         [QUERY_KEY] [varchar](128) NULL,
         [SUCCESS_FLG] [numeric](10, 0) NULL,
         [ROW_COUNT] [numeric](10, 0) NULL,
         [TOTAL_TIME_SEC] [numeric](10, 0) NULL,
         [COMPILE_TIME_SEC] [numeric](10, 0) NULL,
         [NUM_DB_QUERY] [numeric](10, 0) NULL,
         [CUM_DB_TIME_SEC] [numeric](10, 0) NULL,
         [CUM_NUM_DB_ROW] [numeric](10, 0) NULL,
         [CACHE_IND_FLG] [char](1) NOT NULL,
         [QUERY_SRC_CD] [varchar](30) NOT NULL,
         [SAW_SRC_PATH] [varchar](250) NOT NULL,
         [SAW_DASHBOARD] [varchar](150) NOT NULL,
         [SAW_DASHBOARD_PG] [varchar](150) NOT NULL,
         [PRESENTATION_NAME] [varchar](128) NOT NULL,
         [ERROR_TEXT] [varchar](250) NOT NULL,
         [IMPERSONATOR_USER_NAME] [varchar](128) NOT NULL,
         [NUM_CACHE_INSERTED] [numeric](10, 0) NULL,
         [NUM_CACHE_HITS] [numeric](10, 0) NULL
    ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
    this one is working fine and no issue.
    Thanks
    Deva

Maybe you are looking for

  • Help with script to eject an external drive and change Network Location?

    Hello, Could someone help me with a script that would do the following: -eject an external hard drive call "1TB_BU" -change the Network System Preferences Location from "Work" to "Home" I then need another that would change the Location from "Home" t

  • Why my openscript program runs in disorder?

    Recently I encoutered such errors several times. My masterdrive script call 001a script first, and then the 002a script. But when I playback, I find out that it shows 001a is running in the masterdrive's tree view, but in fact the executed scripts ar

  • SAP report CNS41 to show different currencies

    Hi, One of our User from Client side is having one Project in Currency  GBP. He want to display CNS41 report for this Project in SEK currency. We have explored and found that it is possible to display CNS41 report either in GBP (Project currency) or

  • Creating dynamic select list

    I have a dynamic select list populated by site names and URLs from a map; when a user clicks on an entry the site name and URL will fill two text boxes. There are also buttons to add, update, and delete entries. These buttons lead to actions within m

  • HT1338 MacBook Pro Retina 13 inch left speaker

    MacBook Pro Retina 13 inch left speaker not as loud as the right all daignostics have been done as well as the balance fromsystem pref pane is in the center still no luck even the PRAM was reset for a machine thats less than 3 weeks old! Called in ap