Issue filtering a report (based on narrative view) with a dashboard prompt.

I used HTML and java-script codes in narrative view to solve the issue of "linking different reports on selecting values from a drop-down". A new issue has cropped up due to that implementation. The issue is that i can't attach a dashboard prompt to such a report. This means, when i put this report on a dashboard page with a dashboard prompt to help filter the report, the report does not gets filtered (it does not seems to be connected to the dashboard prompt).
Has anyone faced this issue before? If yes, please let me know how to tackle it at the earliest.
Regards,
Ramil

Hi,
sorry , i could not solve the problem. the below case statement i put in the formula of a date column but i got some syntax error.One more thing is case statement is appearing in the select query not in where condition. Do u mean to say if i will put the same column as is prompted then it will come in where condition.
Could u plz help me where i am doing wrong .
case when '@{Period}'='Weekly' then Alerts."Creation Date and Time"  between  '@{PStartDate -7}' and  '@{PStartDate}' end
[nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <between>: Syntax error [nQSError: 26012] . (HY000)
SQL Issued: SELECT Alerts."Business Domain(s)", Alerts."Closing Action Type", Alerts.Closer, case when ''='Weekly' then Alerts."Creation Date and Time" between '' and '' end FROM "Common Productivity Reports for Alerts"

Similar Messages

  • Prompts are not working when we call another report from the narrative view

    Hi,
    In my dashboard i need a table view report which should have scrolling option only for that section.
    For this i added a html tag <iframe ........scrolling="yes"> in the narrative view and i added that narrative view in the report.
    Now,it works fine in the dashboard.
    But when i apply prompts in the dashboard the values are not filtering even though i added the "is prompted" filter condition in the criteria of both narrative view section and the called function.
    Any help would be greatly appriciated.
    Thanks,
    chinna.

    Hi,
    since you have created an iframe dashboard prompt wont work on that report.Same is the case if you put the report in Embeded content.
    One possible workaround is to creaate a dummy report having columns same as that of dashboard prompt.Put all the columns is prmompted in this report
    (No need to create dummy report if you already have those columns in some other report,You can use that report also)
    Then go to your Iframe report and use "filter based on other request".In this way dashboard prompt will filter dummy report and based on dummy report values your iframe report will also filter.
    Thanks
    Sandeep

  • BI Publisher report based on VO (View Objects)

    Hi,
    I would like to know, can we generate BI Publiher report based on VO (view Objects ). Actually we are creating VOs for ADF and want to know if that can be used for generting BIP report.
    Thank,s
    Niraj

    Hi Niraj
    Yes, you can, there is a method on the VO to get the data from it in an XML format. Then use our APIs >> documentation to format it with a template.
    Regards, Tim

  • Report based on a view

    Hi,
    On my page I have a select list with submit (--> computes an application item AI_OEFID) and I have a "form with report" based on a view.
    In my Region Source I have added a where condition: where "EMPID" = :AI_OEFID.
    When I select an employee in the select list the report only shows data of the selected "EMPID", which is fine.
    The "null display value" of my LOV is "Choose employee..."
    When I select "Choose employee..." the report shows "no data", BUT at that moment I want all my employees shown in the report.
    So, I tried the following: I changed my where condition: where "EMPID" IN (:AI_OEFID) and I created another (conditional: when value of LOV = -1) Page Processing computation which computes my application item AI_OEFID with the result of a SQL query: select EMPID from <<VIEW>>.
    When I select "Choose employee..." the report shows only my first EMPID.
    How can I show all my employees in the report when I select the "null value" of my LOV ?
    Thanx,
    Frederik.

    Frederik,
    Have a look at this example:
    http://htmldb.oracle.com/pls/otn/f?p=31517:99
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Error when trying to add sort option to a report based on a view

    Hello,
    I have several reports based on a view. Everytime I am trying to soft them by a column or more, I get this error:
    failed to parse SQL query:
    ORA-00911: invalid character
    If I take the sort out, it works just fine. Any idea how to fix it?
    PS: got it... it was from the ; at the end of my sql...
    Thank you
    Anca
    Message was edited by:
    ancag

    You seem a little grumpy. Yes, it has acurred to me that no one knows the solution. And no, I have not called tech support yet as I have been distracted lately and spending an hour on the phone trouble shooting is an hour I could be studying. Its much easier to "bump" this thread and hope someone with a suggest will chime in.
    Anyway, please dont just tell me to delete something without giving me an idea of what Im deleting. I have a feeling that this login.keychain deletion will cause me to loose the information already stored. Is this the truth?

  • Reports based on SQL view contain no data. Reports based on tables work just fine

    When we load a report into Crystal reports server that is based on a SQL view the report will run but will contain no data. A report that pulls data from SQL tables works just fine. Running the crystal report on standalone crystal reports works just fine.
    I am completely lost on this one. If you have any ideas please send them my way.

    Are you missing an ODBC / TNS entry on your CMS (or report processing, if clustered env) server?  This could definately be an issue if the report will run locally within CR client, but not when hosted on the enterprise environment.  Another test would be to run the report from CR client ON the CRS / BOE server..

  • Report Based on SQL view not pulling in all parameters

    Post Author: ronhawker
    CA Forum: .NET
    I based a report on a SQL view below:SELECT     TOP (100) PERCENT CorpDirectory.Position, CorpDirectory.PhoneDirect, CorpDirectory.Email, CorpDirectory.Store, CorpDirectory.Name,                       CorpDirectory.PhoneFaxWave, CorpDirectory.Department, Store.StoreName, Store.StoreStreetAddress, Store.StoreCity, Store.StoreState,                       Store.StoreZip, Store.StorePhone, CorpDirectory.DisplayOrderFROM         dbo.CorpDirectory AS CorpDirectory INNER JOIN                      dbo.Store AS Store ON CorpDirectory.Store = Store.StoreORDER BY CorpDirectory.Store, CorpDirectory.Department, CorpDirectory.DisplayOrder, CorpDirectory.Name When the report was created the order by sequence only brought in the first parameter of CorpDirectory.Store. It seemed to ignore the other three order by parameters. I am running 10.2 is VS2005.

    Sharmila,
    Thanks for your response. Maybe I wasn't clear enough in my previous statement. I will give an example of what I am trying to accomplish.
    Let's say I have 2 date fields(SUBMITDATE,COMPLETEDATE) in a table TABLE A
    I want to calculate a field called CYCLETIME with the following conditions:
    If COMPLTEDATE is NULL, then CYCLETIME = SYSDATE-SUBMITDATE
    IF COMPLTEEDATE is not null, then CYCLETIME = COMPLTEEDATE-SUBMITDATE
    Would appreciate any help.
    Thanks
    Dev
    Hi,
    You can do the calculation in the sql query itself. Here is an example which shows the sum of salaray for each department in the scott.emp table.
    select deptno,sum(sal) sal
    from scott.emp
    group by deptno
    Thanks,
    Sharmila

  • WebI report based on Universe upon SAP BEx Queries:Prompt issue

    Hi,
      I am creating Web Intelligence report using Universe based on SAP Bex Queries. In WebI report I created a filter condition as I need to run report based on two specidc dates. I need to schedule report to run 2nd of every month to show data for last month. At present I have the following filter : date between 'Start Date' and 'End Date'. 'Start Date' should always be 'first date of previous month' and End Date be always must be 'Last date of previous Month'. How to do this. The solution I thought would be to create  variables at report/universe level ('first date of previous month' and 'Last date of previous Month') and use in the filter using 'Object from this Query' option.But this 'Object from this Query' option is missing in the prompt.Is there any work around to achieve this.? Could you please help me.
    Nanda Kishore

    Hi all,
    I have a related question too.
    I have 2 queries and need a Combined BEx query written on this for reporting. (WebI)
    In the 2 queries, there is a Field which needs to be restricted.
    But this field should not be restricted in the Combined BEx query.
    So I thought of restricting the Field at the report level. But in this case, the user gets a prompt to enter a value for the field.
    And this is not desirable as per the requirement.
    COuld you please tell me if there is another way of handling this without the user being prompted to enter a value while the report is being run, but still I need selection at the Field level.
    Thanks and Regards,
    Srilakshmi B

  • How to have rownum in a report based on a view

    How to use rownum in a report or tabular form?
    I wanted to number the rows in a report. The most obvious way would be just stick
    rownum in there. There is a view in a database1. It is merely select a,b,c from various
    things joined together and order by pkey1.
    Apex is in database2 so I have to create a view there across the link
    like:
    create or replace view SOME_VIEW as
    select * from OTHER_VIEW@SOMELINK
    alter view SOME_VIEW add constraint PK_SOME_VIEW
    PRIMARY KEY (pkey1)
    DISABLE NOVALIDATE;
    The problem is if I try to include rownum in the query in the report I always get:
    failed to parse SQL query:
    ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc.
    There's no rowid, it knows that the primary key is Pkey1 so what is the problem?
    I know it's rownum that it hates. Maybe I can just number these things some other
    way. However it'd be good to figure out what it is griping about.
    Anyone know?
    Edited by: lake on Mar 12, 2011 9:36 AM

    thanks!
    Actually I made a mistake in testing. And it does work to do this:
    in database1:
    create or replace view VIEW1 as
    select
    rownum "SEQ", etc.
    in database2:
    create view VIEW2 as select * from VIEW1@mylink
    How I screwed up testing that I don't know. I was calling the column NUM before....
    this is good because you can create a report about the next so many of something, such as how many of
    the next batch of mailings have address problems? For that you need to know in what order it will be done and
    when to quit.
    But I'm sure I will use the report rownum thing also. thanks very much.

  • ADF BC: Creating updatable VO based upon DB View with "instead of" trigger

    Hello all,
    I have got an interesting issue. I have an Oracle DB view that is used to hide some complexity in the underlying DB design (it does some unions). This view is updatable because we have created an "instead of" update trigger to update the correct table when a row is updated. This is working fine in SQL.
    Next, we have created an ADF Entity object based upon the view, specifying an appropriate PK for the DB View. Then, we have created an updatable VO based upon the EO. All well and good so far. The issue we have is in trying to commit changes to the DB - because the ADF BC framework is trying to lock the row to update (using SELECT ... FOR UPDATE), it's not working because of ORA-02014 - cannot select FOR UPDATE from view with DISTINCT, GROUP BY, etc.
    This leads me to thinking about overridding doSelect() on the EO as hinted here http://radio.weblogs.com/0118231/stories/2005/07/28/differenceBetweenViewObjectSelectAndEntityDoselectMethod.html
    As a temporary test, we have over-ridden the EO's doSelect to call super.doSelect(false) and it does work, although we will have lost update issues as detailed in Steve's article.
    My questions:
    1). Is overriding doSelect() the correct thing here? Perhaps there is a better way of handling this problem? I do have a base EO class from which all of the EO's extend, so adding this behavior should be straightforward.
    2). Does anyone have example doSelect implementation? I am thinking of overriding doSelect for my EO and calling super.doSelect (lock=false), but then I need to deal with some possible exceptions, no?
    Kind regards,
    John

    Hi John,
    I have exactly the same issue as you experienced back in January. I have a complex data modelling requirement which requires the need to pivot rows into columns using ROW_NUMBER() and PARTITION clauses. To hide the complexity from the middle tier, I have created a database view and appropriate INSTEAD OF triggers and mapped my EO to the view. I have overriden the lock() method on the EO implementation class (to avoid ORA-02014) and would like to try the same solution you used with the pl/sql call to lock the record.
    My question is, how did you manage the release of the lock if the transaction was not rolled back or committed by your application i.e. if the user closed the browser for instance.
    In my naivity, I would like to think that the BC4J framework would release any locks for the database session when it found the servlet session to be terminated however my concern is that the lock would persist and cause complications.
    Any assistance greatly appreciated (if you would be willing to supply your lock() method and pl/sql procedure logic I would be even more grateful!).
    Many thanks,
    Dave
    London

  • Report which concatenates 13 views with union all running slowly

    Oracle 8.1.7 windows 2000 server
    I am trying to improve the performance of a report which is comprised of 13 views.
    When I run each of the views individually, the total run time for the views is less than 5 minutes. When I run the report, it takes 28 minutes.
    Can anyone suggest why the extra time is being taken?
    To reiterate:
    select a,b from c; (executes in 10 seconds)
    select d, e from f (executes in 3 seconds)
    select x, y from z (executes in 1 minute)
    total runs time = 5 minutes
    However,
    select a,b from c
    union all
    select d, e from f
    union all
    select x, y from z (executes in 28 minutes)
    The execution plans do not change between the report and the indiividual views. Views are being concatenated with union all so no sorting is taking place
    Many thanks,
    Jason Parker.
    Edited by: jclparker on Feb 18, 2009 4:26 AM
    Edited by: jclparker on Feb 18, 2009 4:30 AM

    Could you post the execution plan? Please use formatting tags to save the white space while posting the plan.

  • Can we have a view selector at dashboard prompt,plz suggest me

    Hi all,
    I am trying to create a view selector in the dashboard prompt, but I am not getting how to create a view selector .
    I need to create filters as below.
    region:- dropdown list(is prompted) LOB:-dropdown list(is prompted) Operatingunit:- dropdown list(is prompted) Division/Country:-dropdown list(is prompted)
    Practice:-dropdown list(is prompted) Office:- dropdown list(is prompted) Team:-dropdown list(is prompted)
    Viewselection*
    radiobutton Operating unit
    radiobutton Region
    Radiobutton Division/Country
    radiobutton Office
    radiobutton Team
    radiobutton LOB
    radiobutton Practice
    APPLY RESET(these are two buttons)
    Can any one please suggest me what to do, and how to achieve this.
    Thanks,
    Venkat
    Edited by: 991688 on Mar 14, 2013 12:19 PM

    I am not getting how to achieve this filter , can you please suggest me ,How to get it, And also I am trying to plot the pie graph for the data present in the report, but I am unable to display the data in pie graph. Can you please suggest me why this is happening, I played around it almost 3-4hrs, still I am unable to get it. Can you please tell me your suggestions.

  • Interactive report based on complex view

    firefox 24 , apex 4.0 , db11gxe ,
    hi all,
    i created an interactive report with this code :
      select c.client_id , c.client_name , c.age , c.email , c.phone ,
    p.payment_date , sum(p.amount) "summary"
    from clients c , payments p
    where c.client_id = p.client_id
    group by c.client_id , c.client_name , c.age , c.email , c.phone ,
    p.payment_date;
    but the problem was i could not delete any of the rows of the report , because there was no checkbox existed , so i created one with "apex_application.checkbox" , and i have got it now , but
    i still can not delete any rows ,
    i created a button to submit the page , and a process with this code
    FOR i in 1..APEX_APPLICATION.G_F01.count
    LOOP
       DELETE FROM cp
       WHERE client_id = APEX_APPLICATION.G_F01(i);
    END LOOP;
    and sure nothing was deleted , and i am facing this error
    ORA-01732: data manipulation operation not legal on this view

    What is the object "CP" ?
    It sounds like it is a view. If it's the same you've used for the IR, then check out "key preserved views"
    Oracle doc - http://docs.oracle.com/cd/B28359_01/server.111/b28310/views001.htm#ADMIN11784
    Tom Kyte - http://asktom.oracle.com/pls/asktom/f?p=100:11:6474092145067::::P11_QUESTION_ID:548422757486
    There could be another issue once you address the error - depending on how you've defined apex_application.checkbox2 (the other is deprecated)
    You may not be associating the correct value in g_f01

  • Issues in Multiprovider Report, based on Purchase and Inventory Infocubes

    Dear Gurus,
                       There are two reports (1. Report gives INVENTORY details and other report is linked to this report which displays PURCHASE data related to material on INV report Using RRI.) , user wants all the INV info along with PR, PO, PDATE, PRECIEPT.... in the same report.
    To satisfy the above requirement, a multiprovider is created on the above of PUR, INV Infocubes, with Identify (assign) condition for 0CALDAY, 0MATERIAL, 0MAT_PLANT, 0PLANT. Does anymore Infoobject need to be included for assign condition?
    Another Report Template is created to make it out. Time Variable for this Report is in "01.12.2010 - 31.12.2010" format, is this a valid time variable or do I need to create another which considers sys-datum-1.
    Issue: I am unable to get the data for the Fields "Cur.Stock","Total Consumptionu201D, u201CAverage Consumptiom","Below from Consumption","CnsStckReceipts " and getting wrong data for "BLW SFTY"....
    Your help is much appreciated.

    Hi,
    Please check the data in the underlying cube and also check teh multiprovder
    data by t-code listcube.Make sure you have done the proper identation.
    Thanks,
    Saveen

  • Issue importing interactive reporting into excel smart view 9.3

    I am new to smart view, and while importing an interactive document from a system9 portal in excel, it always returns "Error Accessing Import Data", after clicking finish in the wizard, even though i was able to preview the document in the previous step. This also happens for a few other colleagues.
    Wondering if anyone out there may be able to suggest possible root causes, would be greatly appreciated
    Thanks
    Jeffrey

    Copy the HsAddIn.dll, HsSpread.dll, HyperionSmartTag.dll and HsTbar.xla from the Bin folder in the install home of SmartView path : <Drive:>\Oracle\SmartView\Bin (by default)
    Paste the files into the Add Ins folder for that user: C:\document and settings\<User>\ApplicationData\Microsoft\AddIns
    Click the Start Button, then in the "Start Search" box type CMD but DO NOT press Enter yet.
    Program cmd.exe should be found. Right-click on cmd.exe and choose "Run as Administrator" and click "Continue".
    In the command line window register each file from point 1 using regsvr32 command:
    regsvr32 C:\Documents and Settings\<username>\Application Data\Microsoft\AddIns\HsAddIn.dll
    In the Excel 2007 Go to Tools > AddIns > Browser for HsTbar.xla in the AddIns folder and then click OK.
    HTH-
    Jasmine.

Maybe you are looking for

  • Getting Absolute Path of Class orJSP

    I want to know the absolute path of JSP page and any java class in web project. file.getAbsolutePath() Not work as only provide the tomcat path. Any help!

  • Filter Failed Message after HP software update

    My old HP deskjet 932C printer now gets a "filter failed" message since the HP software update. I can't print documents. Any suggestions?

  • Webdynpro Application terminated

    Hi All,         When I run my webdynpro application,I am able to see my first view and when I do a Browser 'Refresh',I get a message "Web Dynpro application terminated. Good bye! ". Pls do suggest me to solve this problem. Thanks in advance, sethu

  • Image Zoom effect

    How is this effect accomplished? http://www.collegian.psu.edu/archive/2009/11/16/student_section_to_shift_in_20.aspx  Speciffically if you click the image of the seating chart to the right it enlarges.  I looked at the source and there is a small bit

  • Attempting to transcode .mpgv files, XMP failed

    I was given a hard drive full of files and asked to transcode them to be uploaded to vimeo (suggested settings). I am currently having trouble with a bunch of files that have had their extensions changed (to .mov from I don't know what) or removed. W