How to use Restricted or Calculated Key figure with Characteristics?

Hi,
Query has characteristics 'Indicator' which has values  'X' and 'Y' depending this value, the Key figure Quantity(which is always +ve) has to be shown on the report either as -ve or +ve.
Do I use Restricted Key figure if so, how? Or can I manage with a Calculated Key figure?
Thanks,
Kamala

Hi Kamala,
You can create 2 RFKs each in which you are restricting the KF with char value X and Y. For the one that needs to be -ve, create a CKF with this RKF and multiply it by -1 in the formula. Then you can create a new CKF that will add this CKF and the other RKF.
Hope this helps...

Similar Messages

  • Add new key figure with characteristics in report painter

    Hi expert,
    I am create a new report painter in GRR2 under report group 8A2 (EC-PCA: Standard Reports) and i would like to create a report show on G/L amount with segment.
    When i click on first column to assign "key figure with characteristics" i am not able to find characteristics "segment".
    Please kindly advice how to create in new characteristics in report painter?
    Thanks.
    p/s : profit center number is same with segment number
    regards,
    ng chong chuan

    Hi,
    "segment" is not a characteristic of classical profit-center accounting (libraries 8A*). Its a New GL characteristic, thus create a report painter report for New GL library.
    best regards, Christian

  • Using Characteristic in Calculated key figure

    Hello every one,
    I need a help. Can anyone help me in solving one requirement.
    I want to know if i can use a Characteristic in calculated key figure.
    Thanks in advance.

    Hi,
    You can try to create a formula variable of type replacement path and supply this char to pull the value from. Evaluate this value as a boolean (1 or 0 for if there is a value or not). Then you can create a new formula using this formula variable and your CKF. If the result is 1, then you get the value of the CKF, or if the indicator returns 0, then you get 0 as the result.
    Hope this helps...

  • How to add unit to calculated key figures in BEx

    How to add unit to BEx calculated key figures in SAP BW BEx?
    I would like to add a unit to a calculated key figure in SAP BW BEx, so that it gets visible on the end user level. Currently the unit field is empty. I calculated the value from various key figures with different units and removed the units with the NODIM()-function. Is there an inverse function to NODIM() with which you can add a specific unit (like EUR or TAG).
    The "How tou2026 Report Data in Alternate Units of Measure" does not seem to cover the point.
    "Quantity Conversion Guide for SAP Business Intelligence" refers to the "Conversion" tab.
    I suppose you have to add a conversion routine, which is 1:1 and sets the target unit defined in BEx.
    Has anyone tried this? Is there a more simple solution?
    OLAP-Quantity Conversion:
    http://help.sap.com/saphelp_nw70/helpdata/EN/27/b65c42b4e05542e10000000a1550b0/frameset.htm

    Hi,
    if your CKF will have always same unit and you have one KF in you inforpovider with this unit, you can try to do this trick
    create a new hidden CKF as new CKF = KF / KF (with this equale new CKF = 1 unit)
    change your old CKF as old CKF = old CKF * new CKF
    let me know if it works.

  • Calculated key figures with incorrect values

    Hi experts,
    i have a requirement whre i have multiple calculated key figures based on different restricted key figures.
    say for eg:
    RKF1-restricted to calmonth 01.2006
    RKF2-restricted to calmoth 01.2007
    ckf1-RKF1 %a RKF2
    RKF3-restricted to calmonth 02.2006
    RKF4-restricted to calmoth 02.2007
    ckf2-RKF3 %a RKF4
    and so on...
    In my output of the report, ALL CKFs are show same result as CKF1!!
    please suggest..
    thank you all in advance

    Hi,
    Indeed my cube is a copy of 0IC_C03.
    Could you please explain more about the filtering.
    I have the following key figures
    0TOTALSTCK
    0ISSTOTSTCK
    0RECTOTSTCK
    ZISSSTCK_VALUE
    ZREC_VALUE
    ZTOTSTKVALUE
    ZTOTSTKVALUE is CKF with inflow and outflow of ZISSSTCK_VALUE
    ZREC_VALUE
    Whenever there is 0 it displays NO CALC possible. I would like to have it blank or 0s.
    thanks

  • How to use a non cumulative key figure in a multi planning area

    Hi
    I'm new to bps, my problem is
    I need to read the last stock quantity and value at plant and material level to do further calculations in a fox formula, so i made a planning area for the cube 0rt_c36 and another for my tc cube where the results should go, then i combine these areas in a multiplanning area.
    problems arise when selecting the key figure in the ratios tab of the multi area, the ratios 0CPTOTSTOBU (last stock) and 0CPTOTSTOPV (last stock purchase value) are not available, only the inflow and outflow ratios are 0CPTOTREBU and 0CPTOTREPV.
    I know when reporting, the actual value for stock is calculated by  bex, namely, there is no data store at database level, so the question is:
    How to obtain last stock for using in bps??
    thank you for any help
    regards
    A. Garduñ

    Hi Azael,
        In the How to Papers, you will find a Guide on how to take a Sanpshot view of the Stocks(How To Handle Inventory Management Scenarios in BW). Basically if you implement the Guide, you will have another cube called ICSNAP1, which will contain stock quantities /values at the end of each month. You will therefore have to take stock at the end of the last month from that cube and add up the relevant receipts and issues to arrive at the current Stock or Stock as on a particular date.
    Hope this helps!
    Regards
    Sriram

  • Restricted/Calculated Key Figures in Query vs MDX?

    Hello All,
    We are embarking on our first project utilizing SAP BW as the Data Warehouse and Web Intelligence as the presentation tool.
    We plan on creating the universes on BW Queries.
    What are the pros and cons of using Restricted and Calculated Key Figures in the query versus creating them in the Universe?  Also from a performance impact point of view if there is any?
    Best Regards,
    Dan Krieg

    Hi Dan,
    I would suppose that there is no big influence on performance. If the calculation for the calculated key figures are very complex I would propose to calculate them on query level. So its easier to use them also in other environments.
    Please take into consideration that OLAP universes are not supported in Crystal Reports. More information you find in the thread [OLAP universes and Crystal Reports|OLAP universes and Crystal Reports;.
    Regards,
    Sebastian

  • Using Explorer with Calculated Key Figures from BEx (BW 7.31 / BI 4.1)

    I'm looking for suggestions on how to leverage data from calculated and restricted key figures in BEx (from a BW 7.31 system) with Business Objects Explorer (from a BI 4.1 system).  Our current process involves some complicated workarounds and with the implementation of BI 4.1 and I'm hoping to streamline things a bit.
    Here is what I had in mind...
    An information space (indexed daily) sitting on a universe (hopefully UNX) that referred to a BEx query on a multiprovider in BW.  My understanding was that universes would be able to consume BEx queries (including their restricted and calculated key figures) in 4.1.  Based on a recent post (http://scn.sap.com/thread/3417905), it appears that the feature that I was hoping for may have not made it into the GA release.  Obviously, I could move the calculations and restrictions into BW ETL or maybe into the universe, but since that work has already been done and lives in the queries, I'm hoping to use them!  Also, we could use a different tool such as WebI, but at this point the user base is comfortable with Explorer and we would like to continue to use it.
    Suggestions? 
    Thanks!
    -S

    Hi McDowell,
    Regarding to the BEx connection in Explorer, SAP provide two solution
    1. BWA connection
    2. Unv on top of connection
    For the UNV situation, you could use the calculated / restricted key figure in the system but please assgin the aggregation level for them (Database delegate is not supported if I am not wrong)
    Also plese consider two points
    1. Data size (UNV cannot support large data size)
    2. Scheduling (Explorer does not support event trigger? correct me if I am wrong)
    Best regards
    Alex yang

  • Restricted & Calculated Key figures and Structures

    Hello Gurus,
    I'm using a BW Query to create my universe and all I see is a class called Key Figures and few objects. I don't see my restricted and Calculated Key figures.
    Also I want to understand how are the Structures in BW Query brought into Universe? All I see is a column class and row class with corresponding objects in it.
    Environment: BO XI 3.1
    Appreciate your help.
    Regards,
    Vijay
    Edited by: vijay dwivedula on Jun 12, 2009 7:46 PM

    Hi Ingo,
    Sorry for getting back a little late on this issue. I've been trying to fix other issues. I'm creating my report out of BW Query and I'm not able to see all the Restricted Key Figures. Also when I try to create my report out of existing key figures and verify the data with BW analyzer the data seems to be different.
    What happens is in my universe I've two classes naming Rows_xyz, Column_abc etc and there are like 25 objects in Rows_xyz when there are supposed to be like 60 key figures and in Column class I have a single object. When I pull in this coulmn obect and pull like 3-4 key figures (which I made sure have data from BW Query Analyzer) doesn't return any data. It doesn't even throw an error as No data to fetch.
    I took the MDX Query that is generated by this report and ran it on the backend and see that there is no data even there. But from the BW Query Analyzer I can see data for this Column and the key figures that I pulled in the report.
    Thank you for your help
    Vijay

  • Error when Using a Calculated Key Figure

    Hi,
    I am having a problem using calculated key figures (CKF's). I am not getting any errors
    when i am creating them but when i pull the same into the report it is giving an error
    SUB FORMULA not available. Can you please advise how to fix this issue.
    Thanks
    Rashmi.

    Hello Rashmi,
    thius is a known issue. The procedure from note 1238872 can be useful:
    Download the BI 7.0 front-end add-on for SAP GUI 7.10, Support Package
    700 from the SAP Service Marketplace.
    Then save the calculated key figures in the InfoProvider (left-hand side
    in the Query Designer):
        o  Select the calculated key figures in the InfoProvider.
        o  Save the calculated key figures using the context menu
        o  or in the properties of the calculated key figures (right-hand
           side in the Query Designer).
        o  If other calculated key figures are used in a calculated key
           figure, save them as described above.
        o  For safety reasons, also save the query definition.
    If the calculated key figure was saved correctly, the system does not
    issue any error messages when you check the query definition (by
    choosing "Menu -> Query -> Check").
    Cheers,
    Ricardo

  • Calculated Key Figures question

    Hi
    In a Purchase Order report I have included a Calculated Key Figures and this report is transported to the QA environment.
    Then I create another report using the same Calculated Key Figures but when I tried to save the query it gives me an error;
    "The query could not be saved due to a problem in transport"
    "BEx transport request 'BD1K900664' is not suitable or not available".
    I was told that when the 1st report uses that Calculated Key Figures and the report transported over to the QA I cannot reuse the same Calculated Key Figures in the new report. Is this true in SAP BI? If so how can I reuse the same Calculated Key Figures in a new report.

    Hello Lai,
    Once you have transported the earlier report along with the original calculated key figure, create one more request by selecting just the cal. key figure which you want to use.
    dont release this request.
    Now any change you make in the cal. key figure will be stored in this newly created request.
    also go ahead and create a new query using this ckf and save it in the newly created request.
    Then you can always release this and transport the same.
    hope this helps..
    let me know for any further issues...
    thanks,

  • Creating Query in Production with Calculated key figures

    Hi BW Experts,
    Can u pls let me know that in case of Production System when we are allowing users to create reports with Adhoc Web Query Designer and using CKF + RKF
    (Calculated key Figure) which is already transported to Production in a specific Package, Is Production system will allow to save report?
    Pls sugges how to solve this problem ..to give permission for users to create reports in production server with CKF RKF?
    Thanks in advance

    rsa1 -> transport conection -> object changeability button -> Set query elements as everything changeable.
    If you want to refine this you have to do by authorizations.

  • Subject: Restricted/Calculated Key Figure

    I am writing a query on 0TCT_C21.  In my Characteristic restriction, I am restricting Process Type to u201CCHAINu201D. Now I want to setup a key figure (it can be calculated or total) which will sum process chain duration (i.e. run time) for all the process types except CHAIN, so it will give total process chain run time. How can I do that?
    I setup a Restricted Key Figure, which restricts Duration to all Process Types except CHAIN, but since filtering on PROCESS TYPE CHAIN has already been done, it is showing me process chain run time as 0. Is there a way to do total of all process types even though I have placed a filter?
    Thanks a lot,

    hi,
    Your query seams to have contradictory restrictions.
    Your Statement: "In my Characteristic restriction, I am restricting Process Type to u201CCHAINu201D".
    You have already restricted teh query with the Process type "CHAIN" and OLAP will take this as Global filter.
    But your next statement:
    "Now I want to setup a key figure (it can be calculated or total) which will sum process chain duration (i.e. run time) for all the process types except CHAIN,"
    By this you want to have key figure with Process Type " Chain".
    This CKF/RKF will be considered a Local filter.
    The global filter will take preference and The report will fetch the data with Process type " CHAIN " Only .
    So after that when your local filter applied on RKF this will 0 as an output.
    My suggestion is:
    Restrict the Key Figures with the process types as and when required.
    Means the key figure value you want to show only for CHAIn and NOT for chain needs to be identified and developed.
    Please modfy the requirement to avoid contracdiction of filters.
    Thanks
    Mukesh

  • Using the function SUM() in a calculated Key Figure

    Hi All,
    I need to create a calculated Key Figure and am looking for the function SUM().Can you please let me know where this is present.I have checked under the "Data Functions" and it does not seem to be present there.
    Thanks
    Aravind Pattabiraman

    Hi,
    Make use of aggragation property of the keyfigure, for summing the values of that KF.
    Regards,
    Rajkandula

  • Calculated Key figures using different key figures

    Hi All,
    I want to create a calculated key figure based on Actual and Plan.Actual values are coming from InfoCube,Plan values are loaded from Excel sheet into different key figure in another infocube.I've created a MultiProvider for these Cubes.Now I want to find the difference between plan and actual.So I created a calculated keyfigures based on the key figures.But the Query is giving error ..
    Then the connection terminated..
    Let me know how to do..
    Raji

    What is the error you are getting?
    First do this.
    In the query, filter on only 1 infoprovider. Check the KF's and see if correct and if you get the error. Then, do the same thing, for the other infoproviders. Once you get no errors that way. Remove the filter. See if the KF's are ok and no errors. Then do your calculation.
    Also, make sure in the definition of the KF's, you are filtering each on the right infoprovider. (For instance, KF1 has a filter on infoprovider1 and KF2 has a filter on infoprovider2.)
    hope this helps!
    /smw

Maybe you are looking for