OBIEE Group By

I have two columns Tracking Name and Tracking Group. Now i need to display
Column A Column B Column C Column D
ABC Original Root Error
Now , column B = case when Tracking Group = ' Original' then Tracking Name else '' end .Similarly column C = case when Tracking Group = ' Root then Tracking Name else '' end and column D = case when Tracking Group = 'Error' then Tracking Name else '' end.
Now in my report i am getting
ABC Original
Rooot
Error
How to solve this

Hu Saichand,
Yes i am applying count on the INSTANCE_ID column in the fact column.
I am joining with JOB_ID.
The SQL is not passing the GROUP BY when i see in the Advance Tab see below:
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 14026] Unable to navigate requested expression: COUNT OF JOBS RAN:[DAggr(FACT_S_NQ_INSTANCE.COUNT OF JOBS RAN by [ FACT_S_NQ_INSTANCE.JOB_ID] SB FACT_S_NQ_INSTANCE)]. Please fix the metadata consistency warnings. (HY000)
SQL Issued: SELECT FACT_S_NQ_INSTANCE."COUNT OF JOBS RAN" saw_0, FACT_S_NQ_INSTANCE.JOB_ID saw_1 FROM "POC SCH Final" ORDER BY saw_1
There must be something which will pass the GROUP BY clause on the JOB_ID, i thought setting the content level will do the trick but there is change in the error mesaage with or without the content tab setting.
Rgds,
Amit
Edited by: amitsharma73 on Sep 22, 2010 10:27 PM

