BEx - Calculated/Restricted KF

I am trying to create the following:
Show me all sales orders where confirmed date is greater than cancel date?
All 3 are characteristics and not key figures.
Any suggestions?

Hi,
you could also try to use variables in calculated key figures with replacement path.
See: http://help.sap.com/saphelp_nw04/helpdata/en/03/6ba03cc24efd1de10000000a114084/frameset.htm
and
http://help.sap.com/saphelp_nw04/helpdata/en/ca/5f9ac61a205a459d0e7ef313d10321/frameset.htm
use the formula and conditions as Roberto described.
Heike
Message was edited by: Heike Guder

Similar Messages

  • How to create Calculated/Restricted Key Figures in AO

    All,
    In our project we are consuming Bex Queries for AO Analysis. In these  we have lot of calculated/restricted key figures. In bex we can restrict 2 characterstics to one Keyfigure, So can we able to create calculated/restricted KF in AO
    Regards,
    John

    Hello Tammy,
    We are having a reqauirement in which we have 5 Bex queries built on the same infoporvider and we are trying to consolidate all the 5 queries to one single generic Bex query or two. So in AO we would like to consume this query and build different AO workbooks to meet all the old 5 queries requirement.
    So as part of this process, I would like to know can we create calculate/restricted KF's in AO , that way i can make a better decision to create them in Bex VS AO.
    Thanks for your inputs in advance.
    Regards,
    John
    Message was edited by: sunny johnson

  • Calculated & restricted key figures

    can any body give me the defination of calculated & restricted key figure

    Hi Leela gopal,
    Calculated Keyfigure and Restricted Keyfigure both are Global Keyfigures in the Query, since we define them at infoprovider level.
    Calculated Keyfigure: When you want to do calculations on Keyfigures we go for Calculated keyfigures, and this one we can use for all the queries defiend on that infoprovider.
    Restricted Keyfigure: When you want restrict the keyfigures values with reference to some characterisrtics we will go for Restricted keyfigures. For example, you want to display sales for Jan in one columns and Feb in one column, then we have to create two restricted keyfigure on Sales objects one should be restricted with 0calmonth on Jan and other should be with 0calmonth on Feb.
    Hope you understand.
    Veerendra.

  • Copy Calculated/Restricted Keyfigures between DIFFERENT InfoProviders

    Hello Gurus,
    I am struggling with a problem and there doesn't seem to be any clear help on the web. But maybe you can help me.
    How can one copy a restricted keyfigure from one infoprovider to another different one when all the infoobjects used for the restricted keyfigure are present in both the providers? (multicubes)
    And of course TCode RSZC doesn't work with non-identical infoproviders.
    Thank you very much for your help!
    Marius

    Thank you Cornelia, but this method was clear for me from the begining... it is not an option though... there are about 30 InfoObjects (and another 40 Multiproviders) so there has to be another way. And there is a way because there is an article on BWExpertOnline which describes an easy method (unfortunately this answer is not worth a thousand dollar subscription for me):
    Quick Tip
    Copy Queries Between InfoProviders Painlessly
    by Joerg Boeke, syskoplan AG BEx Analyzer, InfoCubes, Performance, Query, Debug Mode, InfoProvider
    Perhaps, like me, you have spent countless hours successfully creating great queries that contain complex structures for a particular InfoProvider. Then, down the road, you find you need this exact query again for another InfoProvider, but the new InfoProvider has a single characteristic that differs from the one that was the object of your original query. Using SAP transaction RSZC (copying queries between InfoCubes), query definitions can be copied only for use on InfoProviders with the same characteristics. If the key bfigures and characteristics of the new InfoProvider do not match the original 100 percent, this standard method fails.
    So close and yet so far, right? I’ll show you a way, however, to copy the query definition from one InfoProvider to another, regardless of the characteristics of the new target. This method works with both BW 2.x and 3.x installations.
    Source: [http://www.bw-biexpertonline.com/archive/Volume_03_(2005)/Issue_06_(July)/V3I6A2.cfm?session=|http://www.bw-biexpertonline.com/archive/Volume_03_(2005)/Issue_06_(July)/V3I6A2.cfm?session=]
    The above mentioned method handles the copying of queries but when we copy the queries we copy the restricted/calculated keyfigures also.
    Does anybody know this painless method?
    I thank you in advance.
    Marius
    Edited by: Marius Grunca on Feb 12, 2008 6:35 PM

  • Can you share Bex Calculated Key Figures in BI-IP

    We have a requirement to establish P&L planning for a company.  Two questions:
    1. There are a number of calculations that are required for various values (i.e. current month, previous month, current month contract to date, previous month contract to date).  I am trying to determine if I should build these calculations into the query using C-KFs or apply them during ETL as multiple cumulative key figures?  Data volume is small (200 records a month) so we were thinking a key figure based model (instead of using cost elements) for this as they don't utilize FI in ECC in a typical fashion.
    2. After we get this initial data into SAP BI for reporting, we would like simulate it using plan/forecast versions.  In BI-IP I learned that it can use R-KF & C-KF as it uses BeX.  If I create a bunch of C-KFs, can I utilize those calculations in BI-IP so I don't have to create FOX formulas for them?
    Thanks!

    Thanks for your responses.... Unfortuntately, I need to plan on some of these values so it sounds like CKFs won't work for me.  I wonder why SAP claims BI-IP can utilize CKFs if you can't save any of the results of these?  Is it possible to save them as planning items?  
    Also, if I have to do formula/ABAP transformations on the update rules for the flat files coming in, can I leverage any of that in BI-IP if they are on the same infoprovider?  I know FOX fairly well and can off-set time periods (i.e. current month, previous month), but I don't know how to cumulative values in the ABAP routines nor time periods off-sets.
    Please advise if there are any good sources for this documentation.
    Thanks so much!
    -Matt
    [email protected]

  • SAP BEX Calculated Column

    Hi ,
    I would like to thanks to all who helped me in getting my work done for my previous questions.
    This time i came up with some new questions ... is there a way to create a calculated column in the SAP BEx query ? I dont have global query edit permissions but i can chage the Local View of the query.
    1 )
    I have a Original Hire Date and Most Recent Hire Date as two columns in the BEX Query, when i refresh the query it will populate in tow different columns which is usual. But, i would like to combine these two DATE columns (based on some criteria) as one and want to produce as a single DATE columns.
    would it be possible... ?
    2)
    I have two query's in a workbook and the first query will give the employees ID's which i have import in the second query. Is ther any way to import these ID's in to Second query automatically through VBA or some other code ... ?
    Thanks in Advance for you kind help.

    Hello,
    Both are possible.
    1) Please go through the following links:
    due date minus current date
    http://forums.sdn.sap.com/search.jspa?q=date%20bucket&objID=c4&dateRange=all&searchID=72203772&rankBy=10001&start=30
    2) Id directly can not import into the query. but you can display at the end of the query(Left,right,Top,Bottom). You have to use simple excel formula : =+sheet1!A1. It will display all values from sheet1 starting from cell A1 in sheet2 .
    Thanks.
    Please let me know if you need further help.
    Thanks.
    With regards,
    Anand Kumar

  • BEx variables restricted value not shown

    Hello,
    I have 2 variables defined and used in a query. I put both these characteristics as global filters.
    When the query is run, a popup screen allows user to input these 2 variable values.
    The navigation block in the worksheet shows only 1 of the 2 variables values entered by the user. That is, only the restricted value for one variable is shown. The other is not shown. The result is, however, correct.
    Not sure why is it so. Hope to get some clues.
    Thanks.
    Regards,
    Mirella Russo

    Dear AVR,
    Thanks for the reply.
    I placed the period and year infoobjects restricted by their respective variables in the free characteristics area but still the filtered values are not showing, although the period and year characteristics for filtering are shown as normal in the navigation block.
    I have several other reports also using the same period and year variables in free char or global filter section without such 'anomaly'.
    I noted that this problem report has columns restricted also by period and year variables. In fact, the year variable is an offset of -1. Is the problem caused by this restriction?
    I tried creating a new query of the same design. The problem is replicated.
    I hope you can throw me some more clues.
    Appreciate it very much.
    Thank you.
    Best regards,
    Mirella Russo

  • Bex calculation

    Hello gurus,
    I have the data in the cube as follows.
    structure of data for january month is as follows:-
    costcenter -
       char.Infoobject -
        keyfigure (Quantity)
    200 -
                 A  -
                      1000     
    200 -
                 B  -
                        20%
    200 -
                 C  -
              50%
    200 -
                 D  -
              30%
    200 -
                 E  -
              40%
    similarly structure of data for february month:-
    200 -
                A -
              2500     
    200 -
                B -
              35%
    200 -
                C -
                      45%
    200 -
                D -
            25%
    200 -
                E -
                  65%
    and i have the similar data for all months.
    And accordingly, I have the similar data for several costcenters and all months.
    (For ex: - for other costcenters, only the quantity values will be changed).
    A, B, C, D …. values are identified based on costcenter and fiscper.
    my  yeartodate webreport  for january in the browser looks like as follows:-
    costcenter(200)----costcenter(300)     
    A -
    1000  -
    3000
    B----
    20      -
    23
    C----
    50      -
    36                      
    D----
    30
    E
    similarly my  webreport  for february in the browser looks like as follows:-
    costcenter(200)---- costcenter(300)     
    A -
    3500  -
    6500
    B----
    30.71 -
    26
    C----
    46.42 -
    42                      
    D
    I would like to calculate year to date weighted average for one costcenter as follows.
    I have to get the data when the user enters the month in the selection screen.
    Note: - here A, B, C, D ….. are related to same costcenter (i.e. it should not take other costcenters values)
    formula for the record B for january
    [jan(A) * jan (B)] / jan(A)   i.e. [1000*20] / 1000
    formula for the record B for february
    [jan(A) * jan (B) + feb (A) * feb (B)] / [jan(A) + feb (A)] 
    i.e [(100020) + (250035)] / [1000 + 2500] = 30.71
    formula for the record B for march
    [jan(A) * jan (B) + feb (A) * feb (B) + mar (A) * mar (B)] / [jan(A) + feb (A) + mar (A)] 
    formula for the record B for april
    [jan(A) * jan (B) + feb (A) * feb (B) + mar (A) * mar (B) + april (A) * april (B)  ] / [jan(A) + feb (A) + mar (A) + april (A)] 
    Similarly for all months…………..
    I need to calculate using the same formula for the records C, D, E …….. also
    For ex:- formula for the record C for february
    [jan(A) * jan (C) + feb (A) * feb (C)] / [jan(A) + feb (A)]  = 46.42
    formula for the record C for march
    [jan(A) * jan (C) + feb (A) * feb (C) + mar (A) * mar (C)] / [jan(A) + feb (A) + mar (A)] 
    Similarly for all months.
    Any help will be really appreciated.
    Thanks & Regards
    Kumar

    Kumar,
    you could do it with:
    1. Have all the values in the report and have the formulae with the unnecessary values hidden - here you would have one query with all the values for Jan - Dec and have the formulae accordingly.
    Now you can go about creating a view for the relevant months and expose the necessary report for January - here you would have one Query with 12 Key figures each restricted by month and 12 formulae , on this you would have 12 views which correspond to the web templates.
    2. You could have virtual Key Figures and do the same using ABAP - but this would be more complicated
    3. You could instead store the values into an ODS before publishing into the report if you have performance issues.
    Arun
    Assign points if useful

  • BEx calculation for 'average sales order value'

    Hi all,
    Can someone tell me how to use BEx query function to compute the <b>'average sales order values' by month</b>? Thank you.
    J.

    Hi John,
         You've two characteristics in the rows, right? Calendar Month and Order Type.
    Try the option Calculate Result as Average of All Values and
    Calculate Single Value as Nothing Defined? See if this works.
    Or else in Modelling,
    In the Info Object Create/Change screen, you can specify an Exception Aggregation based on
    <b>Aggregate Reference Characteristic</b> Calendar Month.
    I think there's an option for Average Values in the <b>Exception Aggregation</b> tab.
    For more Information,
    http://help.sap.com/saphelp_nw04/helpdata/en/75/21054da1392649948e5b94e4fc4bce/content.htm
    Hope this helps.
    Regards
    Hari
    Message was edited by: Hari Krishnan K

  • Hi - Bex Calculation & Conditions

    Hi All,
    We have a report by Material, Customer & Week. showing the Demand(KF1) for 10 future weeks.
    I need a condition to display the Demand, only if KF 2 is greater than 0(Greater than 0 in any of the 10 weeks).
    If i use 'Conditions', it is displaying the KF value only for the week, when the KF 2 is greater than 0.
    I have created a formula using 'SUMGT' to display the total next to each record and wanted to use the formula in a 'Count' funtion.
    However, when i create this formula, its summing up all the Material & Customers and displaying the Total result.
    Where as, i want the result of each Material - Customer combination.
    Thanks,
    Nisha

    Hi,
    Create a CKF KF3 = KF1*KF2
    Set Query properties to display 0 as blank.
    Also suppress Zeros.
    Display KF3 instead of KF1.
    -Vikram

  • Quantity Conversion in BEX using calculated KF

    Hello all
    Is it possible to apply a Quantity Conversion in BEX, using Restricted or Calculated Key Figure?
    Im trying to apply this solution but the "conversion" tab in the key figure is disabled.
    Thanks in advance for your response.

    Thanks for your response..
    Actually Im using BI7 and for some test, I was trying to create some calculated KF using +the same
    key figure+ but different fixed target unit.
    (I have already made the changes in 0material and activate the standard ODS for that)
    regards,
    mv

  • 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

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

  • Filter by Key Figure or Calculated Key Figure?

    Hi,
    Is it possible to filter a report on key figure or calculated/restricted key figures? If yes, then how?
    Here is an example of my problem:
    I have a restricted key figure for invoice – that picks out the last invoice value between two dates (variable), for instance 2004-01-01 and 2004-12-31. Now, in my query I would like to EXCLUDE materials which don’t have any invoice values between those dates:
    Now:
    Material A 1000 USD
    Material B
    Wanted:
    Material A 1000 USD
    Best Regards
    /Daniel

    Hi Daniel,
    you would use Conditions to achieve this! You can create them in the Bex Query designer.
    Regards,
    michael

  • How to create a Node variable without fetching in Char Restriction.

    Hi Expert - I got the refrence from this thread -  [Hierarchy variables in webi / Universe;
    to create a node variable for hierarchies.
    Requirement - the  characteristic on which you want to create a node variable must not be in Default section and in Free Characteristics Restriction
    But - if we fetch any characteristic in free characteristic then it will appear in Default value section. I donu2019t want that , I donu2019t want that in Default Value section. how can i get this ?
    Also I need to create a node variable on profit center characteristic it without fetching it into Free Characteristics Restriction, Can I do this? How ?

    Hi Ingo - Thanks for your valuable input.
    After putting much efforts - here is result. I fixed my hierarchy , means now there is no hierarchy variable , And i just create a node variable by putting it into Bex characterstic  restriction. - But it looks like this in Universe.
    LovHierNodeL00 G/L Account
    LovHierNodeL00 G/L AccountBase
    LovHierNodeL01 G/L Account
    LovHierNodeL01 G/L AccountBase
    LovHierNodeL02 G/L Account
    LovHierNodeL02 G/L AccountBase
    LovHierNodeL03 G/L Account
    LovHierNodeL03 G/L AccountBase
    LovHierNodeL04 G/L Account
    LovHierNodeL04 G/L AccountBase
    Is this correct- ?
    What i feel is correct - it should look like this -
    LovG/L Account Node Variable
    LovG/L Account Node VariableBase

Maybe you are looking for

  • How do I sync itunes with my ipod touch without erasing my songs

    I buy my songs using the wifi store on my itouch, then I transfer them to my pc. When I synced it, it told me it will have to erase my songs, since I already transfered the songs, I would. But there was a "problem syncing" and it erased my songs and

  • Can't open Pagemaker 6.5 files in ID CS2 - Vista

    I was running ID CS2 on a Windows XP Pro system and had no problems opening Pagemaker 6.5 files. That system recently suffered a processor demise that affected the motherboard and forced me to start over with a new system that's now running Vista Hom

  • I can't use my skype's cam because FaceTime'cam is open.how can I close FaceTime?

    I can't use my skype's cam because a FaceTime's cam is still open. how can I close it?

  • Woeful support - Broadband fault

    We've been figting an uphill battle with Bt now for a mont to get an office move done,. its now at the point i'm cancelling the whole thing, just to avoid the stress, greif and inconvieienc of the whole thing. Anyway, our broadband has always been a

  • Register Acrobat Pro 8 for Mac

    I've just installed Acrobat Professional 8 for Macintosh. I cannot purchase a newer version. The install went fine, but I cannot register the copy I have because Adobe has closed down the server that handled that. How do I register the copy I have? T