BO/BW Report Level Calculation and Prompts

Hi,
There is an infoprovider in BI , delta enabled.Start Date and End Date are two fields in Infoprovider.
The requirement is to have an Use Indicator Prompt having values Y or N.
if the prompt input is Y , then display only those records where the current date is between start and end date,
and if the prompt input is N, then display all values.
Since the infoprovider will have delta loading, this needs to be done in BI/BO Report Level.
If I have a Keyfigure in BI (using the above logic, having values 0 and 1), then this keyfigure needs to be selected in Web I Report(since the Use Indicator Prompt will be on this keyfigure), if not selected then all the keyfigures will be blank.
I have changed the aggregation of the Keyfigure to 'None' in Universe, but still it doesnt work

Hi,
first of all you should not leverage the InfoProvider directly but instead use the BEx Query and this type of prompting could then be done as an EXIT variable in the BEx query.
ingo

Similar Messages

  • Report Level Calculation query.

    Hi Experts,
      I have a query on one of my reports. I
    had notification,task no in rows and three other key figures  in columns
    1)no of properties failed          which will be at notificatn header level.
    2)no of properties remedied    whcih will be at notification item (i.e task level).
    3) Outstanding properties.
    Please find the sample output which i require for two notifications.
    A has got 10 properties failed and 3 prop remedied in first task , 5 remedied in sec task , 1 remedied in third task.
    So outstanding Prop key figure  for A 2 task is No of properites failed  - [ no of prop remedied first task + sec task].
    Nftn  Task No  (No of Prop Failed)  (No of Prop Remedied )  (Outstanding Prop )
      A     1     10     3     7    10-3     
            2     10     5     2   10 u2013 (3+5)
         3     10     1     1   10-(351)
                       [Result ]         10     9     1
      B     1     5     1     4    5 - 1     
            2     5     2     2    5 - (1+2)
         3     5     0     2    5 - (120)
                        [Result ]         5     3     2
    [Overall Result ]               15                12               3
    I could attain the output as below which is little ok but not 100% complete output they requrie.
    I could not get overall result as 15 for No of Prop Failed because single results make average to get 10 instead of 30.
    So single results 10 and 5 average comes to 7.5. How can we make one result row to act like one condiotn and another outmost result row to other condition.
    How to obtain the outstanding column populated above. What i made is i made sumct(no of prop remedied) so i got 9 for A and 3 for B and then subtracted 10 - 9 across all tasks which is little ok but not absolutely correct.
    Nftn  Task No  (No of Prop Failed)  (No of Prop Remedied )  (Outstanding Prop )
      A     1     10     3     1   10-9     
            2     10     5     1   10 -9
         3     10     1     1   10-9
                     [Result ]            10     9     1
      B     1     5     1     2    5 - 3     
            2     5     2     2    5 - 3
         3     5     0     2    5 - 3
                    [Result]              5     3     2
    [Overall Result]                  7.5              12                   XX
    can any one share some thoughts on this one.
    Thanks
    Vamsi
    Edited by: vamsi talluri on Nov 8, 2010 6:51 PM

    Hi,
    first of all you should not leverage the InfoProvider directly but instead use the BEx Query and this type of prompting could then be done as an EXIT variable in the BEx query.
    ingo

  • Use of Checkbox in Report for calculation and determine checked records

    Dear All,
    Application Express 4.0.1.00.03
    I have a Report based on Invoice table which displays unpaid Invoices.
    Also I have added one check box (Not a column in Invoice field) to each row of the report query, the user will be check to pay the Invoice, on checking of the Invoices I need to
    1. Calculate the total of Invoice Amount for selected Invoices.
    2. After selection of Invoices User will click on a Button which will open the Payment Form (New Page or Same Page Region),
    but some way I need to know the Invoice No. of each Invoice row selected so that I can use all the selected Invoice No's for creating the Payment.
    3. Any way to add a button on each row of the Invoice that will be used for the Payment of that Invoice only.
    One way can be to create a column to save the check box value which I am aware of, but am looking for other alternate if possible.
    Hoping for some good solution.
    Thanks & Regards
    Arif Khadas

    vee wrote:
    You would need to make the amount column(the one which is used for total) editable so that its value can be accessed easily from JS. You can made it read-only if required ( apex_item.text(2,INV_RENT_VALUE + INV_OTHER_VALUE ) ?? ) .
    How can I make it read only, there is no such attribute which can be set for report column as it exists for Items.
    Also Now I have the following report query:
    SELECT  INV_LSE_NUM                      "Contract No.",
            INV_FROM_DATE                    "Collection Date",
            INV_FROM_DATE                    "From Date",
            INV_TO_DATE                      "To Date",
            INV_RENT_VALUE + INV_OTHER_VALUE "Invoice Amount",
            INV_AMOUNT_PAID                  "Amount Paid",
            INV_RENT_VALUE + INV_OTHER_VALUE
                           - INV_AMOUNT_PAID "Balance",
            INV_NUM                          "Invoice No.",
            'Pay'                            "Pay",
            APEX_ITEM.CHECKBOX (1, INV_NUM)  "CB_PAY",
            APEX_ITEM.TEXT (2, INV_RENT_VALUE + INV_OTHER_VALUE - INV_AMOUNT_PAID)
                                             "BAL"
    FROM    RE_INVOICE
    WHERE   INV_COM_NUM    =  :P0_COM_NUM
    AND     INV_RENT_VALUE + INV_OTHER_VALUE > INV_AMOUNT_PAID
    AND     INV_LSE_NUM    =(SELECT TO_NUMBER (C001)
                             FROM   APEX_COLLECTIONS
                             WHERE  COLLECTION_NAME = 'LEASE'
                             AND    SEQ_ID          = TO_NUMBER (:P24_SR_NO))The Next thing is the HTML Header for the Page:
    <script language = "JavaScript" type="text/javascript">
    total = 0;
    $('input[name=f01]:checked').each( function(){
      parent_row = $(this).parents('tr:first');
      amt = ( parent_row.find('input[name=f02]').val() == ' ') ? 0 : parseFloat(parent_row.find('input[name=f02]').val() );
      total += amt;
    $s('TEST',total);  -- Test is an Item on the Page.
    </script>Also I checked from the Page source "CB_PAY" and "BAL" have names f01 and f02 respectively.
    Even now when I check or un-check the Value in TEST item is not displayed as required.
    Anything more is required, what am I missing.
    Thanks & Regards
    Arif Khadas

  • Report Level Trigger and Creation of View

    Hello Experts!
    I want to know that is it possible to create view in database before running the report and after entering values in report's parameter?
    Regards.
    Oracle User.

    Look into the SRW.DO_SQL procedure.

  • Invalid month error in WEBI report level

    Hi,
    I had a issue with date format.I am using oracle10g as a backend database.I have a  date object in universe level i used that object in web intelligence report level.I created prompt for date object after select the date from the list i  am getting " invalid month error". In database level object datatype is timestamp.
    How to solve this issue.can somebody help me to solve the problem.

    Hi
    Date  Objects depends on various formats for different database
    Make sure that u format date like MM/dd/yyyy in universe level . and the object should be in date datatype .
    In the query level use prompt to select dates.
    In report level
    create a variable and use a formula like
    todate(userresponse("Enter date");"")
    Hope this helps U
    Sunil

  • Command level parameters and report level parameters

    Hi All,
    I know it is a basic question.But please guide me.

    Hi Divya,
    Please be specific about what you're looking for help on. Are you trying to understand the difference between the two?
    - Command Level promps are created in the 'Add Command' option and are usually added in the where clause to filter records on the database based on the value/s entered by the user
    - Report Level prompts are created in the report via the Field Explorer and serve the same purpose as the Command Level prompts however offer greater functionality and options for the prompts - e.g creating a date range prompt
    P.S: There are of course many other differences too.
    -Abhilash

  • Using prompt results in formuls.Is it good to have them in a report level or universe level?Here is the requirements.

    User enters year for which sales need to be shown for entire year and past year.Most of the time this would be current year and past year.
    But here if i put filter on report level for current year and add another query for past year,my report is only showing sales for query1 and showing blanks for another query.
    Can some one please help me with it?

    Hi Rajeswari,
    You need to further elaborate your requirement.
    Seems like the second query does not have data for last year.
    What are you trying to achieve?  Are you using prompts input in your report?
    Regards,
    Yuvraj

  • Display Report Level Filter value and Input Controls Value

    Hi,
    Please let me know how to display Report Level Filter value and Input COntrol values in the report.
    I have 2 tabs in the WebI Report. The first tab has the summary details about the other tabs like reprot desc, prompt values, reprot filter values,etc.
    In the 2nd tab I have the actual report which has input controls defined, prompt values and global level report filters.
    Can anyone please tell me how to display the Report level filter values and the Input Control values in the first tab report.
    For ex: Tab 2 has a Report level filter: Region = NA
    I need to display in Tab 1 in as Region: NA
    I used the function ReportFilterSummary but that is giving me other details, I want only the object name and the value.
    Also how to dispaly the Input Control values in the tab 1.
    Please let me know if you have any suggestions for this issue.
    Thanks

    did you try
    =ReportFilter([Year])
    if you are making report filter over the year, it will return the value of the filter
    by the way, the filter should be applied over all the report not to a specific block to be able to get the correct value
    the Input control also considered as report filter, only if you're applying them on the level of the report, if you applying an input contron over a specific block or chart, you will not get the values for ReportFilter
    good luck

  • Calculations for Key Figure at CUBE Level or REPORTING Level

    Hi Folks,
    What are the conditions to decide whether we need to go for keyfigure calculations at infocube level or at reporting level.
    How to achieve them if done at cube level.
    Could anyone provide some KT with examples?
    Regards
    Kittu

    Hi,
    I got your point.
    Could you tell me how to use below mentioned formula at transformation time?
    In brief the formula calculates the number of policies using field  " s endorsement type".
    Formula is as below:
    SUM(CASE WHEN S Endorsementtype IN ('004','015') THEN -1 WHEN S Endorsementtype IS NULL  AND S Gross IS NOT NULL  THEN 1 ELSE 0 END)
    No of policies is a calculated keyfigure.I dont have this field in my datasource.
    could you tell me the steps ?
    Regards
    kittu

  • Simulair report for FBL5N and FBL1N for new general ledger on segment level

    We are working with segments in new G/L ledger. We want to run a open item report where we can combine customers and vendors by segment. The vendors and customers are linked in the master data. In the "old"  reports FBL5N and FBL1N you can do this but not by segment.I found the following report on segment level:
    - S_PCO_36000218 - Receivables: Segment
    - S_PCO_36000219 - Payables: Segment
    What I'm missing is to run 1 report for Customers and vendors. What I'm missing to is that there are only some fields available on line item level. (I like to have invoice number, documentype,.......)
    Is there a standard report for this in new genaral leger?
    Is it possible to ad additional field to th list viewer.

    What is this user license type?  All financial transactions need professional license.
    Thanks,
    Gordon

  • Variance calculation at reporting level

    Dear All,
    There are two key figures in my report - Plan and Actual amount. Now user wants to see the variance between these two in % terms.
    Formula is ( Acutal - plan )/plan *100 . Now this formula works when plan value is not zero when ever the plan value is zero the display will be X . Now user wants to put a check say whenever the plan is zero then display 100 % variance. How can we achieve this at reporting level.
    Thanks and Regards,
    Anup.

    Hi Anup,
    Try something like this:
    (Plan = 0)*100 + (Plan <.> 0)*((Acutal - Plan) / Plan * 100)
    I'm not sure but you might have to use the NOERR function in case of division by zero:
    (Plan = 0)*100 + (Plan <.> 0)*NOERR((Acutal - Plan) / Plan * 100)
    In both samples remove the "."
    Hope it helps.
    BR
    Stefan
    Edited by: Stefan Stefansson on Jul 21, 2009 1:49 PM

  • How to improve the query performance in to report level and designer level

    How to improve the query performance in to report level and designer level......?
    Plz let me know the detail view......

    first its all based on the design of the database, universe and the report.
    at the universe Level, you have to check your Contexts very well to get the optimal performance of the universe and also your joins, keep your joins with key fields, will give you the best performance.
    at the report level, try to make the reports dynamic as much as you can, (Parameters) and so on.
    and when you create a paremeter try to get it match with the key fields in the database.
    good luck
    Amr

  • Customized drill-down report cannot go to line item level (FGI4 and FGI1)

    Hi Expert,
    I created a customized drill-down report using New GL features, as follows:
    FGI4 create form, with reference to form: 0SAPBLNCE-01
    FGI1 create report for the form created.
    After that I set some things like characteristic, variables, and output type.
    When I execute the report, the data shown cannot be drill-down to line item level:
    Goto > Line Item (this function is disabled).
    Kindly advise why I cannot goto line item level, where I copy from standard form: 0SAPBLNCE-01, which ha sthe features of drill-down to line item level.
    Thanks
    sbmel

    Hi sbmel,
    For calling up a line item report in a drill down report you need to make the below settins:-
    - You first have to generate the line item report with program RGRGENSI for your summary table.
    - Then assign the generated line item report to the summary report.
               Assiging the report is part of the 'Change drilldown report' function, which you reach by activating the characteristic selection field and then Extras -> Report assignment.
                In the dialog box that appears, choose the 'Other report type' function and insert the line item report generated earlier, as an ABAP report
    Regards,
    Gaurav
    Edited by: gka2707 on Jul 19, 2010 8:07 AM

  • Drill down report ...  prompt in last level

    Hai,
    can you please send solution in obiee 10g .. I have drill down report like year---qtr----month----day----. I want prompt in day level .. is it possible?
    Appreciate your help....
    Thanks Mikky99

    Hi Srini thanks,
    Also I need to capture the particular days in month report like year(2002)-----month(feb2002) ----- day (1-Feb-2002) in day level rep with prompt...
    Thanks in Advance

  • Passing values to report and prompting.

    I have a multivalue parameter that I pass a list of values to based on permissions. I still need the person running the report to be ablle to pick and choose what they want to see on the report.  When I pass the values to the parameter it turns off prompting. How do I force prompting on a parameter I have set?
    Using:
    VS 2005
    asp.net
    vb.net
    CR XI r2  ver 11.5.8.826
    This is the TEST code.
        Dim rpt As New ReportDocument
        Dim AppPath As String
        Dim ActGrpValues As New ParameterValues
        Dim PDV As New ParameterDiscreteValue
        'Server.MapPath("Sales By Activity Group - Detail.rpt")
        AppPath = Request.PhysicalApplicationPath
        rpt.Load(AppPath + "TUCSNTucson Massage\Sales By Activity Group - Detail.rpt")
        rpt.SetDatabaseLogon("", "")
        rpt.SetParameterValue("start date", "09/01/2009")
        rpt.SetParameterValue("end date", "09/30/2009")
        rpt.SetParameterValue("location", 100)
        'rpt.SetParameterValue("activity group", 1, 10, 20)
        PDV = New ParameterDiscreteValue
        PDV.Value = 26
        ActGrpValues.Add(PDV)
        PDV = New ParameterDiscreteValue
        PDV.Value = 27
        ActGrpValues.Add(PDV)
        PDV = New ParameterDiscreteValue
        PDV.Value = 28
        ActGrpValues.Add(PDV)
        PDV = New ParameterDiscreteValue
        PDV.Value = 29
        ActGrpValues.Add(PDV)
        rpt.SetParameterValue("activity group", PDV)
        CRViewer.ReportSource = rpt
    Activity group is the multivalue field. I have gone through the SDK. How do I turn on the prompting?
    Thanks,
    Dan...
    Edited by: Dan Pearce on Oct 2, 2009 9:29 PM
    Edited by: Dan Pearce on Oct 2, 2009 9:36 PM

    Let me try to clear it up.
    Each user has there own permissions. Those permissions allow them to have different options they can report on.
    So, for me my list that I can report on might be:
    Apple
    Oranges
    Grapes.
    I only want to run the report on oranges not all 3 items. So I would select oranges when prompted.
    Someone else might have this list:
    Apples
    Almonds
    Cakes
    Raisins
    They want to run their report using cakes and Almonds when prompted.
    I want to control the list of items that the end users sees but I still need to allow them to select what items from that list they want on the report. So I pass in the list of items they can report on but they select what items in the list they need.
    Does that help?

Maybe you are looking for

  • Oracle  Standard Manager Max No.Of Requests in Running Status

    Hi, We have a Batch Process program to Kick the Concurrent Programs from the Back-End. Based on the data, there are some programs which kicks more than once. Our issue is while kicking the programs, it kicks the same program multiple times at a time

  • Macbook Pro and Photoshop CS2, Photoshop Elements 4.0?

    I own CS2 for the Mac and use it on my G5. I've already gone through the attempts to install it on my MacBook Pro and had the setup program hang. Ok, so I have to wait for a fix from someone to get that going. Does anyone know if PS Elements 4.0 for

  • I get TONS of nstat_lookup_entry failed: 2

    this is my /var/log/kernel.log: Aug 17 13:35:20: --- last message repeated 20 times --- Aug 17 13:35:29 mini kernel[0]: nstat_lookup_entry failed: 2 Aug 17 13:35:59: --- last message repeated 3 times --- Aug 17 13:36:07 mini kernel[0]: nstat_lookup_e

  • How to improve query performance using infoset

    I create one infoset that including 4 char.and 3 DSO which all are time-dependent.When query run, system show very poor perfomance, sometimes no data show in BEX anayzer. In this case I have to close BEX analyzer at first and then open it again, afte

  • NodeID of business process in solar01 transaction in solution manager

    Hi All , Can any one help me to find out the Nodeid of any business process in solar01 transaction ?? wanna know where can i find out the nodeid ? Thanks in advance ...