Condition in the report!!! URGENT

Hi Gurus,
          I am filtering a charectaristic in the report by A, B, C and D. If the characteristic type is A or B, then, the key figure has to be negative.How to achieve this using conditions in the report????
I already tried using conditions in the query, but it doesnt work. Is there any possibilities using Formula variable or replacement path variable???if so, how can I do that???
Any Help appreciated with points.
Regards,
PNK
Edited by: pnk on Mar 27, 2008 6:17 PM

Hi PNK,
Create a restricted key figure based on your key figure restricting the characteristics tO A and B.
Hide this restricted key figure in display properties.
Based on this restricted key figure create a formula multiplying the same by (-1).
Hope this helps,
Ajay

Similar Messages

  • Issue in using presentation variable as filter condition in the reports

    Hi,
    I have an issue in using presentation variable as filter condition in my reports the details are as follows:
    Details :
    We want to implement the Max and Min variables through Presentation variables only.we do not want to implement it through session variables in this case.
    We have two variables MIN and MAX to be used as Presentation Variables,for a column of the report (which is a quantity),so that the user wants to see the data for this column within a particular range.i.e the Min and the Max.This part has been implemented well . The issue is when the user wants to see the full data.In that case we will not pass any values to these two Presentation Variable or in other words we are not restricting the report data so we are not passing any value to the variables,this is when the report is throwing the error. we want to leave this variables blank in that case.but this is giving error.
    Please suggest how can I overcome this issue.
    Thanks in Advance.
    Regards,
    Praveen

    i think you have to use guided navigation for this. create two reports first is the one you are having currently and second is the one in which remove the presentation variable from the column formula. i.e. the same report with no aggregation applied.
    Now create a dummy report and make it return value only when the presentation variable value is not equal to max or min. guide the report to navigate between the first and second report based on the result of the dummy report.

  • How to supress the single Entries in the report?

    Hi
    I have a report of  "Customer unpaid Cheques". This report displays Customer wise.
    For eg. Let say Customer 1234 cheques have been unpaid and returned many times. Some customers have single time retrns.
    In a report I want to filter the Customers with Single Entry.
    Report is like ths.
    Cust No: Ret.Doc: Cheque No: Amount:
    1234 7999 3331 100
    1234 8999 3332 100
    1234 9999 3333 100
    1235 7777 4444 200
    Customer 1234 has been returned 3 times where as Customer 1235 is ed one time.
    I want a report which displays the customers with more than one returns. The report should be like this. How can I do this..
    1234 7999 3331 100
    1234 8999 3332 100
    1234 9999 3333 100
    Thanks for your help.
    Sudha..

    HI Sudhakar,
    It's bit complex but will work.
    Just create a new formuale with this option F= SUMCT(Amount)( This is basiclly the "result" option you get when you try to create a formlae.
    Now make a calculate key figure with the logic CKF=( Amount - F)
    This will give you basically this kind of difference
                        F   CKF
    1234 7999 3331 100 300 -200
    1234 8999 3332 100 300 -200
    1234 9999 3333 100 300 -200
    1235 7777 4444 200 200  0
    Now put a condition on the report level that show only those rows where the CKF!=0
    IT will show only those value which have moer then one rows.
    Also you can hide these additional columns depending upon your need.
    I think it will work
    If helpful assign points.
    Thanks

  • Conditional formula to supress a section in the first page of the report

    hi all,
    how to programatically add a conditional formula to supress a section only on the first page of the report.
    i am using CR XI R2 RAS server.
    thanks in advance
    Padmanaban V

    Hi Padmanaban,
    You can download samples from [here|https://www.sdn.sap.com/irj/boc/businessobjects-samples]
    Regards,
    Shweta

  • An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database. mail will not be sent.

    Hii all,
    I have a subscription which used to send report email daily 10 am morning 
    now today it does not sent an email the status i s showing above error message ..
    why this occurs ?? at the time of subscription running time ??
    i have checked there is not error of subscription it runs fine ..
    only today errored ..
    Kindly , help me
    Dilip Patil..

    Hi Dilip,
    Based on the error message "An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database." it seems the issue is caused by the Report Server catalog databases are
    corrupted.
    To fix this issue, I suggest that you use the Reporting Services Configuration Manager to recreate the Report Server catalog databases. In addition, please make sure report server instance can connect to the report server database. For more details about Configure
    a Report Server Database Connection (SSRS Configuration Manager), please see the following document:
    http://msdn.microsoft.com/en-IN/library/ms159133.aspx
    Besides, if the issue is caused by the connection to the SQL Server Reporting Services Report Server catalog database is timeout. Please refer to the following thread:
    http://social.technet.microsoft.com/Forums/en-US/db4ca6c2-5445-4ff9-9f63-e20f3859cc70/error-throwing-microsoftreportingservicesdiagnosticsutilitiesreportserverstorageexception-an?forum=sqlreportingservices
    If the problem is still existed, I would appreciate it if you could give us detailed error log, it will help us move more quickly toward a solution.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Data not displaying  the report (Help me out Urgent)

    Hi Folks,
    When i am executing the query and web reports for the date 27/11/2007 & 28/11/2007 am not getting the data its saying "No applicable data found"
    But i can see the data  in the  ODS for those dates.
    Report is working fine till 26/11/2007.
    But when the user is trying to check the reports for the above mentioned dates its not displaying.
    Even in checked it the RSRT as well but the same case over there the data is not displaying.
    Its bit urgent as its month end user wants to see the reports.
    Any help or any clue will be great helpfull and appreciated.
    Urs,
    RK
    *****Points Committed

    HI Suchitra,
    <i>First check out how many records are there in the ODS as on 27th and 28th</i>
    There are totally 750 & 427 records on 27th and 28th.
    <i>At the time of executing the query,are using giving any variable entries?</i>
    Yes we are using variables entires like PO Date & PO number we usually check  the reports giving the date in  PO Date variable,
    Any other clue please?
    Urs,
    RK.

  • Conditions on key figures in the report

    Hi All,
    I have a report requirement where I have to display the orders which have the Net Value = 0 and the Cost > 0. Can I do something like this using formulas in BEx? If so, can someone please give me the process to do it?
    Thanks,
    RPK.

    Hi RPK,
    Create one formula figure (lets named it as 'F1' ( Calculated key figure ) which should look like
    (IF  NET VALUE == 0 and if COST > 0 )
    Create conditions on the query and in the condition specify F1 > 0 .
    And result will be as per expectation
    Hope that helps.
    Regards
    Mr Kapadia

  • Conditional Formula to supress page header in 1st page of the report

    hi,
    how to programatically add a conditional formula to supress a section only on the first page of the report.
    i am using CR XI R2 RAS server.
    thanks in advance
    Padmanaban V

    Try it first in CR Designer, then when you get the formula collect you'll see how it's done. If you can't do it in the designer then you can't do it in code, same set of API's.

  • Hot to put conditions in the query.(Very very urgent )

    Hi BW Gurus,
    Pls give me a solution for this one i have to give it today only the report pls consider this as urgent.
    new BW report, following is an explanation of the report requirement  what the report would look like.
    The logic of the report is to retrieve all chargebacks based on certain Selection Criteria entered by the user.
    Selection Criteria are as follows:
    Company Code
    Posting Key - this should not be a value entered by the user
    Customer
    Reason Code
    There should also be a selection parameter available to the user to specify the report type. The selection list should be as follows:
    Top 3
    Top 5
    Top 10
    Top 15
    Top 20
    Top 25
    Each of the above may be viewed as a report variant. This selection parameter basically specifies the number of customers to be displayed, e.g. Top 3 means that the top 3 customers from a chargeback total perspective should be displayed.
    The report should display by Customer by Reason Code the value of the Chargeback. A total for Chargebacks should be calculated per reason code, per customer and a total for the report
    The report should also provide drill down capability in that the user should be given the ability to drill down by customer by reason code to display all chargeback line items that make up the total for that reason code for that customer.
    Thanks in advance.

    My pleasure Arun!! Actually I was on BEx screen.. so I cud see that varible entry on hand..
    Yeah..you are right.I think this is more on drilling down...,
    I think,
    One requrement looks like demanding Reason code, Customer sequence and Other demanding Customer and Reason code sequence..
    Hold on for experts comments..
    Venu,
    I sugget put everything in Navigational and place only 'Company' code in the rows.. and ask user to drill down in the sequence..
    regards,
    Hari

  • URGENT : how to change the report to use two date sets

    Hi,
    I have a summary report with the name of the sales agents and their total sales for the period from so and so. Now I need to run the same report to be able to see their total sales but from two set of dates, for eg. the same report for 2006 and 2007, side by side to compare the sales done by these agents.. to get an idea if their performance is improving, etc. How do I do this??
    The report already has two parameters date1 and date2, so in this I can give the date as from 01-JAN-2006 to 31-MAR-2006. But in the same report, I also need the total sales from 01-JAN-2007 to 31-MAR-2007, so that it can be compared.
    Please advise. Its urgent. Its for the chairman.
    Thx.

    Hi,
    I have a summary report with the name of the sales agents and their total sales for the period from so and so. Now I need to run the same report to be able to see their total sales but from two set of dates, for eg. the same report for 2006 and 2007, side by side to compare the sales done by these agents.. to get an idea if their performance is improving, etc. How do I do this??
    The report already has two parameters date1 and date2, so in this I can give the date as from 01-JAN-2006 to 31-MAR-2006. But in the same report, I also need the total sales from 01-JAN-2007 to 31-MAR-2007, so that it can be compared.
    Please advise. Its urgent. Its for the chairman.
    Thx.

  • How to integrate conditional colors to the Report

    <!--Hi all APEX gurus,
    I would like to ask if you could help me with the problem how to integrate conditional COLORS to the Report. I need to display Severity field in RED but how to include the multiple "quotation marks" and 'apostrophs' to the query below?
    I need to replace i."Severity" field in the query below with the DECODE like this:
    DECODE (i."Severity", 1, '<span style="color:red;font-weight:bold">' || i."Severity" || '</span>', i."Severity") "Severity"
    Original Query:
    DECLARE
    q varchar2(4000);
    BEGIN
    q := ' select ';
    q := q || ' i."ID" "ID", ';
    q := q || ' i."Task_ID" "Task ID", ';
    q := q || ' i."Severity" "Severity", ';
    q := q || ' i."Priority" "Priority", ';
    q := q || ' i."Task" "Task Name", ';
    q := q || ' p."Project_Name" "Project" ';
    q := q || ' from ';
    q := q || ' "IDEAS" i, ';
    q := q || ' "PROJECT_LOOKUP" p ';
    q := q || ' where ';
    q := q || ' p."Project_ID" = i."Project_ID" ';
    if :P1_Show != 'ALL' then
    q := q || ' and i."Project_ID" = :P1_Show';
    end if;
    RETURN q;
    END;
    I have tried many variants but still have problem with the " " and ' ' included in the DECODE command together with the q-variable.
    Thank you for any tips and
    Happy New Year!
    AB
    -->

    Hi user487406,
    What about a select like this:
    select i.id,
           i.task_id,
           case i.severity
             when 1 then '&#60;span style="color:red;font-weight:bold"&#62;' || i.severity || '&#60;/span&#62;'
           else
             to_char(i.severity)
           end severity,
           i.priority,
           i.task,
           p.project_name
      from ideas i,
           project_lookup p
    where p.project_id = i.project_id;
    And PL/SQL like this:
    q :=
    ' select i.id, ' ||
    '        i.task_id, ' ||
    '        case i.severity ' ||
    '          when 1 then ''&#60;span style="color:red;font-weight:bold"&#62;'' || i.severity || ''&#60;/span&#62;'' ' ||
    '          else ' ||
    '            to_char(i.severity) ' ||
    '        end severity, ' ||
    '        i.priority, ' ||
    '        i.task, ' ||
    '        p.project_name ' ||
    '   from ideas i, ' ||
    '        project_lookup p ' ||
    '  where p.project_id = i.project_id; '; Regards Pete

  • Please Help Urgently to refresh the report on the change in data

    We want to refresh report at runtime for the Drill Down report if any user changes the Data. We changes the data from the form which is called from the report and we want to this effect on the report on the prompt.
    Is there any method to close the report while it is in the queue of Background Engine? Can we refresh the report ? Please help urgently.
    Thanks in Advance.

    Pritesh,
    Reports goes out to the database and fetches the data (not a snapshot) and returns the information, formats it and displays it. The only way to refresh, is to rerun the report.
    If your are running from the server, you need to make sure you are not fetching from cache (you determine this from destype and set the life of the cache in the servername.ora file).
    I am unaware of any way to programatically close the report once displayed. The user must take action to close the report (unless you call the operating system to kill the display). When you rerun the report from Oracle Forms, you will get fresh data.
    Regards,
    The Oracle Reports Team jls

  • I want to check the status of application No.  For it is written in my account was canceled and I did not do so I urgent news about his condition and the reason for canceled I redial the same time as the sender befo

    Thank you for your attention
    I want to check the status of application No. W439602096
    For it is written in my account was canceled and I did not do so
    I urgent news about his condition and the reason for canceled
    I redial the same time as the sender before you
    We are waiting for you

    This is a user to user forum. You are not talking to Apple here. We cannot help you; you will need to contact wherever the order was placed.

  • Error while generating the report on Test env (for divide condition)

    Hi All,
    I am facing the below error while generating the report in test environment while the same report is working fine on Prod environment.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S1000 code: 1791 message: [Oracle][ODBC][Ora]ORA-01791: not a SELECTed expression. [nQSError: 16001] ODBC error state: S1000 code: 1791 message: [Oracle][ODBC][Ora]ORA-01791: not a SELECTed expression. [nQSError: 16015] SQL statement execution failed. (HY000)
    Actually the error is coming for the below logics:
    COUNT(DISTINCT RMA.RMA)/COUNT(DISTINCT User."User Name")
    "RMA Fact"."Module Backlog"/COUNT(DISTINCT User."User Name")
    Can anyone please tell if I need to make any configuration changes as the same logic works perfectly fine on production but not on test.
    Thanks in advance

    Is anyone having any idea about it...

  • How to pass a value from the report to a form ( BIT OF URGENT ).

    Hi,
    I had created a "Form on a Table with Report" on the report I had remove the edit link and set one of the column feilds that functionality. Now I want to know how to pass that value that is clicked ( having hyper link ) on to the form where it runs a SQL query and then displays the reuslts on the form.
    Illustrating with an example.
    I am having these following columns on the report ( these are the results for the join statement )
    JOBNUM JOBNAME DEPTNUMBER SAL EMPNO LNAME FNAME
    In the above JOBNUM is having Hyper link as I removed the edit image.
    Now this is area I am having problem. When the user clicked on the JOBNUM then on form it should display 20 other columns( pulled from 5 other tables ) which are related to that particualr JOBNUM.
    Anybody give me a solution in which area I have to include my SQL statement and how to pass that selected value to that SQL statement.
    Cheers,
    Krishna

    Hi Ron,
    I am doing exaclty what you have suggested me but no luck. I started changing the DEMO_CUSTOMERS application to my requirements.The report is working fine and on the report I have created a page attribute to the Hyper linked column and linked that to the page 2 and assign that attribute with #JOBNUM#.
    I am able to pass that value on to form when I click on the JOBNUM. But the problem is I am not able to pass that value into the SQL query so that my query pulls 20+ columns on to the Form ( which is second page ).
    Small clarification... On the form region it is said FORM NAME and type is HTML is that is the way the APEX was designed or does it need to say region type as FORM.
    Thanks for your help in advance.
    Cheers,
    Krishna.

Maybe you are looking for

  • How to delete the host on GRID after the target agent alreary been removed

    I already uninstalled the agent on the target host, the server still show on the GRID and show agent is not recheable, what do I need to do in order to delete from the GRID once I delete the agent. thanks

  • HT204053 I have 2 Apple IDs, can I delete one of them?

    Is it possible to delete one of multiple IDs?

  • SOAP Receiver Adapter - Target URL

    Hi, We have a web service scenario, where the Sender is a III Party Java system and PI is the middleware and ECC as our receiver system.  We have a wsdl binding generated from SOAMANAGER.  We are using the WSDL Endpoint as the Target URL in our SOAP

  • My macbook wont turn on help!!??

    My MacBook pro shuts down in the middle of me using and went black and when I hit the power button it went to restart but then died again mu mac isn't even a year yet. What can I do?!?!?

  • FR cannot run inthe web client

    hi, I have installed and configured HFM, FDM, and Financial Report in win2008 server , appache 2.0.59 and sql server 2008... i successfully run the workspace and sharedservices in web client to go on below url workspace:- http://localhost:19000/works