Similar Messages

  • OBIEE Group By on 2 facts and concatenated columns from different dimensions

    Hi
    I have a different kind of problem involving 2 fact tables with different dimensional attributes.
    Fact 1 has Dim Attributes ( Cust,Facility )
    Measure - Gross Amount
    Fact2 has Dim attributes (Cust,Facility and Risk Group )
    Measure : Exposure Amount
    Since we have 2 facts with different dimensions,
    to exclude the 'Risk Group' dimension column from the group by for the Fact1,
    we set the 'Gross Amount' measure to total level (Risk Group Dimension ) in contents tab.
    So the values from both the fact tables appears in the same report correctly.
    But in the same report we have another requirement where the rating column from the customer dimension has to be concatenated with the ratings column in the facility dimension.
    We have to concatenate customer.rating with the facility.rating and display it in the report.
    when we just pull the individual columns from the dimensions into the report it works fine.
    But when we try to concatenate the 2 columns and show it in the report,
    the concatenated column does not appear in the select or the group by in the SQL Fact2.( Generated by OBIEE )
    The other fact1 has the concatenated column in the select as well as the group by clause ( Generated by OBIEE )
    As a result the report shows the concatenated values only for the results from the Fact1. But the results from Fact2 does not have the concatenated column values.
    The report should look like the below:
    Custor.Name,     Customer.Id,     Facility.Name,     Facility.Id,     Customer.Rating/Facility.Rating,     Risk Group,     Gross Amount,     Exposure Amount
    ===========    =========      ===========     =========   ========================      =========     ===========     ===============
    JPMC                123                    GROSS               123               08/10                                                  LNL                    45,000               25,000
    CLAIRE               456                    NET                    456               07/10                                                  RNK                    50,000               30,000
    Thanks,
    Chandra

    As suggested you really want to move your none-aggregated fact attributes to a logical dimension (using the same physical table as the logical fact). Map this in the BMM layer as a snowflake, Place a hierarchy on this dimension with (at minimum) Total -> Detail levels, then on the other fact table you want to include in the report, set the content level on your other fact measures to the 'Total' level for your new logical Dim and it will allow them to be present in the same report.

  • OBIEE Group Authentication Maintenance

    Hi All,
    I have set up Authorisation Via ms ADSI Server for OBIEE 10g , I have also setup Group Authorisation via Table .. Works well. But my problem is " Each user and group has to be created in the table" , Is there way around this or any common practise or procedure i can run to Maintain the groups and users within the Authorisation Table...
    The ADSI (LDAP) is fine... Just problem with maintaining the groups. How does everyone else maintain their groups if you have the table authorization method...
    Thanks
    Bibi

    That's up to you to decide how to do it. There are cons and pros on every approach. Personally I wouldn't stahe any LDAP data as this would require frequent updates or a big delay on new users/permissions feeding to OBIEE. People expect new permissions to be applied instantly. If that's not the case you might get pointless support calls etc. I would either use LDAP to store all permissions or OBIEE. There is little point in having security tables if you have to maintain them manually. We use tables because we have a custom permissioning tool which the help desk manage so we don't need to touch any permissions. You be better of maintain them manually using the Web Catalog and the web Administration console if you can't use LDAP.
    Here is a way of getting a list of users from LDAP:
    http://support.microsoft.com/kb/237677

  • OBIEE Groups - RPD Groups, Catalog Groups, LDAP Groups

    Greeting Experts
    I am trying to get a clear understanding of how these different groups play out in the OBIEE world.  Ideally I am looking to get clarity around what the boundaries are for these groups (what they control and don't). Really appreciate if someone could enlighten me
    Thank you very much.

    will LDAP Group security takes precedence over Catalog Group security
    Yes
    when it comes to LDAP security, can it be extended to control Authorizations besides, just User Authentication ?
    Basically LDAP groups are associated with the users and those groups are again associated to Application Roles so Authorization and authentication can be done using Application role rather than a group
    But if you have catalog groups (default 10g security model) you can still assign application roles for those catalog group and enable the object level security (Goto Administrator ---> Manage Catalog Groups ---> select any default 10g group there you can search and add applicatoin roles)
    thanks,
    Saichand

  • OBIEE Group authorization

    Hi,
    We are using the LDAP security for Authenticating the users.. but when I try to Authorize the Users to see a Particular dashboard it is failing. I have created a table in DB with Logon and the group details and created a session variable by using the below sql. But When I try to test this Initialization block the Test Button is not highlighting in the rpd .
    SELECT ‘GROUP’, R.GROUP_NAME FROM WC_USER_AUTH R WHERE UPPER(R.LOGON)=UPPER(‘:USER’)
    Please suggest me whether I am doing the correct approach to give access to dashboard.

    Yes... The three steps you have mentioned is the standard way of doing an authentication using LDAP and Authorization using external database.
    When ever a new user is added, you just have to add that user name and group name in the external db table.
    No need to give permissions to that particular user in Presentation Catalog as you might have already given permission to the group to whcih this user belongs.
    While logging in you have to give the correct username as it is configured in your LDAP server. For entering the new user in DB it need not be case sensitive as the Init block query takes care.
    SELECT ‘GROUP’, R.GROUP_NAME FROM WC_USER_AUTH R WHERE UPPER(R.LOGON)=UPPER(‘:USER’)
    Regards,
    Bhavik

  • OBIEE group and filter in analysis

    Hi all,
    As an example, I have an analysis with the following table and values on it:
    Code
    Description 1
    Description 2
    Date
    Description 3
    Description 4
    Description n
    1
    abc1
    a
    01/01/2001
    random value
    random value
    random value
    1
    abc1
    a
    01/01/2003
    random value
    random value
    random value
    1
    abc123
    a
    01/01/2005
    random value
    random value
    random value
    2
    abc2
    b
    01/01/2001
    random value
    random value
    random value
    My goal is to perform an aggregation of this data, meaning, for the same Code with the same Description 1 and Description 2, I would like only to display the row with the Minimum Date. Meaning, the end result would be not showing the row in red!
    Is it possible to do this without changing the RPD and ETL?
    Best regards,
    André

    Hi,
    You can use Conditional format in the selection step.
    According to the description 1 and 2 set the minimum date in the conditional format.
    http://mkashu.blogspot.com
    Regards
    VG

  • Mapping Roles/Groups between Oracle EBS R12 and OBIEE 11g

    Hi,
    We are implementing OBIEE 11g with Oracle EBS R12 as source system. Also we are using Out of the box RPD for Oracle EBS R12.
    But we are facing lot of challenges to map OBIEE 11g groups and EBS roles and responsibilities. We do not have prior experience with EBS as source system.
    Can anyone tell how to map between obiee groups with Oracle E-Business suit R12
    Is there any document link or notes regarding this.
    Any information regarding this will be a great help.
    Thanks in advance

    Hi,
    I am also looking for the solution to implement SSO of OBI 11g with EBS r12, what i understand from your post that you have configured SSO between OAM and EBS R12.
    Below is the link to configure SSO between EBSR12 and OBI 11g.
    http://www.astcorporation.com/images/PDFs/White_Papers/2012/AST_White_Paper-EBS-OBIEE_11g_Integration.pdf
    I want one clarification from you , once you read the above article what is your opinion do we require OAM integration if we want only EBS SSO with OBI11g ? I am bit confused in this ?
    Whats the use of OAM in this integartion ?
    Can you please help me.
    Thanks in Advance.
    Regards,
    Tarang Jain

  • Mapping Roles/Groups between OBIEE 11g and Oracle EBS R12

    Hi,
    We are implementing OBIEE 11g with Oracle EBS R12 as source system. Also we are using Out of the box RPD for Oracle EBS R12.
    But we are facing lot of challenges to map OBIEE 11g groups and EBS roles and responsibilities. We do not have prior experience with EBS as source system.
    Can anyone tell how to map between obiee groups with Oracle E-Business suit R12
    Is there any document link or notes regarding this.
    Any help regarding this will really save us.
    Thanks in advance

    Please read:
    Integrating with EBS Suite Security: http://docs.oracle.com/cd/E28280_01/bi.1111/e16364/ebs_actions.htm#BIEIT1321
    As I understand you need to create a Connection Pool to your EBS database. I think that would be a serious security aspect for the integration to work over two different networks. But I don't think it's impossible.
    Domain Prerequisites is another challenge in this scenario.
    More specifically: http://docs.oracle.com/cd/E28280_01/bi.1111/e16364/ebs_actions.htm#CHDHCAFD

  • Accessing Group description in OBIEE?

    I am using external file authentication which is populating the GROUP variable from our Peoplesoft security tables. I would like to display security level on the dashboard somewhere and I could do that using the GROUP session variable, but the codes are not very descriptive. Is there any way to get and display the description associated with the OBIEE group definition? Since we needed to define the groups in OBIEE, we added usable descriptions but I can't figure out how to display them.
    Thanks,
    Greg

    I am not sure how one can access the group descriptions, but what you can do is have the descriptions stored in database along with the some variable names and the groups. Use a init block to load these descriptions into session variables using row wise initialization. Then use these session variables in your report to show the descriptions.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • Integrating BI server groups with BIP groups

    Hello - having a BIP integration with OBIEE issue.
    Running:
    BIP 10.1.3.3.3 running on AIX
    OBIEE 10.1.3.3.3 running on AIX
    Our OBIEE server is configured so that users authenticate with our enterprise LDAP implementation. After they authenticate, OBIEE is able to see which LDAP groups the user belongs to and uses these LDAP groups to determine which privelages the user is assigned in OBIEE because OBIEE has the same groups defined within its security model. For example, if user ABC is in LDAP group "OBI ADMIN" then they become a member of the "OBI Administrator" group in OBIEE. This is configured properly and working.
    For BIP, my goal is to use BI Server security and have users who are in the "OBI Administrator" group within OBIEE also assigned as an administrator of the BIP system by assigning the "OBI Administrator" group to "XMLP_ADMIN". I've configured BIP to use BI server security and I've verified that authentication is working with LDAP.
    When I assign the OBI "OBI Administrator" group to the "XMLP_ADMIN" group then the users in "OBI Administrator" group do not have access to the Admin tab in BIP. I've also tried assigning the XMLP_ADMIN group to the "OBI Administrator" group, but this does not work either.
    Has anyone been able to assign OBIEE groups to the XMLP_ADMIN (or any other XMLP groups in OBIEE) and had it work? Perhaps there is something fundamental I am missing or misunderstanding.
    Thanks in advance.

    Hi,
    This is a bug already raised with Oracle Support. What I did was to add the required BI Publisher groups to the desired users,in addition to the existing OBI groups. That is,we created a composite key based on Employee ID and Group Name.This enabled us to assign several BI Publisher groups to a user in the database table containing user informations.Let me know if it solves your problem too.
    Thanks and regards,
    Debarati.
    [email protected]
    Edited by: user581741 on Apr 8, 2009 1:29 AM
    Edited by: user581741 on Apr 8, 2009 1:30 AM

  • OBIEE 11g with Oracle EBS R12 implementation,Need to know Default Roles

    Hi All,
    Can anyone please let me know regarding any documentation or link where i can find all default OBIEE Group names and the relation of each Groups with Oracle EBS R12 roles and responsibility categorized by the Modules.
    We need the Roles information for the following modules:
    1. Supply Chain & Order Management
    2. Procurement & spend
    3. Finance
    Thanks in advance. Please help.
    Regards
    Sudipta

    Please see these docs.
    Integrating Oracle Business Intelligence Applications with Oracle E-Business Suite [ID 555254.1]
    What documentation do I need to review when installing and configuring a OBI Apps 7.9.6.x environment with EBS? [ID 1221764.1]
    Master Note for OBIEE Integration issues with EBS, Siebel, SSO, Portal Server [ID 1248939.1]
    Oracle SSO E-Business Suite Applications Integration with Oracle Business Intelligence [ID 553423.1]
    Oracle EBS integration with OBIEE [ID 733137.1]
    Document for implementing security OBIEE Apps with EBS and Siebel CRM as sources [ID 756851.1]
    What Application must be chosen for Responsibility within EBS when integrating with OBIEE [ID 1246464.1]
    Also, search Steven Chan's Blog and you should get couple of hits -- http://blogs.oracle.com/stevenChan/
    Thanks,
    Hussein

  • Oracle BI Admin Tool: copying permissions from group to group

    Hi!
    I'm working with Oracle BI Admin Tool (10.1.3.4).
    I have a lot of groups in the repository.
    I want to create a seperate group for each department and set filter for each group. For example, group 'Market' should see data only from the Marketing department, group 'HR' should see data only from its department.
    The question is the following: if I have 100 groups, do I have to set permissions to each of them manually or is there any mechanism of quick copying (function 'duplicate' is not suitable as groups are already created)?
    Thank you,
    Natallia

    First about filtering data for specific user groups: you need to implement row level security by using session variables.
    Here are some links:
    http://oraclebizint.wordpress.com/2008/06/30/oracle-bi-ee-1013332-row-level-security-and-row-wise-intialized-session-variables/
    http://www.rittmanmead.com/2007/05/13/obiee-and-row-level-security/
    http://obieegeek.wordpress.com/2009/04/05/row-level-security-using-initialization-blocks-and-session-variables/
    (You can find these links by using google.. ;))
    Second about groups and copying privileges/permissions: I don't think it is possible to copy privileges/permissions (other than hardcoding UDML) but it is actually not necessary when you create a security model first. Let me explain: in OBIEE groups can be member of a group, and the underlying group will inherit all the permissions of the group it is member of.
    So what you need to do, is to create one group with common permissions and privileges and add all the department groups to this group. If you want, you can then set the specific permissions for each group.

  • E-Business Suite Integration with Oracle Business Intelligence

    Hi,
    To integrate E-Business Suite with Oracle Business Intelligence I have done all the configurations as specified in DocId. *552735.1* of Metalink. I have tested the configurations by logging in from EBS and navigating to OBIEE Presentation Services. I'm able to navigate with no errors but not able to view Subject Areas in the Answers link. I'm testing this with 'Administrator' user. When I directly login to Presentation Serivices with the Administrator user I'm able to see the Subject Areas.
    Can anyone have idea what is the problem?
    Thanks in Advance,

    Hi,
    Think I spotted the problem - probably specific to OBIA 7.9.5.
    There is no "Authorization" initialization block: in previous incarnations (e.g. OBIA 7.9.4 and earlier I guess) there was a FndGetResp intialization block that assigned a value to the OBIEE "GROUP" system variable.
    So I did the following and now I'm getting Subject Areas and Answers answers, but Dashboards still not working for me - maybe another issue.
    1. Create system variable GROUP, temporarily with initialization block "Authentication"
    2. Create initialization block "EBS Responsibility to Group" with query (note I've modified based on new session variable name RESP_ID goes to OLTP_EBS_RESP_ID in 7.9.5):
    SELECT RESPONSIBILITY_KEY
    FROM FND_RESPONSIBILITY
    WHERE RESPONSIBILITY_ID = 'valueof(NQ_SESSION.OLTP_EBS_RESP_ID)'
    Set the execution precendence to include EBS Security Context and EBS Single Sign-On Integration
    NB: Had to create dummy variable GROUP_TMP for the "OK" button to come up, will replace that with real GROUP in next steps
    3. Go back and edit System variable GROUP and change initialization block to EBS Responsibility to Group
    4. Go back and edit initialization block EBS Responsibility to Group and remove variable GROUP_TMP
    5. Created an OBIEE Group with name = responsibility key e.g. for my "SBA Administrator" responsibility, key = "SBA_ADMIN_KEY", so I created group named "SBA_ADMIN_KEY"
    6. Made your new group (e.g. SBA_ADMIN_KEY) a member of the Administrators Group
    7. Copy across rpd and restart sa / saw
    Still awaiting response from Oracle Support ... so no guarantees this is correct and no guarantees that it won't break something else that Oracle suggests later!
    Regards,
    Gareth

  • OBIEE Security 10g to 11g: Groups

    I had a Security scenario that I wanted to throw out to the forum...
    In 10g, we made use of the GROUP system variable to pull a users group membership from a database table. This was a Session Variable initialized upon each login.
    Data-level and object-level security was different for each group.
    In our environment users had the ability to switch groups, so they could be active in one of the groups and inactive in the others. We provided a form (WriteBack) that allowed them to set what group they wanted to be active for. They would then log out and log back in and have their new group assignments.
    In the Session Variable this was done by pulling in only groups that were flagged as Active. This worked great as it was done at the Session level. So I could login once and see Dashboard A, swtich my role, then log back in and NOT see Dashboard A.
    I know 11g still has the concept of WEBGROUPS, that would mimic the above, but my understanding is that Oracle is pushing the use of Application Roles.
    My question is how would the above behavior be ported over to 11g using Application Roles? I didn't think the population of an Application Role was Session Based, my belief is that it is populated when the Admin Server/Managed Servers are bought up pulling from the applcable Security Provider.
    Edited by: DustinC on Jan 19, 2012 1:29 PM
    Edited by: DustinC on Jan 20, 2012 3:54 PM
    Edited by: DustinC on Jan 22, 2012 12:45 PM
    Edited by: DustinC on Jan 23, 2012 11:40 AM

    Q1. how deploy external database security(users, groups) to OBIEE 11g.
    we used external database security in 10g. all the users and groups maintained in database and obiee rpd has security groups. repository has group information only so it is deployed groups information to obiee 11g by upgrade assistant but how can it deploy users in external database?
    Solution:
    http://www.varanasisaichand.com/2011/09/external-table-authenticationorder-of.html
    http://www.rittmanmead.com/2012/03/obiee-11g-security-week-connecting-to-active-directory-and-obtaining-group-membership-from-database-tables/
    http://obieeblog.wordpress.com/2009/06/18/obiee-security-enforcement-%E2%80%93-external-database-table-authorization/
    Q2. all the users and roles in LDAP server. in this case how obiee 11g read users and group information?
    Obiee11g is intergated with weblogic fusion middleware (Console,EM). in that console have feature to enable mulitiple LDAP authentication
    while configuring AD via weblogic console we need to give the users and group info
    Solution refer:
    http://obieeelegant.blogspot.com/2012/01/obiee-11g-integration-with-ldap.html
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10543/privileges.htm#BABCDCFE
    Thanks
    Deva

  • OBIEE Report - Subtotals & Grouping

    Hi all,
    I've come across a requirement that I hope you can help me implement using OBIEE. For the report we are using a singular table that we have pulled in to the RPD and moved across to the presentation layer. The data comes in fine and appears on the dashboard as expected.
    The requirement is to export the report to CSV with sub total and grand total rows generated on groups of data (grouped on the column Source). The subtotals and grand totals will have to appear in their own columns which I think will be calculated with column formula. The subtotal will keep track of the total for each Source group while the running grand total will keep track of how much has been accumulated so far. For example, see the simple report structure below:
    Source
    Currency
    Amount
    SubTotal
    GrandTotal
    SRC1
    USD
    10
    SRC1
    USD
    20
    SRC1
    USD
    20
    50
    50
    SRC2
    USD
    50
    SRC2
    USD
    50
    100
    150
    SRC3
    USD
    40
    SRC3
    USD
    10
    SRC3
    USD
    20
    70
    220
    This has to be exported to CSV in this format. It's very easy to do in Excel but I'm wondering if anyone can think of a suitable way to do this with OBIEE?
    Thanks for your time.
    P.s. Apologies for the long username which I can't seem to change at the moment!

    Thank you, I created the union conditions and I am so close. But there is some strange issue. I'm dealing with very large quantities of records, and in one case the subtotal column should output 2097763136585.74. Instead, OBIEE shows the result as -2147483648. A quick google of the number itself shows that this number is some kind of generic error when a number is out of range or something? But I couldn't find much more info about it. When I turn up the log level and query the database directly using the physical SQL that's produced, the correct results are returned! So it seems to be an issue with OBIEE displaying these large numbers. Any ideas??
    For smaller numbers, the query runs absolutely fine and the subtotal column reflects accurate answers.

Maybe you are looking for