%CT percentage function in Calculated Keyfigure missing

Hai,
I want to use the %CT percentage function in Calculated keyfigure.
But I can only find % and %A function under the PERCENTAGE FUNCTION. Am using BW 3.5. Why is it so?
Regards,
Neha Solanki

Hi neha,
This will be not available in CK's u have to use formula to get this.. Just try to create the Formula in the querry instead of CK...
Khaja

Similar Messages

  • Functions in Calculated Keyfigure and New Formula

    Hello All
    I want to know each and every functionality(Under functions)in Calculated Key figure and New Formulae?
    do anyone has docs., on this,if so pl forward to my id
      [email protected]
    regards
    balaji

    Hi Balaji,
       Go though the following links for calculated key figures and formulas
      http://help.sap.com/saphelp_bw31/helpdata/en/f1/0a5a2ee09411d2acb90000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_bw31/helpdata/en/f1/0a5a2ee09411d2acb90000e829fbfe/frameset.htm
    Regards,
    PRK
    Message was edited by: PRK

  • Percentage function in Calculator

    Why is there still not a % button in the Calculator?
    Blimus! Even winbloze can manage percentages
    Ian
    Message was edited by: ianmoff
    Message was edited by: ianmoff

    'Some of us actually now how to calculate a percent without a percent button.'
    I can never remember that though
    But you could also argue that some of us know how to add or work out square roots.
    The point remains the same. Even the most basic child's calculator has a % button. Apple calculators should too.
    This is a thing that's bugged me since I got my first Mac - a Mac Portable running System 6.0!

  • Using result of a Calculated Keyfigure as input for a Virtual Keyfigure

    Hi experts,
    is it possible, to use the result of a calculated keyfigure of a query for the input of a virtual keyfigure und use the virtual keyfigure within the same query?
    My problem: depending on drilldown, I have a different percentage within the calculated keyfigure. And depending on that value, I would like to read a score out of a DSO and fill a virtual keyfigure with that, and show the score in the same query. In my opionion, the only way to calculate the score is on the fly, depending on the navigation step I do. Maybe there is another approach that I do not know.
    I was glad for any ideas. Thank you in advance!
    Regards
    F.L.

    Hi,
    Sorry but a calculated key figure result cannot be used in a virtual key figure calculation. The reason purely being that the CKF calculations happen after the Virtual KF/ Char calculations (through BAdI or CMOD).
    The only solution i see here is that you will need to do the calculations in the VKF logic itself. Please do remember that VKF calculations and population happens for each record bein fetched into OLAP from the Infoprovider for the Filters put into the report.
    Hope it helps.
    Thanks,
    Abhishek.

  • 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

  • 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.

  • 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

  • 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 !!

  • Help needed in creating a calculated keyfigure/query exit

    Hi Reporting Gurus
    Please someone give me a solution for my issue.
    I have two keyfigures
    Plan Finish Date(PFD)
    Actual Finish Date(AFD)
    I have one calculated keyfigure
    Delivery Status = (AFD<=PFD) .  When this condition is met it returns ‘1’ else ‘0’.
    But Delivery Status = (AFD<=PFD)  returns ‘1’  if AFD and PFD both exists and if the condition is met and also works (returns ‘1’) for the scenarios mentioned  below.
    1.     if AFD is blank and PFD is filled
    2.     if AFD and PFD both is blank.
    So I need  a solution for my issue in such a way that
    Delivery Status = (AFD<=PFD)  should return ‘1’ only if AFD and PFD both exists and only if AFD<=PFD.
    For rest of all the scenarios my calculated keyfigure should return ‘0’ , i.e.,
    1.if AFD is blank and PFD is filled
    2.if AFD and PFD both is blank.
    3.if AFD is filled and PFD is blank.
    How to achieve this?
    Should I have to write a customer exit variable and incorporate ABAP codes or should I have to write VB macros or can we have a calculated keyfigure with a necessary logic or is there any other way to achieve it.
    Please help me out.
    Thanks in Advance,
    Have a nice day
    Regards
    Sam

    You can create a new calculated key figure which calculates the result which looks as follows...
    =  ((AFD<>0) AND (PFD<>0) AND (AFD<=PFD)) * 1 + 0
        Please check the syntax when done. You can refer to the below link for more info abt using IF ELSE operations in calculated keyfigures. Please let me know if you come across any issues.
    http://help.sap.com/saphelp_nw04/helpdata/en/23/17f13a2f160f28e10000000a114084/content.htm

  • Calculated keyfigures not defined correctly error when executing query

    Hi Experts,
    I changed calculations in the calculated keyfigures and saved successfully.
    when I execute the query in BI7 Bex, I am getting errors like query element not defined correctly in the query. when I look into query in the designer its giving info messages for many calculated keyfigures saying reusable and saving can influence other queries.
    I reverted back the changes but the errors still coming up. I tried to copy the query and run it ..still didnt helped..
    Please suggest me with the solution..
    Quick replies are much appreciated and awarded.
    Thanks
    Vanaja

    Hi,
    The calculated keyfigure is the difference of two other calculated keyfigures...
    I tried to re-drag and drop into keyfigures column and didn't worked and still getting the errors.
    Please suggest some more..
    Thanks
    Vanaja

  • Error in Percentage function - %GT

    Hi,
    Im using Percentage function %GT like:
    %GT 'Key Figure'
    But when i execute my query i am getting below error:
    Exception in BI runtime
    The formula operation %GT is not allowed here (formula 488YAHA2EN2SD4JL3TM9LQDJI)
    Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
    Query ZSD04_GRP_CONTRI could not be opened.
    Log ID: 00144F2D7956005500000F09000006720004428E85AE70BD
    Initial cause
    Message:
    Termination message sent ABEND BRAIN (429): The formula operation %GT is not allowed here (formula 488YAHA2EN2SD4JL3TM9LQDJI)  MSGV1: %GT  MSGV2: 488YAHA2EN2SD4JL3TM9LQDJI  MSGV3: 482PMQCW7PKQWGESLYU7IA3V2
    Im not getting whats the cause.
    Help me in this regard.
    Thanks !

    You are trying to use Formula function %GT in CKF. First of all CKF is a global formula which will be used in all the queries where same infoprovider is used. So while creating CKF these formula functions like SUMCT, SUMGT, SUMRT, %GT, %RT and %CT are not available for CKF.
    If you want to use these formula fucntions %GT ....then create local formula instead of creating CKF.
    In short, Formula functions like SUMCT, SUMGT, SUMRT, %GT, %RT and %CT are created only locally.
    Regards,
    Mona
    Edited by: Mona Kapur on Jan 5, 2008 4:54 AM

  • Condition for Calculated KeyFigure

    Hi everyone,
                          I need to have an additional Keyfigure based on a Condition. For example, If  Staus is Completed , then I need to take  the Net Price as Allocated Price. And if Status is Incomplete , then I need to fill the Net Price as UnAllocated Price.
    So , in this case , I will have 2 Calculated KeyFigures in the Query Designer. One for Allocated Price and the other for Unallocated Price. But how can I restrict t the values based on Status.
    For Example
    Status            Net Price       Allocated Price      UnAllocated Prcie
    Complete          100                   100                       0
    InComplete        200                   0                          200
    1) Is there any way tht  we can avoid displaying Unallocated Price for Complete Status(Since value will be Zero) and Allocated Price for Incomplete Status
    2)Is it better to have these values calculated in END ROutine in the BackEnd.(But this might affect the performance as I require these values only for this Report and I have more than 2 Reports based on the same InfoProvider)
    Thanks and Regards,
    Samir

    Hi,
    Could you please let us know what will be the value of the status field if it is incomplete. Suppose if you have an EMPTY value if it is not complete, you can use the IF ELSE condition with the Boolean operation in the Calculated Keyfigure or Formula as below,
    (Status ==1)* Unallocated Keyfigure + (Status NOT EQUAL 1)*allocated Keyfigure
    If it is not the case then better to handle it at the routine level. Hope this helps.
    Regards,
    Mani

  • Problem inText Variable cannot replace 0calmonth in calculated keyfigure

    Hi ALL,
    I am facing a problem while creating text variable for calculated keyfigure saying canot find the replacement for 0calmonth, I have 5 restricted keyfigures individually created a text variable for it. and now i have created  a calculated keyfigure for displaying text using same text variable .
    Could you please tell me what might be the problem.How to rectify .do response urgent plz.
    Thanks much.

    Hi,
    Please find below the code.
    WHEN 'ZMON_TEXT_CE'.   ---Text Variable
           DATA:text2(60),
                 c_calmonth(6),
                 l_month  TYPE /bi0/oicalmonth,
                  t_year(4),
                 zktx TYPE fcktx.
            CLEAR :text2,c_calmonth,t_year.
            LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = '0CALMYL'.  ------user input variable
              c_calmonth  = loc_var_range-low.
            ENDLOOP.
            l_month = c_calmonth+4(2).
            t_year = c_calmonth+0(4).
            SELECT ktx FROM t247 INTO zktx WHERE spras = 'EN' AND mnr = l_month.
            ENDSELECT.
            CONCATENATE zktx '-' t_year INTO text2.
            IF text2 <> ' '.
              l_t_range-sign = 'I'.
              l_t_range-opt = 'EQ'.
              l_t_range-low = text2.
              APPEND l_t_range TO e_t_range.
            ENDIF.
    Hope it helps.
    Regards,
    AL

  • Calculated KeyFigure Formula

    Hi All,
    I would like to write some code in Calculated KeyFigure Formula,
    I have checked the forums. pls donot include SAP Help URL's.
    Pls explain, if it is possible to write the code...
    Best Regards,
    Pandu.

    Well, not sure if you saw the info here: http://help.sap.com/saphelp_nw04/helpdata/en/23/17f13a2f160f28e10000000a114084/content.htm
    But you can create the IF THEN by using ( ) in the forumla builder:
    Reqt: IF A > B THEN B + C ELSE A
    Formula: (A > B )* (B + C) + (A <= B ) * A
    Each expression in the ( ) is evaluated as True or False and accordingly outputs 1 or 0.
    Hope this helps...

  • Effect of Restricted Keyfigure & calculated keyfigure in query performance

    Hi,
             What is the effect of Restricted Keyfigure & calculated keyfigure  in Query Performance?
    Regards
    Anil

    As compared to formulas that are evaluated during query execution, calculated key figures are pre-calculated and their definitions are stored in the metadata repository for reuse in queries. The incorporation of business metrics and key performance indicators as calculated key figures, such as gross profit and return on investment (which are frequently used, widely understood, and rarely changed), improve query performance and ensure that calculated key figures are reported consistently by different users. Note that this approach improves query runtime performance but slows InfoCube or ODS object update time. As a rule of thumb, if multiple and frequently used queries use the same formula to compute calculated fields, use calculated key figures instead of formulas.
    RKFs result in additional database processing and complexity in retrieving the query result and therefore should be avoided when possible.
    other than performance, there might be other considerations to determine which one of the options should be used.
    If the RKF's are query specific and not used anywhere in majority of other queries, I would go for structure selections. And from my personal exp, sometimes all the developers end up with so many RKF and CKF's that you get easily lost in the web and not to mention the duplication.
    if the same structure is needed widely across most of the queries, that might be a good idea to have global structure to be available across the provider, which might considerable cut down the development time.

Maybe you are looking for

  • Apple TV does not work after software update

    After being prompted and loading (I think) the newest ATV update all I have on my TV screen is the iTunes icon and underneath that an icon of a USB cable icon.  When the power is plugged in the ATV status light blinks continuously.  Please not my hom

  • Import XML data to textfields in a PDF file

    Can I use LiveCycle Designer 8.2 to auto populate textfields in a PDF-file with data from a XML-file when the user opens the PDF-file? If so, how will I do it? Is there any guide? It works fine in the Livecycle Designer preview but when I open the PD

  • Tv shows and etc in australia

    is there any way of getting tv shows on the istore in australia...its misleading when istore opens in australia as the US store and you cant get any of the stuff they can over here...is this going to be changed?

  • Nail Polish Remover on my computer

    Okay so I knocked some nail polish remover onto my macbook pro, I quickly wiped it up and continued using the computer. I remembered from chem last year that acetone evaporates quickly so when nothing really happened I figured everything was fine...

  • External iSight cam lags on my end

    I have a new Macbook Pro and just got an adapter to go from Firewire 800 to 400 so I can use my external iSight but the video lags like crazy just viewing the video on my end. For example if I start the cam in iChat and view the video or view the vid