Filter on the reports created using DIRECT DATABASE ACCESS in obiee 10g

How do i filter on the report that is created by using DIRECT DATABASE ACCESS in obiee 10g?
I have reprot A with link to report B, report B is created using DIRECT DATABASE ACCESS. so it is just a table, but i need to filter out 2 columns.
here is the query in REPORT B:
select strm, acad_group, crse_id, class_section, count(emplid) from v_crse_enrl
group by crse_id, strm, class_section, acad_group;
the link in REPORT A:
'<a target="_blank" href="'||VALUEOF("bi_link")||'Go&Path=CF_CROSS_TEACHING_LIST&ACTION=Navigate&col1=STRM&val1='||view1_DIMEN.STRM||'&col2=CLASS_SECTION&val2='||TRIM(view1_DIMEN.CLASS_SECTION)||'">' ||view1_dimen.class_id||'</a>'
from this link to report B.
thank you!!

I didnt tested using url, but the same works with using presentation variables.
To your direct sql add where clause for those two columns like WHERE col='@{col1}' and col ='@{col2}'
and try to run from url.
let me know updates

Similar Messages

  • Need help in formatting the report created using SSRS

    I have created an image and used it as the body background. But I want that image to come at right
    Set bodyRepeat as RepeatY. 
    Currently its showing as below              I need this blue image at the right most side of the report as below
    Also I need to display text on the image.
    Need Help!!!
    Abhinav

    Hi AbhinavSultania,
    According to your description, you created a report and added background image to it, you want to display the image at right side of the report and display text on the image.
    According to my knowledge, we could not control position of background image, as a workaround, we can refer to the following steps:
    Create an image with the blue line at right side of it using Paint.
    Right-click body of the report to open Body Properties dialog box, then import the image as background image.
    Drag text box from Toolbox to the blue line of the image. Right-click inside of the text box and click Expression, we can use expression to show dynamic contents at runtime.
    The following screenshot is for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • To visualize the report created using Discoverer Plus in Web

    Hi,
    I had created the report usingOracleBI Discoverer Plus Version 10.1.2.45.46c & able to visualize the report in OracleBI Discoverer Viewer Version 10.1.2.45.46c.
    URL fo accessing the report is as:
    http://machinename1:7777/discoverer/viewer
    If i try to connect to from another machine (machine2) as
    http://machinename1:7777/discoverer/viewer
    i'm unable to connect & i get the error page can not be displayed.
    Is it necessary to have the URL only with domain name as
    http://machinename.domainname:portno/discoverer/viewer
    I had already installed OWB, Oracle BI etc. If i had to create a domain then i have install all these & need to work from scratch.
    Is there any way to access the report across the internet or web.
    Plz do provide a solution for this issue.
    Thx in Advance

    Hi,
    Check the Discoverer OBEs at:
    http://www.oracle.com/technology/obe/obe_bi/discoverer/discoverer_1012/index.html
    The lesson titled 'Creating a Business Intelligence Dashboard Using Discoverer Portlets' should answer your question.

  • How to track personal details changes in the report without using triggers on the database tables

    Hi There,
    I'm having a requirement to track the oracle HRMS Personal details changes in the report not using the triggers.
    ex: if some changes the address of the person, then that changed values should be populated in the report.
    Please find below query:
    If any of the following columns data is updated, the new value should be populated in the report.
    SELECT PAPF.PERSON_ID                                                       PAPF_PERSON_ID
    ,      PAPF.EMPLOYEE_NUMBER                                               EMPLOYEE_NUMBER        
    ,      PAPF.FIRST_NAME                                                            FIRST_NAME   
    ,      PAPF.LAST_NAME                                                            LAST_NAME
    ,      TO_CHAR(PAPF.DATE_OF_BIRTH ,'DD-MON-YYYY')     DATE_OF_BIRTH
    ,      ADDR.ADDRESS_LINE1                                                   ADDRESS_1
    ,      ADDR.ADDRESS_LINE2                                                   ADDRESS_2
    ,      ADDR.ADDRESS_LINE3                                                   ADDRESS_3
    ,      ADDR.TOWN_OR_CITY                                                    TOWN
    ,      ADDR.REGION_1                                                              COUNTY
    ,      ADDR.POSTAL_CODE                                                     POST_CODE
    ,      ADDR.COUNTRY                                                              COUNTRY
    ,      PAY.PAYROLL_NAME                                                     PAYROLL_NAME
    ,      PLN_TYP.NAME                                                              PLAN_TYP
    ,      PLN.NAME                                                                     PRODUCT_NAME
    ,      BOF.NAME                                                                     COVERAGE
    FROM   PER_ALL_PEOPLE_F                                                PAPF
    ,      PER_ALL_ASSIGNMENTS_F                                          PAF
    ,      PER_ADDRESSES                                                        ADDR
    ,      PAY_PAYROLLS_F                                                       PAY
    ,      BEN_PRTT_ENRT_RSLT_F                                                 PEN
    ,      BEN_PL_TYP_F                                                         PLN_TYP
    ,      BEN_PL_F                                                             PLN
    ,      BEN_OIPL_F                                                           BOIPF
    ,      BEN_OPT_F                                                            BOF
    WHERE 1                                     = 1
    AND PAPF.PERSON_ID                          = PAF.PERSON_ID
    AND TRUNC(SYSDATE)                          BETWEEN PAPF.EFFECTIVE_START_DATE AND PAPF.EFFECTIVE_END_DATE
    AND TRUNC(SYSDATE)                          BETWEEN PAF.EFFECTIVE_START_DATE AND PAF.EFFECTIVE_END_DATE
    AND PAPF.PERSON_ID                          = ADDR.PERSON_ID
    AND ADDR.PRIMARY_FLAG                       = 'Y'
    AND ADDR.DATE_TO                            IS NULL
    AND PAF.PAYROLL_ID                          = PAY.PAYROLL_ID(+)
    AND PEN.PERSON_ID                           = PAPF.PERSON_ID
    AND PEN.BUSINESS_GROUP_ID                   = PAPF.BUSINESS_GROUP_ID
    AND TRUNC(SYSDATE)                          BETWEEN TRUNC(PEN.EFFECTIVE_START_DATE) AND TRUNC(PEN.EFFECTIVE_END_DATE)
    AND PEN.PRTT_ENRT_RSLT_STAT_CD              IS NULL
    AND PEN.SSPNDD_FLAG                         = 'N'
    AND ( PEN.ENRT_CVG_THRU_DT                  >= TRUNC(SYSDATE)
    OR    PEN.ENRT_OVRIDN_FLAG                  = 'Y')
    AND EXISTS(SELECT PIL.PER_IN_LER_ID
               FROM   BEN_PER_IN_LER PIL
               WHERE  PIL.PER_IN_LER_ID         = PEN.PER_IN_LER_ID
               AND    PIL.BUSINESS_GROUP_ID     = PEN.BUSINESS_GROUP_ID
               AND    PIL.PER_IN_LER_STAT_CD    NOT IN ('VOIDD','BCKDT'))
    AND PEN.PL_TYP_ID                           = PLN_TYP.PL_TYP_ID  
    AND TRUNC(SYSDATE)                          BETWEEN PLN_TYP.EFFECTIVE_START_DATE AND PLN_TYP.EFFECTIVE_END_DATE  
    AND PLN_TYP.PL_TYP_ID                       = PLN.PL_TYP_ID 
    AND TRUNC(SYSDATE)                          BETWEEN PLN.EFFECTIVE_START_DATE AND PLN.EFFECTIVE_END_DATE
    AND PLN.PL_ID                               = PEN.PL_ID
    AND PEN.OIPL_ID                             = BOIPF.OIPL_ID(+)
    AND TRUNC(SYSDATE)                          BETWEEN NVL(BOIPF.EFFECTIVE_START_DATE,HR_GENERAL.START_OF_TIME) AND NVL(BOIPF.EFFECTIVE_END_DATE,HR_GENERAL.END_OF_TIME)
    AND BOIPF.OPT_ID                            = BOF.OPT_ID(+)
    AND TRUNC(SYSDATE)                          BETWEEN NVL(BOF.EFFECTIVE_START_DATE,HR_GENERAL.START_OF_TIME) AND NVL(BOF.EFFECTIVE_END_DATE,HR_GENERAL.END_OF_TIME)
    AND (:P_SYSDATE)                            BETWEEN TRUNC(PEN.ENRT_CVG_STRT_DT) AND TRUNC(PEN.ENRT_CVG_THRU_DT)
    AND (CASE WHEN :P_PAYROLL_ID IS NULL THEN 'Y' ELSE NVL((SELECT 'Y' FROM DUAL WHERE PAY.PAYROLL_ID  = :P_PAYROLL_ID), 'N') END) = 'Y'
    AND PAPF.LAST_UPDATE_DATE                   = (:P_SYSDATE) ;
    --AND PAPF.LAST_UPDATE_DATE                   BETWEEN to_date(:P_SYSDATE) and (to_date(:p_sysdate) + INTERVAL '31' Day);
    --AND (:P_SYSDATE)                           = PAPF.LAST_UPDATE_DATE ;
    Thanks

    check this -
    Re: Best Event-Based notifications for Sox Complience?

  • I accessed the page protected by ADF security using direct url access attac

    hi,
    I played with my application which is based on SRDemo code (with added ADF security handling protection of resources) using direct url access scenarios. I was able to access a protected page as authenticated but not authorized user. I'll try to explain what I did.
    There are two folders/web resources in my application, faces/folderA/* and faces/folderB/*.
    roleA only is configured to access first web resource and the roleB is configured to access the second resource.
    I used ADF security to authorize only roleA for page in folderA and to authorize only roleB for page in folderB.
    I configured error pages in web.xml:
    <error-page>
    <error-code>400</error-code>
    <location>faces/error/error400.jspx</location>
    </error-page>
    <error-page>
    <error-code>401</error-code>
    <location>faces/error/error401.jspx</location>
    </error-page>
    <error-page>
    <error-code>403</error-code>
    <location>faces/error/error403.jspx</location>
    </error-page>
    <error-page>
    <error-code>404</error-code>
    <location>faces/error/error404.jspx</location>
    </error-page>
    <error-page>
    <exception-type>java.lang.Throwable</exception-type>
    <location>faces/error/error500.jspx</location>
    </error-page>
    Other config params are:
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>infrastructure/ABLogin.jspx</form-login-page>
    <form-error-page>faces/error/error401.jspx</form-error-page>
    </form-login-config>
    </login-config>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>AB Prototype</web-resource-name>
    <url-pattern>faces/ABAbout.jspx</url-pattern>
    <url-pattern>faces/ABHelp.jspx</url-pattern>
    <url-pattern>faces/ABLogout.jspx</url-pattern>
    <url-pattern>faces/ABWelcome.jspx</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>A</role-name>
    <role-name>B</role-name>
    </auth-constraint>
    </security-constraint>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>AZone</web-resource-name>
    <url-pattern>faces/folderA/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>A</role-name>
    </auth-constraint>
    </security-constraint>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>BZone</web-resource-name>
    <url-pattern>faces/folderB/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>B</role-name>
    </auth-constraint>
    </security-constraint>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    <init-param>
    <param-name>unauthorizedErrorPage</param-name>
    <param-value>faces/error/error401.jspx</param-value>
    </init-param>
    </filter>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jsp</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>ERROR</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <url-pattern>*.jspx</url-pattern>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>ERROR</dispatcher>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <load-on-startup>2</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    Once I authenticated as user in roleA I was trying to directly access URLs accessible only by users in roleB. In the beginning everything worked OK: I was dispatched to error401.jspx page with message Not authorized... etc.
    But I kept trying to access different URLs, like http://localhost:8988/AB/faces, http://localhost:8988/AB/faces/folderB, http://localhost:8988/AB/faces/folderB/pageB.jspx, http://localhost:8988/AB
    (not necessarily in that order, I played for a couple of minutes and the system would always dispatch to error401.jspx page if unauthorized attempt. But all of sudden, to my surprise, I got the pageB.jspx page while logged in as user belonging to roleA!)
    Not sure how that happened but the connectedUser on pageB (#{userInfo.authenticated}) shows that I am logged in as user whose role is A.
    I checked Authorization in ADF security and it is still correct: pageB is only accessible to roleB and pageA is only accessible to roleA.
    I hope I made some stupid mistake in my configuration?

    Hi,
    ADF Security is JAAS permission based and not container managed. Note that unless you explicitly configured ADF Security you don't use ADF Security but container managed security, which is all that I can see in your configurations.
    Not sure which version fo JDeveloper you use, but if you could change the following setting
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>AZone</web-resource-name>
    <url-pattern>faces/folderA/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>A</role-name>
    </auth-constraint>
    </security-constraint>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>BZone</web-resource-name>
    <url-pattern>faces/folderB/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>B</role-name>
    </auth-constraint>
    </security-constraint>
    to contain jspx file references instead of wildcards like in faces/folderB/* then what you see should no longer be possible. There was a known issue with the security settings in SRDemo that was caused by a defect in OC4J container managed security. I would expect this issue to be fixed in a more recent version of OC4J.
    However, the work around until then is to protect all JSPX files in a directory instead of using wild card matches
    Frank

  • Rank function without filter in the report

    Hi,
    I have a problem with Rank() function. The problem is the next one.
    I have a table with this rows:
    User | DATE | Cost
    user1 | 12/02/2011 | 10,4
    user1 | 13/02/2011 | 11,1
    user1 | 13/02/2011 | 10,1
    user1 | 13/02/2011 | 8,1
    user2 | 12/02/2011 | 1,4
    user2 | 13/02/2011 | 12,1
    user2 | 13/02/2011 | 22,1
    user2 | 13/02/2011 | 8,1
    In the rpd I have a agregate row as SUM(COST), and I need extract te ranking of this SUM(COST) per user, The sum of user1 is 39,7 and the sum of the user 2 is 43,7. If I show in the report all users, the ranking is correct Rank=1 per user2 and Rank=2 per user1, but the problem is that I only want show the user1, when I add a filter to the report user='user1' the ranking value changes from 2 to 1. I need that the ranking value doesn´t change when I introduce a filter.
    Any idea about how to solve this problem?
    Thanks

    Hi Antonio,
    On the Rank column in the answers edit the formula as given below.
    Case when username = 'user2' then Rank(sum(cost)) else 0 end
    Then apply a filter on the Rank column as Rank > 0.
    I hope this one helps you.
    Regards
    AP

  • Post subject: cannot apply filter to the report element

    Hi All,
    I have a report that has checkbox Input Controls. when the user is viewing the report and try to manuplate the input controls its throwing an error saying
    cannot apply filter to the report element: DP0.DO1e5
    I tried to do the same with an admin account still its showing the same error but when when I edit the report its not throwing the error. The problem is with the View mode
    Thanks
    -K

    Not sure why this is but deleting the input controls in the edit mode and re-applying works sometimes.
    Thanks,
    Karthik

  • Copy of Report created using Report writer

    Hi All
    Can anybody please let me know,  how to create a copy of a report created using Report Writer. I dont have a copy of what is there in production and would like to make a copy before changing it. Also if it is possible , can I have a copy of it in Production?
    Thanks
    Sameer

    Go to GRR2, select your report and use copy functionaly to copy to new one.
    Cheers
    Manohar

  • What are the advantage of using Oracle Database when compare to SQL SERVER

    Hi all
    Please tell anyone about
    what are the advantage of using Oracle Database when compare to SQL SERVER
    Thanks in advance
    Balamurugan S

    user12842738 wrote:
    Hi,
    There are various differences between the two.
    1. SQL Server is only Windows, but Oracle runs on almost all Platforms.
    2. You can have multiple databases in SQL Server, but Oracle provides you only one database per instance.Given that the very term 'database' has s different meaning in the two products, this "difference" is absolutely meaningless.
    3. SQL Server provides T-SQL for writing programs, whereas Oracle provides PL/SQLWhich means what? Both products have a procedural programming language. They named them differently, and the languages are not interchangeable. Means nothing in comparing the features/strengths/weaknesses/suitability to purpose.
    4. Backup types in both are the same. (Except Oracle provides an additional backup called Logical Backup.)You make that sound like "Logical Backup" is something more than it is. It is nothing more than an export of the data and metadata. Many experts don't even consider it a backup. I'm sure SQL Server provides the same functionality though they probably call it by some other name.
    5. Both provide High Availability.Well, I guess they both have a suite of features they refer to as "High Availability". But what does that really mean? The devil is in the details. Remember, the two products don't even agree on what constitutes a "database".
    6. Both come in various distributions.???
    >
    If you are going for an Implementation, you can try SQL Server Express Edition and Oracle XE which are free to use.
    Then you can choose whichever is comfortable for your needs.
    Thanks.

  • What is the advantages of using oracle10g database?

    Hi,
    I didn't feel many advantages when using oracle10g.
    So what is the advantages of using oracle10g database?
    For common using,not for advance.It is not big different.
    Thanks in advance!

    For normal users versions before 10g is sufficent.But for large applications means distributed applications(grid) 10g is good one

  • How can appear just some values when i filter in the report

    Hi gurus,
    i have a query in a web template, i remember there was a form to do this:
    For example in the report there are many analist, A,B,C.
    For material 1 the analis A,
    For material 2 the analis B,
    For material 3 the analis C,
    when i filter in the report for material 1. and then the analist, i WANT when i click in filter the suggestion is ANALIST  = "A", because is the only analist for this material.
    thats my problem when i filter just material A, and click to show the analist , appears ALL the analist in the suggestion of the report and is not correct because if i cliked in analist B the report doesnt bring values , its logic, , i remember some reports when you go filter, the suggestion to show is accord the values that you are showing, can you help me to do this , thanks!

    Look at the definition of the infobject and in the query for "Query Execution Filter Value Selection"
    This controls the values ie master data or posted items for navigation

  • How to set the router and play the Command & Conquer using direct IP mode?

    My router is WRT54GFirmware Version: v3.03.1
    How to set the router and play the Command & Conquer using direct IP mode with other computer?

    Hi, when you say direct IP mode, what do you mean ? do you wanna play the game online or on the LAN ??
    can you give a few more details.

  • Applying Prompt on Direct Database Request in OBIEE 11g

    Hi
    I am creating Analysis by using 'Direct Database Request' and i am executing SQL Query to direct Database i am NOT creating Business and Presentation Model in RPD. Now i have to apply Filters on Report. any idea how i can do that?
    Example:
    Prompt (filter) :   Year                 Employee Department
                              2011                    HR
                              2012                    IT
                              2013                    Finanical
    Employee Name |    Employee Age   | Gender  | Leave Status     |    Leave Type
    abc                            31                      male       on leave              Sick leave
    xyz                             39                    Female    on leave               Annual leave
    i want to filter by YEAR and Employee Department.
    Regards
    Baig

    NO!!!!!!!!!!
    You Direst SQL query should contain the url
    ex:
    SELECT COL1,COL2,
    '<a href=http://obiapps:9704/analytics/saw.dll?Go&Path=/Answers&path=%2Fshared%2FAppslink%20Dashboards%2F_portal%2FAppslink%20Dashboards%2FEmployee%20Department=Navigate&P0='+BUSINESS_GROUP_NAME+' target=_new>'+BUSINESS_GROUP_NAME+'</a>
    FROM TABLE
    then go for the column format
    Note: in MS SQL + is for concat, you might have to change based on your db.

  • Do we have a feature of export the names of the reports and dashboards that are available in OBIEE?

    Is there any option to export the names of the reports and dashboards that are available in OBIEE?

    Hi,
    You can create report using catalog manager:
    1. Open catalog in Online mode.
    2. Select shared folder & then click on Tool-> create report.
    3. For report name -> select Analysis from drop down list & move "Name" in right pane(or whatever detail u want, u can select from list).
    4. For Dashboard -> select Dashboard from drop down list & then move name in right pane.
    5. Click OK  & save report.

  • Auditing direct database access

    I'm a database security engineer and quite unfamiliar with SAP.
    From the viewpoint of SOX/IT control, I just wonder if there is any necessity to audit Oracle database using Oracle's auditing features (audit_trail=db/os).
    Privileged Oracle users can login to the database bypassing SAP application. In addition, they may be able to change any financial data by executing DML commands directly.
    Is such scenario realistic?
    I'd like your opinions.
    Thanks in advance,
    ebi

    Hi Ebi,
    in my opinion all that Auditing is only interesting to watch your Administrators hands...
    What do you need to access the oracle database?
    - client-software ... at least a jdbc driver
      (May be available on many computers)
    - the hostname, the listener port, a network connection that works and the DB SID
      (that should not be so easy... DB Server should be in a seperate network zone... at best only reachable via the Application Servers)
    - OR: physical access to the database
      (if that is possible... don't think of auditing anymore... there is no security then)
    - a valid user account that has access to the SAP<sid> schema
    (Ok, that should only be the SYSDBA/SYSTEM account, nothing else. Access to these accounts has to be highly secured. Not so much technically but much more on the "human side". It just has to be a real secret. Period.)
    - you've to know at least a bit about the datamodel of SAP databases. Not that easy in a system with more than 40000 tables...
    Really problematic (in my opinion) are the approaches to "connect" the SAP database to the other systems in the company. People make up export and import interfaces (sometimes also direct table access) on database level.
    Let's face it: businesswise security is gone in these cases.
    SAP systems rely on the access "from above", that is through the interfaces and APIs.
    Direct database access is like taking money out of the banks safe instead of withdraw it.
    To come back to your question: if you want to check the dba actions, yes auditing is a nice thing. But it is just a way to proof later on who did something wrong. It's a finger pointing tool.
    I would put more effort in trying to avoid such things from happening - limit the access to the database. Double check changes to the database - via procedures (e.g. no interactive sqlplus access to the productive database) and 4 eyes checks.
    Best regards,
    Lars

Maybe you are looking for