Percentage Function in a report

Hi,
I am new to BO and was trying to use percentage function. The function is working fine, but I have created a break on one dimension and hence the percentage is calculated according the break. I want to calculate the percentage for the entire data. I know I can remove the break and calculate it, but i do not want to remove the break. please let me know how do I do that.
Thanks,
MV

Hello,
You should be able to use the "in" operator, such as "in block" in your total formula to get this.
Thanks

Similar Messages

  • Missing results when using percentage function %GT

    Hi all,
    I'm using the percentage function in BEx. As you can see in the left two columns, it works fine when the results are higher then 0,4. All the results less than 0,4 are set to 0. In the last column I calculated the results with an Excel formula. 
    Any Idea, what the problem can be?
    4.392,080          1,5635 %          1,563481163
    997,440          0,0000 %          0,355066085
    4.761,680          1,6951 %          1,695050405
    1.260,000          0,4485 %          0,448531508
    469,600          0,0000 %          0,167166981
    280.916,720     100,0000 %          
    280.916,720     100,0000 %          
    Many thanks in advance!

    Dear Daya sagar,
      Iam tried with taht functionality  the query it self it is showing wrong and iam getting below error as result.
    Diagnosis
    The query contains a formula with the operator %RT. Therefore, the query cannot be released for OLE DB for OLAP.
    The operators %GT, %RT, %CT, SUMGT, SUMRT, SUMCT and LEAF depend on the display of the list in the BEx Analyzer. If you used OLE DB for OLAP or MDX, this formula would deliver unexpected values.
    Procedure
    Do not release the query for OLE DB for OLAP, or do not use the operators %GT, %RT, %CT, SUMGT, SUMRT, SUMCT or LEAF. You may be able to achieve the desired result by selecting constants.
    and report output is not coming.
    Thanks & Regards,
    Sathish

  • ORA-06502 while running a function in a report

    Hi guys,
    I am having a problem executing this function in my report to get the beg balance for my statment.
    any idea as why -- the error I am getting is ORA-06502
    Thanks
    =========================================================
    function CF_OPNE_BALFormula return Number is
    v_bal number;
    v_date date;
    v_prv_period number;
    BEGIN
    v_date := to_char(:P_date_from,'RRRRMM');
    if substr(v_date,5,2) = '01' then
    v_prv_period := to_number(substr(v_date,1,4)-1 ||'13');
    else
    v_prv_period := to_number(add_months(last_day(v_date),-1));
    end if;
    v_bal := csh_acc_pkg.csh_get_acc_bal(:p_own_id,:P_GLA_acc_num,to_char(v_prv_period,'RRRRMM'),'F','ACC');
    return(v_bal);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN RETURN(0);
    END;
    =========================================================

    this might help:
    you have declared v_date as a date, yet you put a string into it. I believe you want it to be a string, since you use SUBSTR to determine the action required.
    So change the declaration to
    v_date varchar2( 6 )
    Furthermore the line
    v_prv_period := to_number(substr(v_date,1,4)-1 ||'13');
    has some problems, I believe.
    substr( v_date, 1, 4 )
    returns a string. You cannot calculate numbers with strings, so re-write the line:
    v_prv_period := to_number(to_number(substr(v_date,1,4)-1 ) ||'13');
    finally:
    to_char(v_prv_period,'RRRRMM')
    isn't right either, I think
    RRRRMM is a date format, whereas v_prv_period is a number.
    Oracle implicitly converts number values to strings when you assign them to a character variable, so this could be a way to call your procedure:
    v_bal := csh_acc_pkg.csh_get_acc_bal(
    :p_own_id
    , :P_GLA_acc_num
    , v_prv_period
    , 'F'
    , 'ACC' );
    Good Luck!

  • IP - Is it possible to call exit planning function from ABAP Report..

    Hi All,
    Greetings.
    Is it possible to call exit planning function from ABAP Report (t-code SE38) ? Or I mean is not limited only to be called from ABAP Report, perhaps from BSP / Web-Dynpro / Function Module.
    If somebody here has been doing it before, I'm keen to ask to kindly share it. Particularly how to call and transfer data to that exit function.
    Or if somebody has done in BPS, appreciate if it can be shared too .
    Thanks a lot and have a good day,
    Best regards,
    Daniel N.

    Hi.
    You can achive this as suggested by Mattias in your previous post.
    Lets say you have next data structure:
    CostCenter | Amount | PercentForDistibution |
    Create input ready query in this format. Restrict cost center by variable type range.
    Create WAD with analysis item.
    When you run web page you enter range of cost centers (lets say you will enter 101004 to 101010).
    I assume you have data only for 101004 in your cube (lets say 1000).
    You will see only one record in your webpage.
    CostCenter | Amount | PercentForDistibution |
    101004       | 1000     | NOTHING
    When you create WAD in analysis item properties set "NUMBER_OF_NEW_LINES" to lets say 1 (so in WAD you will see always one blank line for entering new data).
    Just add 6 new records:
    CostCenter | Amount   | PercentForDistibution |
    101005       | NOTHING| 10
    101006       | NOTHING| 30
    101007       | NOTHING| 20
    101008       | NOTHING| 25
    101009       | NOTHING| 5
    101010       | NOTHING| 10
    Then run planning FOX function like this:
    FOREACH Z_COST_CENTER.
    IF {Amount, Z_COST_CENTER} <> 0
    Z_AMNT_TO_DISTRIBUTE = {Amount, Z_COST_CENTER}.
    ENDIF.
    ENDFOR.
    FOREACH Z_COST_CENTER.
    IF {PercentForDistibution Z_COST_CENTER} <> 0.
    {Amount, Z_COST_CENTER} = Z_AMNT_TO_DISTRIBUTE * {PercentForDistibution Z_COST_CENTER}.
    ENDIF.
    ENDFOR.
    It is not perfect FOX, but as an idead, it should work.
    Regards.

  • How to use percentage functions in BEx with structures

    Hi, I need a help.
    I have a query with a structure in the rows: two characteristics at left then the structure.
    Plant, Year/Month and a structure with 3 lines (Line A = movement type = 1, 2, 3, Line B types 4, 5, 6, Line C types 7, 8, 9).
    In the rows just a quantity.
    I'm trying to use percentage functions CT or GT in the rows, but it's not working.
    The idea is something like:
    Plant 01    07/2010   Line A    30  30%
                                     Line B    20  20%
                                     Line C    50  50%
                     Result                          33%
                     08/2010   Line A    40  20%
                                     Line B    60  30%
                                     Line C   100 50%
                     Result                          66%.
    When I do not use the structure percentage function works well, but with the structure results are completely wrong.
    Any help will be appreciated.
    César Menezes

    You either have to use exception aggregation to give you the total per plant and use that in your percentage calculation, or you could define a formula in the cells. Here you can reference the specific cells you want to use as inputs.

  • How to use oracle functions in Crystal Reports XI using Oracle Server

    Hi all,
    Is it possible  to use oracle functions in Crystal Reports XI using Oracle Server as Data Source.
    If i try to use a procedure,i am getting error with message "Invalid Arguement Provided".
    Functions are not visible objects like tables,views and stored procedures.
    The  jdbs driver i m using is oracle.jdbc.driver.OracleDriver.

    I think it is not possible to add functions in crystal directly for any database. You need to use those functions in a stored procedure and add that storedprocedure as a datasource.
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233353335333833323333%7D.do]
    regards,
    Raghavendra

  • How to Get SUMCT SUMGT functionality in WEBI reports.

    Hello All,
    How to get the SUMCT SUMGT functionality in WebI reports using variables/formulates, as these fictions cant be used in Bex if we are developing a BO report on top of that.
    We are developing BO WebI reports on top of BeX query. nd we are on BO 4.0
    I tried to search in SDN but didnt got any relevant link.
    Thanks  & Regards
    Neeraj.

    Hello,
    Srry for disturbance.
    Got the soln for the same. Can be achieved easily using report context.
    For more details refer below link.. :
    http://www.dagira.com/2010/01/04/calculation-context-part-i-overview/
    Neeraj.

  • Function Security Menu Report in Oracle 11i -- URGENT NEED!

    Is there a way that I can run the Function Security Menu report in Oracle 11.5.10 for all responsibilities at the same time? We currently have 175 active responsibilities in the system.
    We also have to provide this info to auditors on a quarterly basis, and it would be great if I didn't have to run this report for each active responsibility. Is there any SQL Script avaliable for this?
    Any help would be very much appreciated?
    Thanks!
    FZ
    Edited by: 993391 on Mar 12, 2013 10:28 AM

    993391 wrote:
    Is there a way that I can run the Function Security Menu report in Oracle 11.5.10 for all responsibilities at the same time? We currently have 175 active responsibilities in the system.
    We also have to provide this info to auditors on a quarterly basis, and it would be great if I didn't have to run this report for each active responsibility. Did anyone wrote any custom queries to pull this information out for all responsibilities or any help would be very much appreciated? Have you checked the code in (Checking Functions Associated with a User Menu or a Responsibility [ID 948512.1])?
    Thanks,
    Hussein

  • Functions in xl reporter

    What are the functions of the following -
    1. ixParam("vCompany")
    2.ixParam("vItem")
    3.ixDimGet("ITM", "ItemName")
    4."   " & ixDimGet("ITM", "ItemCode")
    I found these functions in sample report of xl reporter i.e Item price list.I tried creating new report by directly pasting these functions,but the report was blank.What are the initial setting of the report before setting these functions ?Where do I specify these initial setting ?

    Hi Dilip
    The ixParam's are parameters created in your report. The ixDimGet are dimension attributes which will retrieve the data Item Code and Item Name.
    When you create a parameter and you execute the report, it will display a window in which you must select the parameter(s) for the report. In other words in your example you would have to select the Company and also an Item from the list.
    Did you get manage to get the e-Iearnings I referred you to? You should really try and go through them. It's the best way to learn and will save you a lot of frustration.
    Daan

  • Any ProperCase function in SSRS report

    There used to be a ProperCase function in Crystal Reports, is there anything similiar in the new SSRS report?

    Yes, you can get proper case/Camel case/tilde case by using 
    =StrConv(Fields!Name.Value,3)
    Above will convert all the words to Proper case, But in some case if you want like this
    New York (NY)
    use this:
    =StrConv(Left(Fields!Name.Value, InStr(Fields!Title.Name, "(") - 1),
    3)
      & Right(Fields!Name.Value, InStr(StrReverse(Fields!Name.Value), "("))

  • Count( ) function in BIP Report

    Hello,
    Can someone please help me with my count( ) function in BIP reports? I have this code in my RTF template below that only count 1 per ssImageType
    <?xdofx:if (ssStatus='Closed') and (ssGroup='EDS OPS') then count((/ssAction=/ssImageType))?><?end-if?>
    The undesired result is coming up below:
    Image Type A = 1
    Image Type A = 1
    Image Type A = 1
    Image Type B = 1
    Where we wanted it to come up as
    Image Type A = 3
    Image Type B = 1
    Image Type C = 0
    Any help would be greatly appreciated.
    Thank you

    What is the item that you want to count? I don't understand what you are trying to do here: count((/ssAction=/ssImageType))?
    If status is closed and ssGroup = EDS OPS, and ssAction = ssImageType, then you want to count the number of records?
    If you want to, send me the rtf and xml file to [email protected] and I can take a look. Send me the exact specification..
    Thanks,
    Bipuser

  • How to implement the Oracle Group by function in Crystal reports?

    Hi all,
    In SQL, for example we have a group function like:
    select  district,state, country, continent, sum(no.of people) from world.
    Now, How to implement this group function in crystal reports? Please advise.
    Thanks in advance..
    Regards,
    sriram

    Hi Vinay,
    Thanks for the prompt reply.
    In one of our report, we are supposed to perform group by for 14 columns to get sum of 3 columns and there by displaying 17 columns in the report.
    When we tried in crystal reports to implement this oracle group by functionality:
    1. We created 14 groups from the Insert->Group option.
    2. By performing this, we got 14 group sections vertically(one inside the other).
    3. Then we created the sum(15th column),sum(16th column), sum(17th column)  by Insert->Summary option.
    4. We suppresed all the group sections except for the last group.
    5. Then, dragged all the groups to the last group section along with the summary fields.
    This is how, we tried to acheive the oracle group by function in Crystal reports.
    Please advise, whether our approach is right. If not, please suggest the appropriate approach with a bit detailed explanation.
    Thanks,
    Sriram.

  • The Problem is about Standard Back Button Function in the Report Program.

    The Problem is about Standard Back Button Function in the Report Program.
    In the Report,First call screen Then Using "write" output some information,That is ok. but In the GUI When I press back button that is standard button,it exit screen to program.
    My question is how can i do When i press back button,the screen can be back forward first screen instand of exit screen to program. Thanks .

    Hi,
    You can define your own PF-STATUS and in that assign the function code for BACK button anything except 'BACK'.
    The code would somewhat look like this:
    SET PF-STATUS 'TEST'.
    write : itab-col1,
               itab-col2.
    in the PF-STATUS 'TEST', assign the function code to BACK button as 'BCK'.
    Now in your program you can use the event AT USER-COMMAND.
    In this you can handle the functionality of BACK button.
    Hope this helps.
    Regards,
    Himanshu

  • Relative function in FR reports

    I want to use a function in FR reports equal to the @Relative function in Essbase NOT the Relative Function found in FR (as it seems to only work on SAP / SSAS database.
    Basically I want the user to select POV x and take all the Lvl 0 members under that member.
    For Example if they are using this on Cost Centers dimension. They pick "Summary Node" x and it will generate all the level 0 members under that summary node only. I don't want all level 0 for the entire dimension. I also don't want all the summary points under that member (ie "IDESC" won't work).
    Must be a stupid thing I'm missing cause this should be an obvious one.
    I'm using 11.1.1.3 Essbase and FR
    Edited by: user11991787 on 28-Apr-2010 12:57 PM

    I don't think what your trying to do is available "out of the box", we have used a workaround to do what you want:
    - include idescendants for the member but apply suppression on the member names that ended in rollup.
    (we were lucky in that the parent members were standardized to contain rollup as the description name).
    Cheers, Iain

  • Percentile & percentage function in SQL or PL/SQL ?

    Hi all,
    I was wondering if there is any
    Percentile or percentage functions in SQL or PL/SQL  to calculate ??
    I came across percentile_rank , but i didnt find really good example online .... so i wasnt sure if thats right function for calculating  percentile Any example will be great !!
    THank you so much !!!

    Thank you so much frank and tubby !! It just amazing to see so many powerful aggregate and anlytic functions are available in 11g.
    Here is the example data i was working on
    with x as (
    select '100' value_amt, '6' cnt  from dual union all
    select '200' value_amt, '5' cnt  from dual union all
    select '500' value_amt, '10' cnt  from dual union all
    select '700' value_amt, '12' cnt  from dual union all
    select '900' value_amt, '14' cnt  from dual )
    select * from x;
    I m trying to calucalte the column called "avg_value" by dividing " value_amt / cnt ". I was just wondering if i need to use any function to calculate
    Here is the column "avg_value" look like
    with y as (
    select '100' value_amt, '6' cnt, '16' avg_value  from dual union all
    select '200' value_amt, '5' cnt,  '40' avg_value from dual union all
    select '500' value_amt, '10' cnt, '50' avg_value from dual union all
    select '700' value_amt, '12' cnt,  '58.33'avg_value from dual union all
    select '900' value_amt, '14' cnt, '64.28' avg_value   from dual )
    select * from y;Thank you so much!! I really appriciate it !!

Maybe you are looking for

  • BAPI_ACC_DOCUMENT_POST

    hi all, i am using BAPI_ACC_DOCUMENT_POST for upload 2 document spreadsheet journal. the bapi is worked successfully (separately process) but it also posted Cross Ccode number automatically. how can i leave it blank. i do not need to input the Cross

  • Any experiences about troubles with ipad 2 after upgraded to IOS7?

    Hello everyone! I've read in several blogs and websites warnings about possible problems or slowdowns of IPAD2 after the upgrade to IOS7. Has anybody decided to "challenge" these warnings? If yes, have you have any problems or is everything going ok?

  • Can iMessages be used without an apple id

    I want to set up IM at my company. All computers are Mac except two PCs.  I'm wondering if I can use iMessage on the Macs and link into it from the PCs without using an apple id.

  • Converting Files in FCE 4

    I am new to FCE4 having used Pinnacle in my PC days. I have converted most of my old VHS home movies to DVD. I would like to load these movies into FCE4 but continue to get error messages. I used a product called HandBrake to get them onto my iMac. I

  • Error Loading PLSQL.jar

    I am getting a java error when trying to load plsql.jar on Oracle 8.1.7 "Exception: java.util.zip.ZipException: invalid END header format" the command i used is loadjava -user sys/passw plsql.jar Thank you for your help