Aggregation ---Settings of KF(Key Figure) in Query Designer

Hi,
   What is the impact of the following setting in the query result
Query Designer>KF Definition>Edit-->Aggregation (TAB)
Exception Aggregation-->MAximum and
Ref Characterstic
Thanks

Hi,
To enable the calculation of key figures, the data from the InfoProvider has to be aggregated to the detail level of the query and formulas may also need to be calculated. The system has to aggregate using multiple characteristics. In regard to a selected characteristic, the system can aggregate with another rule for each key figure (exception aggregation).
http://help.sap.com/saphelp_nw04s/helpdata/en/75/21054da1392649948e5b94e4fc4bce/frameset.htm
Exception aggregation ?
http://help.sap.com/saphelp_nw04s/helpdata/en/43/53717c223a1bcde10000000a1553f7/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/47/4d6d902dbb22c5e10000000a42189d/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/47/5dfdca3ea9427fe10000000a42189d/content.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/d2/e0173f5ff48443e10000000a114084/frameset.htm
Rgs,
I.R.K

Similar Messages

  • Sort data by key figure in Query Designer

    Hi Gurus,
    Is it possible to sort a query according to a key figure from Query designer?
    Thanks

    Using condition TOP N is the solution

  • How to copy restricted key figures in query designer ?

    hi,
    i have created a query in query designer (BI 7.0).
    How can i copy existing restricted key figures ? i can't find anything. i always have to create a new one, and then i have to do all the things like 'details of selection' etc.... manually. that CANNOT be, there MUST be a way to copy those key figures.
    any ideas ?
    best regards, Martin

    Hi Martin,
    Restricted key figures can be stored on the infoprovider basis . For which right click on the key figure (left hand side pane ), Select the necessary key figure and assign the restriction through characteristics combination, and give it a restriction and save it . Next tiem when you create query on the same info provider it should appear in the left hand side as readymade reusable piece .
    Hope that helps.
    Regards
    Mr Kapadia

  • How to search for Key Figures in Query Designer 7.0?

    Hi,
    in BEx Query Designer 3.5 there was a search function to look after key figures or characteristics. Is there a search function in Query Designer 7.0?
    Thanks.

    Hi,
    QD 3.x version has "Find" option to identify the KF and Characteristics,but the same is not available with QD 7.x.
    Reason could be:
    With QD 7.x,just by typing the starting letters of KF or Characteristics by Keyboard itself,it will highlight you the entries.Hence there is no explicit Find option provided.But in case of QD 3.x,they gave it explicitely.
    Rgds,
    Murali

  • Calculated Key Figures in Query Designer - translation

    Hello Experts,
    I created  a few Caclulated Key Figure in the Query Designer. They have a GUID and a text description.
    I would like to know:
    1) How these CKF are represented in ABAP on the system and where I can find them - some database table  ?
    2) If I want the description to be available in many languages how can I handle this ?
    Thanks a lot
    Rado

    Check this
    Tables analysed by analyze_rsz_tables
    Khaja

  • Currency translation for a restricted key figure in Query designer

    Dear Experts,
    In my query i am using a restricted Keyfigure (ZRKF1 which is reusable). I have to change the currency translation key of the restricted Key Figure  from zcur1 to zcur2. I am not able to edit zrkf1 Currency translation in the properties( It is in gray colour) ,while i can do it for a normal keyfigure.  if i edit zrkf1 then other queries will be affected. How should i solve this? Can i copy and paste the zrkf1 to zrkf2 in order to use zrkf2 with currency translation zcur2 in my query ? How can i coy and paste restricted key figure?
    Thanks,
    Riya

    Hello Riya
    I think you can't change the currency transaltion type for RKF... to change it in RKF just make the changes in the KF which you have used in RKF....
    If you don't want to change the CURR translation type in KF1 than copy it paste it (KF2)and change in that KF2...now u can use KF2 in restricted KF...
    Thanks
    Tripple k

  • Restricted Key Figure in Query Designer

    Hi,
    I have defined a Input-Variable on the Characteristic 0PURCH_ORG (Purchasing Org.) in the Query Designer.
    This Variable is Mandator and represents "Selection Option". Means, the user has to give the Input-Varaible for ex. 0010...0011.
    Now my requirement is to define a restriced key figure where these Purchasing Org. from Input-Variable must exclude
    in the restriced key figure. I cannot exclude the Input-Varaible in restriced Key Figure as it represents "Selection Option".
    I tried to define a Customer-Exit Variable (Selection Option) on the Characteristic 0PURCH_ORG which should exclude the Input-Variable.
    But the ABAP-Code for Customer-Exit Variable doesn't work.
    Any clue, how I can solve this problem?
    Thanks

    Hi Moha Nan,
    A variable of the type selection option can not be excluded therefore a variable exit is your only option. What is the current ABAP you have written and why doesn't it work? Maybe we can find the issue with the coding.
    You need one variable of the type selection option and another one to read the first variable and reverse the option sign (from include to exclude).
    Regards,
    Alex.

  • Creating a resticted Key Figure in Query Designer (3.5)

    Hello, hope your all well!
    I'm trying to create a restricted key figure that's related to the publication date of one of our titles.
    I've tried to create a Structure that shows one text result if the publication date is the same or greater than 01.01.2008 and another if it's less. However, in my results it seems to be bringing two results for each line, one with each text result.
    Could anyone point my in the right direction?
    Have a fantastic weekend,
    Rhys

    Sorry, I'm new at this; what do you mean by inputs?
    I'm trying to create something in the query designer that displays one text result if the result is lower than a certain number and another if higher,
    Hope that makes sense.
    Take care!
    Rhys

  • Error in total of Key figure in query designing

    Dear Friends,
    I am new at query designing & am stuck in a problem.
    I have a CKF named Load in the column.
    When I select District & Complaint No.in rows the result is some 100 rows and upon exporting the result in excel & summing up load the total comes out to be right..............................
    BUT in web browser when i choose only District in the row and the result is a single row the sum of load displayed is incorrect.............wht cn b the possible reason of this??
    Thnx in advance.

    Hi Dear, i asume every districwise total also calculated. pls check onemoretime.
    Regards
    Amulu

  • Exception Aggregation for a Calculated Key Figure in a Structure

    Hello BI world,
    Please can someone tell me if it is technically possible to use "exception aggregation (count) in a calculated key figure within a structure.
    The definition of the structure is:
    Rows: Characteristic (Selection) = Problem type (0CATCODE_FE)  = "AF01"
    Colums (Selections) Month 1 , Month 2, Month 3, etc .. Total
                 Details of the selection for each month
                           0CALMONTH = Variable (offset+1 for Month 2 , 3 etc)
                                   1KYFNM = CKF
    Calculated Key Figure (CKF) =
                       General Tab:  = Key Figure "0CAUSE_CNT"
                       Aggregation Tab - Exception Aggregation = Count All Values
                                                 Ref Characteristic = Problem type (0CATCODE_FE)
                                                    Calculation After Aggregation = not ticked
                       Local Calculations Tab = All "Nothing Defined"
    What I am trying to achieve is the "count" of "Category codes"  for each month specified in the structure.
    I have looked in the cube and there should be a "category Code" count of "9" for Jan 2008 for notifcation type AF01 but the query shows 0?
    Thanks in advance, points will be awarded.
    Steve

    Still not working? Not sure why? Have tried both answers and just not counting...
    Is there any restrictions on using "exception aggregation" in a calculated key figures in a structure?
    The structure is in the columns and it is a selection that includes the CKF with the exception aggregation plus a restriction on calendar month using a variable?
    Any help greatly appreciated.
    Thanks in advance.
    Steve

  • Building a new Cube Vs Restricted Key figure in Query - Performance issue

    Hi,
    I have a requirement to create  a OPEX restricted key figure in Query. The problem is that the key figure should be restricted to about 30 GL Accounts and almost 300 Cost centers.
    I do not know if this might cause performance issue in the query. At the moment, I am thinking of creating a new OPEX cube and load only those 30 GL Accounts, 300 cost  centers and Amount. and  include OPEX  in multiprovider in order to get OPEX
    amount in the report.
    whats the best solution - creating OPEX restricted key figure or OPEX cube ?
    thanks,
    Bhat

    I think you should go for cube as all the restrcited key figure are calculated at OLAP runtime so it will definitely affect the query performance.There are a lot of costcenter for which you have to restrict it so definitely during the runtime of query it will take a lot of time to fetch tha data from infoprovider.Its better that you create a cube with the restrictions and include it in MP.It will definitely save a lot of time during query execution
    Edited by: shyam agarwal on Feb 29, 2012 10:26 AM

  • Do i have to select all the key figures when i design a query off of a cube

    Do i have to select all the key figures when i design a query off of a cube? i have three keyfigures on the top of the three keyfigures it says calculated keyfigure. kind of lost dont know what to do. please let me know.
    Thanks!
    York

    No, you have to select at least one.
    Calculated keyfigure (CKF) means it's a formula of two or more other keyfigures. You can select, right-mouse click, display properties and you see how it is composed.
    Under calculated keyfigures you see all available keyfigures of the infoprovider you build the query on. Just move them by drag-and drop from the left to the right into the columns.
    You can have also restricted keyfigures (RKF). This means a keyfigure is restricted by one or more characterstics and their values.
    Hope you got an idea.
    Regards,
    Juergen

  • Key date in query designer

    Hi All,
    I have a requirements to read data based on t.code S_AHR_61016403 by using Trip Begins On date and filter by receipt date therefore I’m using DS 0FI_TV_01 and able to get data into Cube level correctly.
    In Query designer, I have to use trip beginning date and filter by receipt date then put in MTD and YTD bucket based on receipt date.
    For example, trip beginning date 01.07.2014 – 31.07.2014, could get 100 records which has different months data with total amount1500/- but based on receipt date 01.07.2014 – 31.07.2014 there are only 75 records with total amount 1000/-  I only interested total value 1000/-
    I’m thinking to create a Key Date in query designer to read beginning date range and receipt date range. 
    Can anybody give how to achieve this.
    regards
    Naani

    0FI_TV_01 is a transaction datasource. Hence your Trip begin/Enddates are transactional data. You cannot use them as part of Key date in Query designer.
    One more thing, you can't use ranges in Key date. It works only with single date.
    you have to either create two variables in query filter. or restrict your KF with both variables.

  • Exception aggregation on Non-cumulative key figure

    Dear experts,
    I have a problem. We have an InfoCube in BW in which the Activity Journals are loaded every day. In this Activity Journals it is registered that a Material was listed (available) at a customer (value 0 or 1).
    We have a non-cumulative key figure MXW_LISTN with inflow (MXW_LISTI) and outflow (MXW_LISTO). In time this key figure receives +1 or -1 for a customer, material combination.
    I want to use MXW_LISTN in the query in a specific way. The key figure on itselve tells me how many listings there are. However, I want to know how many business partners there are with a listing.
    I was thinking about an exception aggregation on MXW_LISTN with reference characteristic 0BPARTNER and "Count <> 0". BW however refuses to do so and only lets me do simple aggregations such as AVG, MIN, MAX etc.
    Can you think with me and come with an proper solution to count the number of business partners with a listing?
    Your help is very much appreciated and rewarded!
    Best regards, Hans de Klein

    Maybe a solution with virtual key figures is an option?
    Please help me out!
    Best regards, Hans de Klein

  • How to fill a Key figure at Query run time

    Hi All,
    I have a requirement where I have to fill a key figure while the query is running. This value is obtained by multiplying 2 attributes of a Material Master Data object.I  could have used Formula Variable but there are two problems -
    1. I have material in my info provider but not this Material Master Data object.
    2. For a particular material, there are multiple rows in the Master Data object. And I have to pick only one row by applying some condition on a field of the MD object.
    Please let me know if there is some way to implement this.

    Hello,
    You can obtain this using virtual KF. Create a KF and include in the cube on which report is built. Dont have any mapping/rule for the same.
    Now write ur code using SMOD and populate this KF during runtime.
    Regds,
    Shashank

