BEx Query key figure sum different at monthly or at docu number level

I have a query designed in Query Designer. The report is summarized at the monthly level , but the document number is available for drilling down. What's strange is that the sum of the key figures is different when running at the monthly level or when drilling down at the document number level. Can someone share your insight on what how to solve this problem?
Thanks,
Sharon

Hi Sharon
Which key figures give you an incorrect picture or discrpancies in the two displays ?
Check the properties of these key figures. Are any of the key figures posing an issue calculated as 'Formula'. If yes, then what is the Calculate Result as for this KEy Figure ? Is it TOTAL ?
Cheers
Umesh

Similar Messages

  • Dynamic Texts from Bex ( for Key Figures ) not coming to WEBI Query

    Hi Gurus,
    We have a Query in BEx : Each  Key figure column text changes dynamically - Like based on Present month
    it will Display Month +1 Month +2  up to Month +12.  Used  dynamic Text variables .
    But when i created the universe and Webi report , i am missing the text in the column for Key figures .
    How should i get the column text in Webi which is same as in Bex : Points will be awarded for helpful
    answers.
    Thanks
    Magge

    Hi,
    text variables with replacement path are supported in BO4.0, see following document: SAP BusinessObjects BI4 - Supported BEx Query Elements
    As an example after entering 2012 in the prompts window, the name of the corresponding key figure will dynamically change:
    After refreshing and selecting 2013, the column name will update:
    Im not sure though if this is the case with unv universe access to BEx queries.
    Best regards,
    Victor

  • How to copy two different key figures in third key figure in different time bucket.

    Hello,
    I require to copy one key figure-A for 2 months (M+1 and M+2) in other Key figure C. At the same time, I need to copy key figure-B from 3rd month onwards (M+3 onwards) to same key figure C. Is there any way to do this, please suggest.
    Regards
    Rajeev

    Check the following thread
    Defaulting to a KF from 2 KFs, based on different periods
    Thanks,
    Pramod

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

  • BEx query_Calculated key figure

    Hi ,
    I have CalMonth/Year as the time characteristics and Sales amount as keyfigure.When is give a particular month in prompt ie.,Say September ,it should calculate the sales of previus months ie.,Jan to August...and so on ...If April then Jan to March...How do I design it in BEx query designer?Kindly help
    Thanks,
    Arun Uday

    Hi Arun,
    You will have to design this using Customer Exit Variable in following way,
    1) Create a customer exit type variable on 0CALMONTH and make it "ready to input" also.
    2) Create a RKF with 0CALMONTH and restrict it with newly created customer Exit variable and include your key figure i.e. sales amount in same RKF.
    3) Now we will have to do coding in Customer Exit in following manner,
    When 'Variable create on calmonth'.
    If I_step = '2'.
    Data: lv_year type i,
             lv_month type i. 
    loop at i_t_var into wa_var where vname = 'Variable created on calmonth'.
      lv_year = wa_var+0(4).
      lv_month = wa_var+4(2).
    Now populate the required value in 0calmonth variable.
    concatenate '01' lv_year into l_wa_data-low.
    l_wa_data-sign = 'I'.
    l_wa_data-option = 'BT'.
    l_wa_data-high = wa_var-high.
    append l_wa_data to e_t_data.
    exit.
    endif.
    Regards,
    Durgesh.

  • Issue with Bex report - key Figures not populating correctly.

    Hi Experts,
    I am facing an issue with a Bex report. There are three key figures of data type DATE having "Dec - Counter or amount field with comma and sign" datatype. After executing the query, in the report, for some sales documents the key figure fields are coming as 'X' and rest others are coming correctly in the date format as mm\dd\yyyy.
    When i check in the cube, these key figures shows values in decimal format and not in date format. The conversion is happening during execution.
    Pleas show me some light on how to identify the cause of getting 'X' for some Sales documents in the report eventhough some are coming correctly.
    Thanks,
    Anamika
    Edited by: Anamika Soni on Mar 12, 2010 10:48 AM

    Hi,
    The infobject has been defined with datatype "DATE" only. It has also been mapped from datasource to infocube correctly as these key figures are populating correctly for some of the sales documents in the report. It is not like that for all the sales documents the key figures are not converting properly.
    Some Sales documents are not converting into the date fields but for some conversion happens properly in the BEx report. This is the issue.
    Please guide accordingly.
    Many thanks,
    Anamika

  • Key figure summing up issue

    Hi
    I have an infoset based on 3 master data infoobject.Im facing the folloing problem in one of the queries based on the infoset.
    In the main infoobject, i have 2 key figures, amount and wage type number.The record for one employee for e.g has values 2 in both amount as well as wage type number.
    in the report i see that the value for wage type number shows 4 instead of 2. I checked all possible settings in BeX as well as at infoobject level.couldnt find the reason for such a behavior.
    please advise
    Regards
    JP

    Hi JP,
      When you are creating query on an InfoSet, you will get the values multiplied by no of combinations. You have do devide with that no(you will get in infoset, no.of records i think). Than you will get right value.
      Check once again. I am sure.
    Check these out ...
    http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb455f455611d189710000e8322d00/frameset.htm
    Srini

  • 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

  • Query key figures calculation issue

    Dear Sap Gurus,
    I would like to calculate the sum of one key figure on the month m-3 m-2 and m-1
    I have created 3 restricted key figures filtered by month m-3, m-2 and m-1
    i have created a key figures one which one I sum these 3 key figures but the result per month is not egal to the summation but to the value per month
    on the example below
    one this field is what i have D- Sum Other Requirements
    one this field is what i would like to have Sum Other Requirement Past
    Thanks for your answer
    Calendar Year/Month     janv-07     FEB 2007     mars-07
    D- Other Requirements month-6     69,888 PC          
    D- Other Requirements month-5          281,385 PC     
    D- Other Requirements month-4               19,854 PC
    D- Sum Other Requirements     69,888 PC     281,385 PC     19,854 PC
    Sum Other Requirement Past     69,888 PC     351,273 PC     371,127 PC

    Hi,
    Create one RKF based on your key figure,
    go t property of RKF and mark constant selection.
    now in this field you can see the sum of key figure field.
    and you can use it for formula.
    Hope it help you.
    Regards
    Suneet

  • Query key figures showing incorrect values

    Hi,
    key figures in my query are showing incorrect values NO CALC POSSIBLE
    Data in the cube is coming from different datasources and the cube is compressed.
    this is how data in the cube looks like
    plant    Unit   currency    Stock Quantity    Stock Value   total ( *** key figure ( inflow and outflow)
    P001    ST                         1000                   0 
    P001             EUR                                    100
    Query result
    plant       stock(PC)            Stock Quantity   Stock Value       total ( cumy figure ( inflow and outflow)
    P001       No Cal possible    1000                  100                   No Cal possible
    How do I resolve in query or cube level so that the NO CALC possible is not displayed.
    thanks

    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

  • Need Method to Look Up Prices from a 8 X 7 Grid for BW Query Key Figures

    Hello.
    I have Material Groups that have various costs associated with them in the format of an 8 X 7 Excel Grid.
    Rows:
    Shipping
    Packaging
    Labor
    Etc.
    Columns:
    Cost if sales were above 10,000 per month.
    Cost if sales were above 15,000 per month.
    Cost if sales were above 20,000 per month.
    etc.
    I need to figure out a way to have a BW Query lookup the price from the row and column based on the monthly volumes.  (kind of like a VLOOKUP and an HLOOKUP in Excel).
    I thought about simply creating Key Figures for every possible combination, but I would've ended up with 56+ key figures on my ODS object.
    Does anybody have a suggestion for me to do this in a cleaner manner?
    Thanks.

    Hi kenneth,
    If i've understood ur prob correctly than you can use the conditions function in the query...create separate conditions for your criteria and display the output ....
    Ajay

  • In Query key figure are not populated

    Hi Gurus,
    i am using a RSCRMBAPI to get the out put of my query into a Ztable but when i run my program the Ztable is getting data but no key figures are getting populated.
    plz help
    thanks
    neelu

    Hi gurus,
    i just have 1.6lac records with six keyfigures so i think its not the problem of limitation...
    then can somebody help me how to get rid of this, no key figure values are getting populated
    thanks and regards
    Neel

  • BEX - Virtual key-figure

    Hi gentlemen,
    I am facing a problem with a BADI that I created for populating a virtual key figure.
    I simply want to read a masterdata table and populate a key figure. When executing the query, a dump occurs with a very explicit explanation. Unfortunately, I don't know how to solve it.
    Dump:
    You attempted to assign a field to a typed field symbol,
    but the field does not have the required type.      
    Attributes in the BADI:
    P_CHA_0PLANT     Instance Attribute     Private     Type     I     Plant
    P_KYF_ZSHPQTEUT     Instance Attribute     Private     Type     I     Shipment quantity EUT
    See below.
    Define:
    method IF_EX_RSR_OLAP_BADI~DEFINE.
    DATA: l_s_chanm like line of c_t_chanm.
    DATA: l_kyfnm TYPE rsd_kyfnm.
    CASE i_s_rkb1d-infocube.
        WHEN 'ZFM_M01'.
          l_s_chanm-chanm = '0PLANT'.
          l_s_chanm-mode  = rrke_c_mode-read.
          APPEND l_s_chanm TO c_t_chanm.
    l_kyfnm = 'ZSHPQTEUT'.
    APPEND l_kyfnm TO c_t_kyfnm.
    endcase.
    ENDMETHOD. "if_ex_rsr_olap_badi~define   "
    Compute:
    METHOD if_ex_rsr_olap_badi~compute .
      FIELD-SYMBOLS: <fs_ZSHPQTEUT> TYPE /BIC/OIZSHPQTEUT.
      FIELD-SYMBOLS: <fs_0PLANT> TYPE /BI0/OIPLANT.
      ASSIGN COMPONENT P_CHA_0PLANT OF STRUCTURE c_s_data
      TO <fs_0PLANT>.
      ASSIGN COMPONENT P_KYF_ZSHPQTEUT OF STRUCTURE c_s_data
      TO <fs_ZSHPQTEUT>.
      SELECT /BIC/ZSHPQTEUT
      INTO <fs_ZSHPQTEUT>
      UP TO 1 ROWS
      FROM /BI0/PPLANT
      WHERE PLANT = <fs_0PLANT>.
      ENDSELECT.
    ENDMETHOD.
    Thank you in advance.
    Jacques

    Hi Jacques,
    Please include 2 changes:
    1. As suggested by Jen, declare Field Symbols with type ANY.
    2. Instead of directly using Field symbol values in the select query, create 2 temporary variables of type string and use them.
    After changes the method COMPUTE would look like below:
    METHOD if_ex_rsr_olap_badi~compute.
    FIELD-SYMBOLS: <fs_ZSHPQTEUT> TYPE ANY.
    FIELD-SYMBOLS: <fs_0PLANT> TYPE ANY.
    ASSIGN COMPONENT P_CHA_0PLANT OF STRUCTURE c_s_data
    TO <fs_0PLANT>.
    ASSIGN COMPONENT P_KYF_ZSHPQTEUT OF STRUCTURE c_s_data
    TO <fs_ZSHPQTEUT>.
    DATA tp_shpqty type string.
    DATA tp_plnt  type string.
    IF <fs_0PLANT> is ASSIGNED.
    tp_plnt = <fs_0PLANT>.
    ENDIF.
    SELECT SINGLE  /BIC/ZSHPQTEUT
    INTO tp_shpqty
    FROM /BI0/PPLANT
    WHERE PLANT = tp_plnt.
    IF <fs_ZSHPQTEUT> is ASSIGNED.
    <fs_ZSHPQTEUT> = tp_shpqty.
    ENDIF.
    ENDMETHOD.
    Regards,
    Hemant Khemani

  • Different Vendor Payment in same Document Number....?

    Hi,
    If any one aware of this case please Revert back.
    Client Requirement:
    Different vendors payment they are giving one single check (RTGS) to Bank.bank will transfer the money to Particular Vendors Account.
    In our System we can create Payment Batch but system will generate the check (Document Number) for each vendor.(We are issuing only single check)
    Is it possible to make the Payment batch through one single check for Multiple vendors........?
    Regards,
    senthil
    Edited by: Senthilkumar Chellamuthu on Feb 26, 2013 4:43 PM

    This is the result of a preference setting. In the General section of the prefs set the radio button for "When Scaling:" to "Apply to Content" instead of "Adjust Scaling Percentage" and the values will reflect their true dimensions. In tyhe meantime you can select the object and open the menu on the end of the Control panel and choose Reset Scaling to 100% to reflect the actual weights.

  • Bex query-KEY date for time dependent objects

    Hi
    I have one infoobject called 0customer that has one time dependent attribute .called status. I would know how the system works in the following senario for the a given key date(which in bex properties).
    question 1)
    customer todate          fromdate    status
    1            20071231     20070101     Y
    1            20081231     20080101      N
    1            20091231     20081101      X
    can the data in the infoobject be overlapped? is the 3 rd record is  valid in the above example - as months(11&12of2008)  overlapping with second record? ? pls advise
    question 2)
    customer todate          fromdate    status
    1            20071231     20070101     Y
    1            20081231     20080101      N
    1            20091231     20090101      X
    If the keydate is 20080201 which record will it return?would it return the record that has status 'N'?
    what does the keydate is compared against? is it with from date or todate or between fromdate and todate? does the query return only one customer record for a given customer when it runs in the query?
    Please advise.
    Thanks
    Vennela

    1) Normally you cannot activate the data with this constellation. If you have inconsistent master data you can repair with transaction RSRV.
    2) The system returns N for key data 20080201.
    Best regards
    Dirk
    Edited by: Dirk Herzog on Nov 19, 2008 1:16 PM

