Group By in OBIEE

Hi,
How do i achieve this in the OBIEE rpd
select count(instance_id), job_id from s_nq_instance group by job_id
Rgds,
Amit

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

  • Setting Default Dashboard based on Groups/users in OBIEE 10g

    Hi,
    I am having a requirement and facing some issues with setting a default dashboard option to the users who ever access the application. Below is the brief description of entire requirement.
    The main requirement is to integrate OBIEE into a .net and silver light application. We will be having a 3 links in the .net application , which in turn displays the OBIEE reports and dashboards upon clicking the 3 links.
    We are using the concept of Init blocks, session variables and Go URL from an OBIEE standpoint for accomplishing this integration requirement. We have also configured LDAP server in OBIEE.
    The issue we are facing is out of the 3 links in .net application, we have one link/icon called dashboard icon which should display bunch of OBIEE dashboard pages in the form of 4 tabs but currently it is showing the My Dashboard home page. For this to achieve to set default dashboard page is to go to My account and change the default dashboard to the desired dashboard and log out and log in back to the application and we will be all set with dashboard pages being displayed upon lcking the dashboard icon but this is manual process for each user as they need to login into the .net application and change the setting s in My Account manually to change the default dashboard setting to the desired one.
    How should I make sure, whoever is logging into the Application (every user) should be able to see the default dashboard pages without changing the options manually by going to My Account.
    The LDAP server is taking care of the Authentication part of the users as every user record is maintained in Active directory which in turn is part of LDAP server.
    To brief high level requirement on single statement is  how to make a default dashboard pages to users based on group in OBIEE. Is there any option in OBIEE, where we can change or set a default dashboard to particular group in OBIEE either in RPD or UI level.
    Appreciate your help on this.
    Let me know if anyone needs any more information in this regard.
    Thank
    Praveen

    You can set 'PORTALPATH'. Have a look at these threads below:
    how to get default dashboards when users logs in
    Re: PORTALPATH for Each Group
    - Bharath

  • Hot to get group name in obiee 11g

    Hi All,
    We have a requirement that whenever user login in answers, based on his group he should be able to see only his department data.If some how captures the group name we can filter the data by assisgning the group name to the variable but we stuck up with getting the group name.Please help us

    VALUEOF(NQ_SESSION.GROUP) shud give u the value of GROUP
    http://108obiee.blogspot.in/2009/10/referencing-group-session-variable-in.html
    http://gerardnico.com/wiki/dat/obiee/system_session_variable
    Pls mark answered if it solves the issue.

  • 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

  • Group-Role Mapping OBIEE 11.1.1.6

    Scenario:
    I have created some groups in console. Let the groups be
    A, B, C and D.
    Now I want to create a role call it Manager and map A,B, C and D groups to Manager role in EM. And then give permissions (like Dashboard access) on Manager role.
    Issue:
    When I try to map A,B,C and D to Manager role and check for user that belongs to group A, in his My Account, I don't see Manager role listed there.
    But if I create roles A,B,C and D and map them to groups A,B,C and D respectively. And then map A,B,C and D role to Manager role, then in the user's My Account, I see Manager role.
    Question:
    1) What could be the problem? Is it necessary that group name and the role name to which it is mapped be same?
    2) Is there any way to automate mapping group from console to role in EM? We are planning to populate groups from a database table (around 2000 groups) and mapping them to roles would be very time consuming.
    Please help.

    Hi,
    When you are adding permissions to policies in "Add permission" window select "Permissions" and "Permission Class" = oracle.security.jps.ResourcePermission (filter leave empty) and click search. You will find required permissions on the list.

  • 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

  • How to Perform Group By operation in OBIEE 11g

    Hi,
    I have created a report for the "Nationality count in department wise manner", since for this i need to give 'group by department' for getting correct answer...
    But in OBIEE 11g on presentation service how i need to give "Group BY" operation....for viewing correct count in nationality wise......
    Regards,
    Harry...

    Hi sai,
    U mentioned, but i couldn't clearly able to understand that.......Since to perform Group By i need to make some setting changes in content in Advanced Tab setting like that it is mentioned, but i need to perform in the following manner
    select count(nationality), nationality
    from per_all_people_f, per_all_assignment_f, hr_all_organization_units
    group by department
    Note: per_all_people_f-----------> dimension table, per_all_assignment_f--------------> fact table
    nationality from per_all_people_f and count(nationality) from per_all_assignment_f
    But department is from hr_all_organization_units--------->dim table
    I dont want to see the departments but i need to group the result in department manner that i was taking from the table hr_all_organization_units.....
    How to perform Group BY in OBIEE 11g.......
    Thanks,
    Harry.........

  • Security question in obiee 11g

    Hi,
    I have a question on security configuration on what we have in 10 and deploying to 11g.
    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?
    Q2. all the users and roles in LDAP server. in this case how obiee 11g read users and group information?
    Thanks
    Jay.

    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 11g Controlling Print Option in Dashboard

    Hi All,
    We have a requirement in which we need to secure Print and Export option to specific users/groups only. OBIEE does not have any security option by which we can restrict print option to specific groups.
    Only 1 option is to create multiple sections and apply security on the sections. This is what I can think of.
    Please suggest me if there are any workarounds so that we can restrict print and export option only to certain groups.
    Thanks in advance.

    Could any one please suggest.

  • Read Only RPD Group

    Can you create a group in the OBIEE Admin Tool (RPD) that has read only rights to the RPD? I want to grant access to the RPD to a group of users, but do not want them to be able to make any changes to the RPD. Is this possible?

    hi,
    Only a user who belongs to Administrators group can access/login to rpd there no question of having read only access to rpd
    Thanks,
    Saichand.v

  • Grouping of data based on user prompt having a list of dimensions

    Hi All,
    I have a requirement to be able to group data in OBIEE request or Dashboard based on user prompt selection.
    The prompt should list the Dimensions Available
    e.g.
    Dimensions: Product, Region, Employee
    Fact: Sales
    The report is to display sales total for the quarters of the current year.
    The user prompt should list the available dimensions (In this case - Location, Employee and Product).
    If I choose Product, the data is to be grouped by Products - Layout having a simple tabular grouping with Product names as Group headings.
    Similarly any other choice of Dimension from the prompt should group the data by that dimension and have the dimension values used in the group headings.
    How could we implement this? I understand this type of requirement (ability to choose dimension) is met in some OLAP reporting tools.
    I have used multiple views and the View Selector for similar requirements previously, but looking for a dynamic solution here.
    Any pointers or solution will be great.
    Thanks,
    Kiran
    Edited by: Kiran Kudumbur on Sep 8, 2009 5:43 PM
    Edited by: Kiran Kudumbur on Sep 9, 2009 12:42 PM
    Edited by: Kiran Kudumbur on Sep 10, 2009 2:26 PM

    Hi All,
    I used column view to address this requirement.
    Thanks,
    Kiran

  • Get AD group membership doesn't work for global groups

    I want to pull the group membership for OBIEE directly from AD.
    This has been covered in many blogs and forums, no problem, I've found some user created functions - basically all of it uses
    DBMS_LDAP package methods
    with one exception that additionally to it also uses
    DBMS_LDAP_UTL.get_group_membership
    ALL THOSE functions work BUT I've verified it with the actual group membership from AD or adfind tool (http://www.joeware.net/freetools/tools/adfind/index.htm)
    The list returned by Oracle packages doesn't match, or to be exact only partially matches the factual AD list.
    I've done some research and found there are three types used for defining group's scope by AD:
    Domain Local, Global, or Universal
    (http://technet.microsoft.com/en-us/library/cc755692(WS.10).aspx)
    leaving the first one out of the scope as we don't use it
    - I've verified and found ALL missing ONES are defined as GLOBAL
    All the Oracle funcitons I've found correctly pulls only UNIVERSAL group memberships and none of GLOBAL
    Microsoft documentation says that both of them (Universal and Global) have forest-wide visibility....
    and so AdFind can list both..
    so why Oracle limits the search to UNIVERSAL ones only?
    Maybe it's a matter of initialize those DBMS_LDAP packages differently or passing slightly different parameters??
    I've really tried a lot of this code in different combinations but no joy
    Has anyone got some ideas?

    ...I try to block the usage of the command prompt only on this server.
    I have the same question as jrv: Why? It doesn't increase security. The command prompt is a program, not a security boundary.
    Disabling the command prompt does NOT increase security
    -- Bill Stewart [Bill_Stewart]

  • LDAP Authorization for OBIEE 10.1.3

    Hello,
    We have setup LDAP authentication (ADSI LDAP) using OBIEE standalone.
    I'm trying to figure out the best way to manage Authorization - user to group assignment in OBIEE.
    Options:
    1. Using external table
    Challange: The client doesn't have other application that manages user to group assignment. If I am using external table authorization, how will they manage changes to user to group or add new user to group?? This will require IT admin to modify table directly in production. They would like to have business super user to handle new user to group assignment.
    2. Import user to LDAP
    This is unfortunately doesn't work with ADSI LDAP. I got error message: This function is not supported for all LDAP type..
    3. I read something about using database DBMS_LDAP package. Basically: Define user to group assignment in LDAP. Define a db function to get db to group assignment. Call this db function in OBIEE.
    I am not sure if this DBMS_LDAP package will work with DB2. Any comments will be helpful.
    4. I thought about using Microsoft Excel to maintain user to group assignment and use the excel connection pool in Authorization init block. However, the OBIEE server is configured in AIX environment, and there is no excel driver for UNIX that's available...
    Has anyone seen this scenario before? Any suggestions will be greatly appreciated..

    When we were asked to combine OBIEE 10g with Active Directory, we chose external Table Authorization to get information on the groups, a user is part of.
    In general, one could follow these articles to achieve AD Authentication:
    [http://www.oraclebidwh.com/2008/10/obiee-ldap-authentication-using-microsoft-ad/|http://www.oraclebidwh.com/2008/10/obiee-ldap-authentication-using-microsoft-ad/]
    [http://www.oraclebidwh.com/2008/11/obiee-ldap-authentication-using-microsoft-ad-2/|http://www.oraclebidwh.com/2008/11/obiee-ldap-authentication-using-microsoft-ad-2/]
    To sum it up: Read User-information from AD. Knowing a user's login-name then, one could query an external table, which consists of user and group information. Everything is setup within initializationBlocks, which could be created in the administration tool.
    Problem: As you already said, the problem is, that this external user--group table has to be filled and updated "manually". That is, someone has to input new users or at least assign them to the existing groups.
    In our case, there's an admin who knows what sql is and how to work with it.
    Another solution could be, to prepare a xml-file, containing user and group information and add it to your repository. The tables could then be queried, too. Although, xml files can become quite unhandy, if a lot of information is held within it, they can be edited via external tools or at least with a standard text editor.

  • OBIEE SSO with BI Publisher integration

    Hey everyone,
    I did some searching and I found several threads in regards to bhe BI Publisher and OBIEE integration but so far nothing completely solved my problem.
    Here's my situation.
    Linux OS
    Apache web server
    OAS
    OBIEE 10.1.3.3.2
    We've got SSO implemented and it is going against active directory. In order to get that setup, we had to create the impersonator user, had it to the crendential store, setup the instance config correctly ,etc. Also, we had to install MOD_NTLM because Apache does not natively support NTLM like IIS does. Once we did that, the signle sign on works wonderfully and I'm logged directly into OBIEE Dashboards as my OS authenticated user.
    As my OS user (which does not have an account in the RPD, only has an account in AD), I try to open BI Publisher from OBIEE going to More Products-> BI Publisher. I get the "Reporting Login: Login failed:" message. When I use the URL NQUser and NQPassword parameters to login as Administrator, I am able to log in just fine.
    In BI Publisher, the security model is set to BI_SERVER and all the OBIEE Administrator passwords are updated and current. I've also tested the DSN connection string and created the super user. I've created the six XMLP_* roles as groups in the RPD and added both the Administrator user and the Impersonator user to the XMLP_ADMIN group. I'm starting to run out of ideas at this point. Am I missing a step here to get standard users to access BI Publisher?
    I'd appreciate any help on this.
    Thanks!
    -Joe

    What Group is the default user group for your OBIEE users? Log into Answers with your user account, then check value of Session variable GROUP.
    You need to give the User group(s) permissions in BI Publisher. They will need permissions to Shared folders and OBIEE data source.

  • Integrate Planning Security with OBIEE

    Hi,
    We have defined a lot of groups in shared services and use them to control access in planning and sv. Is there any way to integratre these groups with OBIEE as we would like to use the same groups to secure obiee reports.
    Thanks
    Prasad

    Hey Guys.
    Found the solution finally. There has been some configuration issue with Java host and corrected and restarted the Java host services and everything was fine now.
    Thanks.

Maybe you are looking for