Maybe you are looking for

  • Different Apple IDs for iTunes and iCloud

    As a legacy from MobileMe,  I have one Apple ID for iTunes (around 10 years old) that has all of my purchases, and another for iCloud (created later as a requirement of MobileMe) that has all the email, syncing, etc.  Apparently now I can't use Famil

  • Error while creating activity by using BAPI

    Hi, While creating activity by using BAPI Im getting error as follows, Start processing of refference object handle generated. Integrity rule a d0008 broken business partner with function from vbkakom not vbpakom Integrity rule a d0008 broken edit al

  • My 4th Generation Nano skips songs and won't play some of them

    So, over the past couple of days while I put my 4th Generation Nano on Shuffle mode, it will skip over some songs. Not a delayed reaction, but... say I skip one song. Then it'lll skip over a few, and when I hit the back arrow, it won't play it. Also,

  • Registering Apache 1.3.4 with OAS 407 on RedHat Linux 5.2

    Hi, Has anybody tried or succeeded in registering Apache 1.3.4 with Oracle Application Server 4.0.7 running on RedHat Linux 5.2? We're having trouble registering Apache as an External Web Listener for OAS. Applying the correction for step #2 under re

  • Formatting the output

    Hi everyone in the forum, I do not know if i should post this question here, but i think is the best place. Sorry if i were wrong. just a question because i have no idea how to format the output i need. I have a REAL or FLOAT and the output restricti