Maybe you are looking for

  • Computer doesn't recognize my iphone 4 but iphone is charging

    I have a Iphone4 but when calling the micro sometimes stops working, so the other person doesn't hear me any more. I wanted to connect to itunes but when i connect to a computer (tried a couple pc's and a mac) the phone is charging, but my computer d

  • Change of data type in Include

    Hi, all I found out that there is an include program in which all the Data type for that Function module is present, However it states that THIS FILE IS GENERATED BY THE FUNCTION LIBRARY** NEVER CHANGE IT MANUALLY, PLEASE!** DATA ORG_XY TYPE CHAR30.

  • What is the best image format to use for importing images into a Pages document?

    Image quality is good in photoshop. I am currenlty saving as .tiff at 300 dpi but when I import the image in the resolution diminishes radically.

  • Having problems parsing String to Date

    Hello, Could someone please explain to me why the following code snippet parses the day and year correctly but returns the month as January regardless of which date I supply? SimpleDateFormat format = new SimpleDateFormat("M/D/y"); try { Date date =

  • How to back up Mail data only

    I use Time Machine to backup realtime, but want to back up, on a 3rd disk, only all emails. Can I simply copy the V2 folder to the backup disk, or must I copy more files as well?  Am using Maverick 10.9.4 on an iMac. Thanks!